Skip to content

Instantly share code, notes, and snippets.

@andrewwylde
Last active May 9, 2018 15:43
Show Gist options
  • Save andrewwylde/3e76fbf6825551b83f4f18a2fbe982ef to your computer and use it in GitHub Desktop.
Save andrewwylde/3e76fbf6825551b83f4f18a2fbe982ef to your computer and use it in GitHub Desktop.
This is for snippits of knowledge that I randomly need to document, but don't deserve a blog post.
  • Find the version of ubuntu you're running by using lsb_release -a in the terminal. docs
  • Human-readable filesystem information (how much space is there on my drive?): df-h docs examples
  • How much space do I have on my computer? du -h
    • Can do total for current directory (du -c)
    • Is recursive
    • Can exclude
  • Run chrome w/ custom timezone (great for testing): StackOverflow Post
    • mkdir ~/chrome-profile
    • TZ='US/Pacific' open -na "Google Chrome" --args "--user-data-dir=$HOME/chrome-profile"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment