Saturday, April 25, 2015

Linux - tmux

tmux is great..

for "tabbing" so you can do multiple things over one connection.
for long running processes you want to disconnect from.
for sending the same command to multiple ssh connections.
for

couple useful links:
https://gist.github.com/MohamedAlaa/2961058
https://robots.thoughtbot.com/a-tmux-crash-course

Regarding long-running processes you dont want to die when you disconnect:
When the SSH daemon process associated with your connection decides that your connection is dead, it sends a hangup signal ("SIGHUP") to the login shell. This notifies the shell that you've vanished and that it should begin cleaning up after itself; what happens at this point is shell specific (search its documentation page for "HUP"), but for the most part it will start sending SIGHUP to running jobs associated with it before terminating. Each of those processes, in turn, will do whatever they're configured to do on receipt of that signal. Usually that means terminating. If those jobs have jobs of their own, the signal will often get passed along as well.

*stolen from here: http://serverfault.com/questions/463366/does-getting-disconnected-from-an-ssh-session-kill-your-programs

Impending water pump replacement

Really gotta have my waterpump replaced soon (and they suggested belt & tensioner too).
Seems like a total PITA to do.  Can't find the video I watched that made me come to that conclusion though.

Found a tensioner here :
http://www.amazon.com/Gates-38216-Belt-Tensioner/dp/B000CHMMFW/ref=sr_1_1?ie=UTF8&qid=1430014142&sr=8-1&keywords=scion+tc+belt+tensioner

Found a pump here:
http://www.amazon.com/Aisin-WPT-801-Engine-Water-Pump/dp/B00829I3LO/ref=au_as_r?ie=UTF8&Make=Scion%7C91&Model=tC%7C2497&Year=2006%7C2006&n=15684181&s=automotive&vehicleId=1&vehicleType=automotive

Contemplating Strut replacement job

Dealer wants $400 a side for the strut support & spring & strut.
So thats $ 800  ... plus they'd probly charge 3 or 4 hours of labor so 3 or 4 hundred.. so about $1.2k

Other shop quoted like $850 ish

Or maybe DIY:

easiest would probly be to just buy the whole damn assembly;
found it here for $200 a pair
http://www.1aauto.com/2005-10-scion-tc-strut-and-spring-assembly-pair/i/1assp00927?f=905330&y=2006

seriously.....$200 vs $1,200.....

https://www.youtube.com/watch?v=qkRMwlO_u3U

Wednesday, April 15, 2015

autoscaling

Great summary of what AWS offers for auto scaling. Hopefully we'll be using this soon!
http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/WhatIsAutoScaling.html