Skip to content

Instantly share code, notes, and snippets.

@gabeno
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabeno/9833306 to your computer and use it in GitHub Desktop.
Save gabeno/9833306 to your computer and use it in GitHub Desktop.
Stuff I usually forget

Setting up virtualenv and activating it

$ virtualenv venv --distribute
New python executable in venv/bin/python
Installing distribute.........done.
Installing pip................done.
$ source venv/bin/activate
(venv)$ python

Compiling C programs (ubuntu 12.04 LTS)

$ gcc <filename>.c -std=c99  -o <filename> -l<link_library>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment