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
<?php | |
use \OAuth\Common\Token\TokenInterface; | |
use \OAuth\Common\Storage\Exception\TokenNotFoundException; | |
use \OAuth\Common\Storage\Exception\AuthorizationStateNotFoundException; | |
use \OAuth\Common\Storage\TokenStorageInterface; | |
use \sfStorage; | |
class Symfony1Storage implements TokenStorageInterface | |
{ |
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 | |
# Install & configure boxen | |
SKIP_ENCRYPTION="--no-fde" | |
BOXEN_REPOSITORY="https://github.com/rcmachado/my-boxen" | |
sudo mkdir -p /opt/boxen | |
sudo chown ${USER}:staff /opt/boxen | |
git clone ${BOXEN_REPOSITORY} /opt/boxen/repo | |
cd /opt/boxen/repo |
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
" 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 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
" .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 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
" .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 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
" Vim syntax file | |
" Language: Smarty Templates | |
" Maintainer: Manfred Stienstra manfred.stienstra@dwerg.net | |
" 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 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
" Vim syntax file | |
" Language: Soy Templates | |
" Maintainer: Rodrigo Machado rcmachado@gmail.com | |
" 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 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
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 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
// ==UserScript== | |
// @name Bugzilla click-row | |
// @namespace github.com/rcmachado | |
// @description Makes an entire row clickable | |
// @include */buglist.cgi?* | |
// ==/UserScript== | |
(function(){ | |
function gotoBug() { |
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
(function ($){ | |
$.fn.selectAll = function (selector) { | |
var sel = selector || 'option'; | |
$(sel, this).each(function () { | |
if (this.disabled) { | |
this.selected = false; | |
} else { | |
this.selected = true; | |
} |
OlderNewer