Book Review: How to Talk to Anyone, Anytime, Anywhere

By | Ramblings | No Comments

After reading the, ‘How to Talk to Anyone, Anytime, Anywhere’ by Chris Widener, I thought it proper to drop the insights on my blog for future reference and visitor reflection. Don’t Be Interesting, Be Interested It’s not about how interesting you are to the client, colleague, or stranger. Ask questions and be genuinely interested in their lives, hobbies, and families….

Read More

Blog Post Reading Words Per Minute

By | Engineering | No Comments

On many new blog and news sites, sorry not my blog, they have a ‘how long does this article take to read’ feature. This recently came up on an internal experiment and thought it would be fun to share the results. From readingsoft.com If top readers read at speeds of above 1000 words per minute (wpm) with near 85% comprehension,…

Read More

AWS Policy to Restrict Access to One S3 Bucket

By | Engineering | No Comments

For quick reference, you may need to create a policy for an AWS IAM user to only access one specific bucket, ‘BUCKET_NAME_HERE‘. { “Version”: “2012-10-17”, “Statement”: [ { “Effect”: “Allow”, “Action”: [ “s3:ListBucket” ], “Resource”: [ “arn:aws:s3:::BUCKET_NAME_HERE” ] }, { “Effect”: “Allow”, “Action”: [ “s3:PutObject”, “s3:GetObject”, “s3:DeleteObject” ], “Resource”: [ “arn:aws:s3:::BUCKET_NAME_HERE/*” ] } ] }  

Read More

JavaScript – Replace Only Replaces First Occurence

By | Engineering | No Comments

It’s awkward to find out that the the string.replace(targetString, replaceWith) function in JavaScript doesn’t act like it does in most other modern programming languages. JavaScript will only find the first instance of the target string and replace it. It will not continue to find other instances of the targeted string and replace it. Java/.Net/etc. will search for all occurrences of…

Read More

Parse URL QueryString in Javascript

By | Engineering | No Comments

After stumbling through a few blog and stack overflow posts, I finally landed on an article by David Walsh to find the best way to parse a website URL with Query String parameters. In his article he refers to the use of a URLSearchParams JavaScript object that is natively available in modern browser. The URLSearchParams interface defines utility methods to work…

Read More

UFW Quick Cheat Sheet Reference

By | Engineering | No Comments

UFW – Uncomplicated Firewall The default firewall configuration tool for Ubuntu is ufw. Developed to ease iptables firewall configuration, ufw provides a user friendly way to create an IPv4 or IPv6 host-based firewall. By default UFW is disabled. To allow a port (ex. SSH = 22) ufw allow 22 To allow all http, https traffic over TCP ufw allow proto…

Read More

Upgrade Your Terminal with iTerm2 and OhMyZsh

By | Engineering | No Comments

As a developer, when you switch from a Windows based PC or laptop to a Mac, you’ll start to notice an affinity for the terminal. Here’s two pro tips to get your terminal running at tip-top condition. Install iTerm2 Install a new terminal called iTerm2 that provides more robust features and customization. On the link below you’ll find a download…

Read More