I hereby claim:
- I am eyeseast on github.
- I am chrisamico (https://keybase.io/chrisamico) on keybase.
- I have a public key ASAFLVqaoDDo7YgzgfSRaQVocAoSIaAFE03RPaYBbu6vCAo
To claim this, I am signing this object:
| #!/bin/sh | |
| # https://unix.stackexchange.com/questions/40638/how-to-do-i-convert-an-animated-gif-to-an-mp4-or-mv4-on-the-command-line | |
| # ./gif2vid.sh animated.gif animated.mp4 | |
| ffmpeg -i "$1" -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" "$2" |
I hereby claim:
To claim this, I am signing this object:
| 2013: Resist the urge to be clever. | |
| 2014: Everything takes practice. | |
| 2015: The internet works. We should use it. | |
| 2016: One problem at a time. | |
| 2017: Don't panic. | |
| 2018: Some things we have to learn the hard way. | |
| 2019: Maybe nobody knows anything. | |
| 2020: The best code is no code. |
| # Any request that did not originally come in to the ELB | |
| # over HTTPS gets redirected. | |
| if ($http_x_forwarded_proto != "https") { | |
| rewrite ^(.*)$ https://$server_name$1 permanent; | |
| } | |
| #!/usr/bin/env python | |
| """ | |
| Quick script to get an embed code | |
| """ | |
| import sys | |
| import micawber | |
| from micawber.providers import Provider | |
| providers = micawber.bootstrap_basic() |
| {str(i): i for i in range(10)} |
I don't blog anymore. My last post was Feb. 2, 2013. I should capture the archives and give up that ghost.
My personal site, going forward, should have:
I'd like to have a stream of links to stuff I'm reading. That's the biggest build thing.
| ol { | |
| margin: 0; | |
| padding: 0 | |
| } | |
| table td, | |
| table th { | |
| padding: 0 | |
| } | |
| .c1 { | |
| font-size: 11pt; |