This file contains 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
/** | |
* $.unserialize | |
* | |
* Takes a string in format "param1=value1¶m2=value2" and returns an object { param1: 'value1', param2: 'value2' }. If the "param1" ends with "[]" the param is treated as an array. | |
* | |
* Example: | |
* | |
* Input: param1=value1¶m2=value2 | |
* Return: { param1 : value1, param2: value2 } | |
* |
This file contains 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
" Vim syntax file | |
" Language: HTML (version 5) | |
" Maintainer: Rodrigo Machado <[email protected]> | |
" URL: http://gist.github.com/256840 | |
" Last Change: 2010 Aug 26 | |
" License: Public domain | |
" (but let me know if you liked it :) ) | |
" | |
" Note: This file just adds the new tags from HTML 5 | |
" and don't replace default html.vim syntax file |
This file contains 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
" My .vimrc (use with https://github.com/akitaonrails/vimfiles) | |
" | |
" Date: 2011-06-22 | |
source ~/.vim/vimrc | |
colorscheme default | |
set background=dark | |
set list |
This file contains 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
user nginx; | |
worker_processes 5; | |
error_log /var/log/nginx.error.log; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
This file contains 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
" .vim/after/ftplugin/after/ | |
" | |
" Javascript definitions | |
" | |
" Based on 'Code Conventions for the JavaScript Programming Language', by Douglas Crockford | |
" http://javascript.crockford.com/code.html (2010-04-15) | |
set tabstop=4 | |
set expandtab | |
set smarttab |
This file contains 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
" .vim/after/ftplugin/after/ | |
" | |
" Python definitions | |
" | |
" Based on 'PEP 8 - Style Guide for Python Code' | |
" http://www.python.org/dev/peps/pep-0008/ (2010-04-15) | |
set tabstop=4 | |
set expandtab | |
set smarttab |
This file contains 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
" Vim syntax file | |
" Language: Smarty Templates | |
" Maintainer: Manfred Stienstra [email protected] | |
" Last Change: Fri Apr 12 10:33:51 CEST 2002 | |
" Filenames: *.tpl | |
" URL: http://www.dwerg.net/download/vim/smarty.vim | |
" For version 5.x: Clear all syntax items | |
" For version 6.x: Quit when a syntax file was already loaded | |
if !exists("main_syntax") |
This file contains 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
" Vim syntax file | |
" Language: Soy Templates | |
" Maintainer: Rodrigo Machado [email protected] | |
" Last Change: Thu Apr 15 16:59:00 GMT 2010 | |
" Filenames: *.soy | |
" URL: http://gist.github.com/gists/367358/download | |
" | |
" Based on Smarty.vim | |
" For version 5.x: Clear all syntax items |
This file contains 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
http://www.djangoproject.com/download/1.2-rc-1/tarball/ | |
pycrypto | |
http://www.satchmoproject.com/snapshots/trml2pdf-1.2.tar.gz | |
django-registration | |
PyYAML | |
-e svn+http://django-app-plugins.googlecode.com/svn/trunk/#egg=django-app-plugins | |
-e hg+https://sorl-thumbnail.googlecode.com/hg/#egg=sorl-thumbnail | |
-e hg+http://bitbucket.org/bkroeze/django-threaded-multihost/#egg=django-threaded-multihost | |
-e hg+http://bitbucket.org/chris1610/satchmo/#egg=satchmo | |
-e hg+http://bitbucket.org/bkroeze/django-caching-app-plugins/#egg=django-caching-app-plugins |
This file contains 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
// ==UserScript== | |
// @name Bugzilla click-row | |
// @namespace github.com/rcmachado | |
// @description Makes an entire row clickable | |
// @include */buglist.cgi?* | |
// ==/UserScript== | |
(function(){ | |
function gotoBug() { |
OlderNewer