Technology
-
Easily Create and Edit your Gmail Signature
Gmail allows you to have an HTML markup e-mail signature. That means you can get pretty fancy with how you sign your e-mails. The only problem is that the area where you edit that signature does not have HTML edit tools and you can’t cut/paste HTML directly into that box. You CAN, however, cut/paste from a Web page into the e-mail signature box and all of your HTML markup (tables, bold, links, etc) all come through. After a little work, here’s what worked for me to create/edit my own e-mail signature for Gmail. Take the code below and cut/paste into your favorite text editor. I recommend TextWrangler. Edit the information…
-
Verizon Caught Blocking VoIP Traffic
I was just on a phone call with a new customer who is setting up multiple retail locations. The reason for the call was their backup network wasn’t working. Whenever they tested the Verizon 4G LTE Wireless connected to Cradlepoint modem backup network, the phones would not be able to make or receive phone calls. Their IT staff was on the line and they were running Wireshark and grabbed a PCAP that seems to show that OnSIP at 199.7.175.101 was responding to their request with a “500 Server Error”. The actual text was: SIP/2.0 500 Server Internal Error Warning: 399 sipalg “Internal Error” Call-ID: b876f6fb4aad25a55546217e07dd4f82 CSeq: 47 REGISTER From:…
-
Remove Bitnami Logo in Amazon Lightsail
Amazon Lightsail is their new low-volume Web hosting environment. One of the options for Lightsail is to launch with WordPress. This site is on Lightsail with WordPress in an Linux environment. When you first launch a WWW Site, you get a “Bitnami” logo on the bottom right corner of every page. This is convenient at first to allow you as the site administrator to log in to your new WWW site to make posts like this. However, once you get the swing of things, that logo is a blight on your otherwise lovely WWW Site. Luckily, it’s very easy to remove the logo. Log into AWS and into the Lightsail…
-
Amazon Lambda – E-mail via SNS the URL of an S3 file when created
I threw together the following Lambda function to send an e-mail via SNS (Amazon’s Simple Notification Service) whenever a file is created in S3 (Amazon’s Simple Storage Service.) Yes, it’s barely commented and overly loggy, but you get the idea: 'use strict'; console.log('Loading function'); const aws = require('aws-sdk'); const s3 = new aws.S3({ apiVersion: '2006-03-01' }); exports.handler = (event, context, callback) => { //console.log('Received event:', JSON.stringify(event, null, 2)); // Get the object from the event and show its content type const bucket = event.Records[0].s3.bucket.name; const key = decodeURIComponent(event.Records[0].s3.object.key.replace(/\+/g, ' ')); const params = { Bucket: bucket, Key: key, }; s3.getObject(params, (err, data) => { if (err) { console.log(err); const…


