start new:
tmux
start new with session name:
tmux new -s myname
du -cks * | sort -rn | head -11 | |
# Usually set this up in my bash profile as an alias: | |
# alias ducks='du -cks * | sort -rn | head -11' | |
# Because it is fun to type ducks on the command line. :) |
""" | |
Script to delete large folder in gmail. | |
Adapted from: http://ae.ro/1upv7rt | |
Notes: | |
1. For this to work with gmail, you will need to adjust into your IMAP settings | |
so that they look like this: | |
* IMAP: enabled |
# Zach Champion | |
# Calculus II - Honors Calculus Project | |
# A script in Python that returns a decimal expansion of pi using the | |
# Gauss-Legendre algorithm. | |
from __future__ import with_statement | |
# Used the decimal module for increased accuracy that the standard float |
#!/usr/bin/env python | |
import getpass, mechanize, optparse, os.path, sys | |
parser = optparse.OptionParser() | |
parser.add_option('--login') | |
parser.add_option('--password') | |
parser.add_option('--filename') | |
parser.add_option('--description') | |
parser.add_option('--private', action='store_true', default=False) |
1. Download Cygwin: http://www.cygwin.com | |
2. Run setup.exe and install the following packages in addition to the default ones: | |
- make | |
- boost | |
- libncurses-devel | |
- pkg-config | |
- perl | |
3. Download and compile Protocol Buffers: http://code.google.com/p/protobuf/ |