Skip to content

Instantly share code, notes, and snippets.

@garyalex
garyalex / keybase.md
Last active February 19, 2017 05:25
### Keybase proof

Keybase proof

I hereby claim:

  • I am garyalex on github.
  • I am garyalexza (https://keybase.io/garyalexza) on keybase.
  • I have a public key ASB9DFoAa_JHsmd-1oGulqeWO0F1LiQMJgwJKIdf0NifWgo

To claim this, I am signing this object:

#!/bin/bash
LOCALTIMEZONE="Africa/Johannesburg"
echo $LOCALTIMEZONE > /etc/timezone
dpkg-reconfigure -f noninteractive tzdata
date
@garyalex
garyalex / .aliases
Created February 18, 2016 19:39
docker ps better formatting
alias my_docker_ps="docker ps | awk 'BEGIN{FIELDWIDTHS = \"20 33 23 20 20 70 20\"}{print \$1,\$2,\$5,\$7}'"
@garyalex
garyalex / 0_reuse_code.js
Created December 12, 2015 21:12
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console