Google Project Fi – Referral code for new customers

phone-moneyNew customers get $20 credit on their Google Project Fi account with referral code:
YHJ030

Or you can use this direct referral code link:
https://g.co/fi/r/YHJ030

When signing up for Google Fi, I learned about their $20 account credit referral program. You also get additional $20 credits whenever you refer someone to Google Fi. Continue reading Google Project Fi – Referral code for new customers

Tunnel mysql to run Elastic Beanstalk content from localhost

Tunnel mysqlIt is useful to be able to access your Elastic Beanstalk database (or standalone RDS database) from your own computer/localhost for staging/testing/debugging purposes. However, it is undesirable to open up the security settings so that you can access them from home. There is a way to do this all securely by forwarding all local database requests through an SSH tunnel to the Elastic Beanstalk (or other) server that already has access to the database. This is described below and is based on the instructions here: http://quintagroup.com/services/support/tutorials/mysql-linux

Continue reading Tunnel mysql to run Elastic Beanstalk content from localhost

Migrate AWS Elastic Beanstalk from t1.micro to t2.micro

red health errorI wanted to convert my AWS Elastic Beanstalk instance from using t1.micro to t2.micro since the t2.micro instances cost less and are now the recommended way to use Elastic Beanstalk. However, if you simply just change the instance type to t2.micro, the instance environment will change to a red error state and you will get the following error message:
error details

Launching a new EC2 instance. Status Reason: The specified instance type can only be used in a VPC. A subnet ID or network interface ID is required to carry out the request. Launching EC2 instance failed.

Overcoming this error and switching to t2.micro is not difficult, but it also is not obvious how to do it. The following instructions show how. Continue reading Migrate AWS Elastic Beanstalk from t1.micro to t2.micro

How to inspect flex plate for cracks using a borescope – 2001 Toyota 4Runner

transmissionWe started having a clicking sound coming from beneath our 4Runner, somewhere between the engine and the automatic transmission. After doing a lot of searching online to figure out what it might be, I concluded that it might be a cracked flexplate. Replacing a flex plate is a big job, since it requires removing the transmission. Before paying a lot of money to get it checked before even knowing if that was the problem, I decided it would be best to first inspect the flex plate myself to verify that it was broken/cracked. Continue reading How to inspect flex plate for cracks using a borescope – 2001 Toyota 4Runner

Fix: Samsung Galaxy S3 not charging, charges slowly or charge toggles on and off

s3-charging-smallPretty soon after I bought my brand new Samsung Galaxy S3, it began to be erratic charging behavior. It would often not charge, charge slowly or rapidly switch/toggle between charging and not charging. Searching on the web didn’t yield any good solutions, with most sites arguing about whether the cable, phone, or software was to blame.

The charging cable seemed suspect, since it would work better sometimes if I manually held it at a particular angle. However, even if I used a brand new cable, our car’s USB cable or my wife’s cable (which was still working for her S3), my phone had this problem. After a few months, my wife’s Galaxy S3 started having the same problem. Continue reading Fix: Samsung Galaxy S3 not charging, charges slowly or charge toggles on and off

Fix: Vim not scrolling, coloring or displaying text correctly when using GNOME Terminator

Terminator and vimI recently installed GNOME Terminator as a replacement for the default terminal emulator on my Linux installation, due to its great ability for easy and quick screen splitting (among other features). However, when I would try to use vim from within one of the terminator screens, vim would not function properly. It would either not display the file’s content at all, or when I would scroll it would exhibit very bizarre behavior, not updating the screen with the correct content (like getting stuck at the bottom or showing an incorrect line offset), or coloring the text incorrectly (e.g., black text on a black background). Searching online suggested that the problem had to do with ncurses and .terminfo, but this was not the case. The problem was with one of my configuration settings in my .vimrc file. Continue reading Fix: Vim not scrolling, coloring or displaying text correctly when using GNOME Terminator