The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: October 8th 2015
- Original post
I hereby claim:
To claim this, I am signing this object:
set -g status on | |
set -g status-utf8 on | |
set -g status-interval 2 | |
set -g status-fg black | |
set -g status-bg colour232 | |
set -g status-right '#[bg=colour233] #[fg=white,bg=colour234] %T #[fg=yellow,bg=colour233] #[bg=colour232] #(/Users/jason/bin/mac-battery.sh)' | |
set -g status-left '#[fg=colour16,bg=colour232,bold] #S #[fg=colour254,bg=colour234,nobold]' | |
set -g window-status-format "#[fg=colour16,bg=colour234] #I #[fg=colour231,bold]#W #[fg=colour31,bg=colour234,nobold]" | |
set -g window-status-current-format "#[fg=colour117,bg=colour31] #I #[fg=colour231,bold]#W #[fg=colour31,bg=colour234,nobold]" | |
set -g window-status-separator "" |
" copy all this into a vim buffer, save it, then... | |
" source the file by typing :so % | |
" Now the vim buffer acts like a specialized application for mastering vim | |
" There are two queues, Study and Known. Depending how confident you feel | |
" about the item you are currently learning, you can move it down several | |
" positions, all the way to the end of the Study queue, or to the Known | |
" queue. | |
" type ,, (that's comma comma) |
<03:48 PM> jason@legolas:~$ python bitsquat.py dailydot .com | |
eailydot.com: is taken (66.152.109.110) | |
failydot.com might be available! | |
lailydot.com might be available! | |
tailydot.com might be available! | |
dcilydot.com: is taken (66.152.109.110) | |
deilydot.com might be available! | |
diilydot.com might be available! | |
dqilydot.com might be available! | |
dahlydot.com: is taken (66.152.109.110) |
Readers should be able to easily find the most recent content on our site. Readers should be able to do this on the main page, via a 'Latest' well that shows the 7 most recent stories. Readers should additionally be able to peruse all stories in reverse chronological order (much like the old site) on a separate 'Latest' page.
[user] | |
name = <your name here> | |
email = <email here> | |
[core] | |
editor = gvim --nofork | |
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
fileMode = false | |
[merge] | |
tool = meld | |
[diff] |
[user] | |
name = Jason Novinger | |
email = jnovinger@gmail.com | |
[core] | |
editor = gvim | |
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
fileMode = false | |
[merge] | |
tool = meld | |
[diff] |
@login_required | |
def backgroundview(request): | |
if request.is_ajax(): | |
form = BackgroundModelForm(request.POST, request.FILES) | |
if form.is_valid(): | |
try: | |
g = BackgroundModel.objects.get(user=request.user) | |
except BackgroundModel.DoesNotExist: | |
data = form.save(commit=False) | |
data.user = request.user |
set number | |
syntax on | |
set bg=dark | |
" from http://www.vex.net/~x/python_and_vim.html | |
" tab settings for python | |
set tabstop=4 | |
set shiftwidth=4 | |
set smarttab | |
set expandtab |