Permalink
Browse files

Update with various crap from the past few weeks.

  • Loading branch information...
1 parent f023386 commit 937091adfb7ad81be0fba8e2337302ad6cca7bef @sjl committed Jun 13, 2013
View
@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+
+import sys
+
+
+def next_line():
+ l = sys.stdin.readline()
+ if not l:
+ sys.exit(0)
+ return l
+
+# Skip headers
+l = next_line()
+while l.strip():
+ sys.stdout.write(l)
+ l = next_line()
+
+# One blank line in between headers and the start of the message
+while not l.strip():
+ l = next_line()
+
+sys.stdout.write('\n')
+sys.stdout.write(l)
+
+# Dump the rest straight through
+for l in sys.stdin.readlines():
+ sys.stdout.write(l)
+
View
@@ -0,0 +1,4 @@
+
+*:focus {
+ outline: 4px solid red !important;
+}
@@ -0,0 +1,2 @@
+
+.subtext > a + a + a { display: none; }
View
@@ -1,7 +1,7 @@
# Useful functions {{{
function serve_this; python -m SimpleHTTPServer; end
-# alias fab 'fab -i ~/.ssh/stevelosh'
+function fabric; fab -i ~/.ssh/stevelosh $argv; end
function oldgcc; set -g CC /usr/bin/gcc-4.0 $argv; end
function tm; tmux -u2 $argv; end
function c; clear; end
@@ -24,6 +24,12 @@ function et; vim ~/.tmux.conf; end
function eg; vim ~/.gitconfig; end
function es; vim ~/.slate; end
+function vup
+ set -x VAGRANT_LOG debug
+ vagrant up $argv
+ set -e VAGRANT_LOG
+end
+
function fixopenwith
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
end
View
@@ -81,6 +81,8 @@ unset markers # no ugly plus signs
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
alternative_order text/plain text/enriched text/html
+set display_filter = "clean_mail" # clean up shitty mail
+
# }}}
# Compose View Options {{{
@@ -101,6 +103,11 @@ set include # include message in replies
set forward_quote # include message in forwards
# }}}
+# Attachment View Options {{{
+
+set attach_format = "[%D %t] %2n [%-7.7m/%10.10M] %.40d %> [%s] "
+
+# }}}
# Headers {{{
ignore * # ignore all headers
Submodule ack updated from 989528 to f183a3
@@ -52,7 +52,7 @@ function! GetDjangoIndent(...)
let tagend = '.*%}' . '.*'
let blocktags = '\(block\|for\|if\|with\|autoescape\|comment\|filter\|spaceless\)'
- let midtags = '\(empty\|else\)'
+ let midtags = '\(empty\|else\|elif\)'
let pnb_blockstart = pnb =~# tagstart . blocktags . tagend
let pnb_blockend = pnb =~# tagstart . 'end' . blocktags . tagend
@@ -23,7 +23,7 @@ syn keyword djangoStatement contained autoescape csrf_token empty
" syn keyword djangoStatement contained == != < > <= >=
syn keyword djangoStatement contained and as block endblock by cycle debug else
syn keyword djangoStatement contained extends filter endfilter firstof for
-syn keyword djangoStatement contained endfor if endif ifchanged endifchanged
+syn keyword djangoStatement contained endfor if elif endif ifchanged endifchanged
syn keyword djangoStatement contained ifequal endifequal ifnotequal
syn keyword djangoStatement contained endifnotequal in include load not now or
syn keyword djangoStatement contained parsed regroup reversed spaceless

0 comments on commit 937091a

Please sign in to comment.