wget --no-check-certificate https://raw.github.com/seebi/dircolors-solarized/master/dircolors.ansi-dark
mv dircolors.ansi-dark .dircolors
eval `dircolors ~/.dircolors`
git clone https://github.com/sigurdga/gnome-terminal-colors-solarized.git
cd gnome-terminal-colors-solarized
./set_dark.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| all: thread_prng adversary Makefile advantages | |
| thread_prng: thread_prng.c | |
| gcc --std=c99 -o thread_prng -lpthread thread_prng.c | |
| adversary: adversary.c | |
| gcc --std=c99 -o adversary adversary.c | |
| advantages: adversary thread_prng | |
| for option in r m; do \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
- When booting into Recovery or Download mode, it's okay/best to press power just a split second after Home+Up or Home+Down
- After reinserting the battery I find it safest to be patient and wait for the blocky battery icon to appear and disappear.
- When booting into Download mode, you have to let go of the buttons before the screen draws. Otherwise the Down button is interpreted as Cancel
- You are on a Mac and can't get any help from all these Odin posts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from subprocess import Popen, PIPE, STDOUT | |
| import subprocess | |
| import math, sys | |
| from time import sleep | |
| from os import path, access, W_OK, R_OK, F_OK | |
| def cut(movie, start, clip): | |
| subprocess.Popen(["ffmpeg", #Calls ffmpeg program | |
| "-ss",str(start), #Begining of recording, must be string | |
| "-t", '30', #How long to record clip for, must be a string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| """Print a swatch using all 256 colors of 256-color-capable terminals.""" | |
| __author__ = "Marius Gedminas <[email protected]>" | |
| __url__ = "https://gist.github.com/mgedmin/2762225" | |
| __version__ = '2.0' | |
| def hrun(start, width, padding=0): |
NewerOlder