Skip to content

Instantly share code, notes, and snippets.

View TheMichaelHu's full-sized avatar
🔥
dying in a fire

Michael Hu TheMichaelHu

🔥
dying in a fire
View GitHub Profile
@TheMichaelHu
TheMichaelHu / gif.sh
Created November 3, 2016 19:23
Screen Record gifs on Ubuntu/Linux Mint
#!/bin/bash
# Install xrectsel (from https://github.com/lolilolicon/xrectsel/) and byzanz (sudo apt-get install byzanz)
# Throw this script somewhere and make an alias (I called mine gif)
# Change the destination file if your name isn't michael
AREA="$(xrectsel)"
IFS=+ read DIM X Y <<< $AREA
IFS=x read W H <<< $DIM
DATE=`date +%Y%m%d%H%M%S`
echo start
@TheMichaelHu
TheMichaelHu / keybase.md
Created January 6, 2016 16:53
Keybase proof

Keybase proof

I hereby claim:

  • I am themichaelhu on github.
  • I am michaelhu (https://keybase.io/michaelhu) on keybase.
  • I have a public key ASCvpwyQv8fhGTYNhySpKSAWMS8Zi9J69LdqZQ0CbaAaqAo

To claim this, I am signing this object: