I love the new GitHub issues, here are some ideas to make it perfect, ordered by priority:
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
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
[color "diff"] | |
meta = yellow | |
frag = magenta bold |
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
[alias] | |
ci = commit -a | |
st = status -sb |
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
# Remember to change out $HOME for your home directory (e.g. `/home/joel`) below. | |
ip = "0.0.0.0"; | |
port = 6667; | |
log_level = 2; | |
log_root = "$HOME/.bip/logs"; | |
log_sync_interval = 5; | |
# Network definition, a name and server info | |
network { |
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
# This all assumes you have the process running in | |
# a terminal screen and you're on Linux-like system. | |
# First off, suspend the process and background it | |
ctrl-z # suspend the process | |
bg # restart/continue the process in the background | |
# Now create files to log to. They can be called anything, | |
# Personally I would end the in .log. E.g. could be | |
# /var/logs/myprocess-stdout.log, |
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
#!/bin/sh | |
set -e | |
REPO="$1" | |
REV="$2" | |
AUTHOR=`/usr/bin/svnlook author $REPO -r $REV` | |
MESSAGE=`/usr/bin/svnlook log $REPO -r $REV` | |
# You must HTML-escape the XML post data |
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
%.d : %.c | |
@set -e; rm -f $@; $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \ | |
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; rm -f $@.$$$$ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<testsuite name="nosetests" tests="1" errors="1" failures="0" skip="0"> | |
<testcase classname="path_to_test_suite.TestSomething" | |
name="test_it" time="0"> | |
<error type="exceptions.TypeError" message="oops, wrong type"> | |
Traceback (most recent call last): | |
... | |
TypeError: oops, wrong type | |
</error> | |
</testcase> |
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
Our root, | |
who art in Unix, | |
hallowed be thy shell. | |
Thy kernel come. | |
Thy commands be run | |
@localhost as they are in iNet. | |
Give us this day our daily updates, | |
And forgive us for our four-oh-threes, | |
as we forgive those who 403 against us. | |
And lead us not into segfaults, |
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
import getpass, imaplib | |
# The following snippet will fetch all emails from an IMAP server. | |
M = imaplib.IMAP4() | |
M.login(getpass.getuser(), getpass.getpass()) | |
M.select() | |
typ, data = M.search(None, 'ALL') | |
for num in data[0].split(): | |
typ, data = M.fetch(num, '(RFC822)') |