start new:
tmux
start new with session name:
tmux new -s myname
#!/usr/bin/env python2 | |
import os | |
import getpass | |
import urllib2 | |
from StringIO import StringIO | |
import time | |
import datetime | |
import argparse | |
import praw | |
from bs4 import BeautifulSoup |
/* | |
* BOT for 10fastfingers, automatic typing with adjustable speed | |
* ================================================================ | |
* | |
* bored in my apartment and decided to hack this game: http://indonesian-speedtest.10fastfingers.com/ | |
* just start the game, when you're ready to type, DON'T TYPE ANYTHING, open up | |
* your Developer Tools in Chrome (CTRL+SHIFT+J) and click Console tab, and | |
* then paste the whole code below, then press enter, and enjoy the show. | |
* | |
* twitter.com/kecebongsoft |
#! /usr/bin/env python | |
""" Convert values between RGB hex codes and xterm-256 color codes. | |
Nice long listing of all 256 colors and their codes. Useful for | |
developing console color themes, or even script output schemes. | |
Resources: | |
* http://en.wikipedia.org/wiki/8-bit_color | |
* http://en.wikipedia.org/wiki/ANSI_escape_code |