2017-02-25 ithub, git, jekyll, ruby, mac, docker, raspberrypi

Productive Saturday rant Been cranking away at my laptop from 630-830 this morning, and realizing that my ancient mac book air battery which was already replace once, is just a poor shadow of what it should be. I’m only going to get about 3 hours out of this battery before it dies. Which is sad because i really wanted to get a new laptop this year but mac did not really give us any options....

2017-02-25 · 3 min · 501 words · Mike Fettis

2017-03-14 macOS, docker, ctop

I missed a few day because I was on vacation. I tihnk I want to try and add more context and text around these entires but today was choas and one fire from the next, therefore I didn’t have a chance to really dig in to learning. Sadly fire fighting is turning into too much of my everday, this needs to get chagned so that I can spend more time building tools and learning about things....

1 min · 116 words · Mike Fettis

2018-02-27 shasum_markdown

shasum Getting a shasum on something… useful so lets do it with this shasum -a 256 <filename> mastering markdown n Now if only i could keep all of this in my head mastering-markdown

1 min · 33 words · Mike Fettis

dot file automation

dot file automation Sharpen and clean your tools to make them last longer. Hone your tools to make them more precise. The tools of a SRE start with the terminal. The terminal is honed sharp with dotfiles. Live your life long enough in a terminal and tweaks and customizations happen. Live longer and when those tweaks are lost from a catastrophe or when you switch machines, you will be hamstrung and saddened going back to nothing....

11 min · 2252 words · Mike Fettis

pythonic list find

finding an item in a list python can do a lot of smart things, lets use the python way of finding items in a list. #python 3 tags=[ { "Key": "CreationDate", "Value": "201904011158" }, { "Key": "Name", "Value": "mymagicserver" }, { "Key": "aws:autoscaling:groupName", "Value": "my-rad-asg" }, { "Key": "Environment", "Value": "cloudy" }, { "Key": "name", "Value": "john" }, { "Key": "Department", "Value": "sporting goods" }, { "Key": "Auto-Off", "Value": "no" } ] data = list(filter(lambda x: x["Key"] == "aws:autoscaling:groupName" , tags)) print(data[0]["Value"]) ##brute force way: def bruteforce(mylist) for item in mylist: if item["Key"] == "aws:autoscaling:groupName": return item["Value"] print(bruteforce(tags))

1 min · 98 words · Mike Fettis

roasting log

Roasting log |-+-+-| 3/16 inside costa rican sonora temp:68 start weight: 4.0 oz end weight: 3.45 oz watt/time temp - time preheat: 275 325 - 7:15 650 4min 200 - 0:30 350 - 8:50 800 4min 225 - 1:15 375 - 9:50 250 - 1:45 400 - 11:10 drop 11:10 275 - 3:30 300 - 5:00 |-+-+-|...

2 min · 334 words · Mike Fettis