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
# Compass shortcuts | |
alias wat='compass watch' |
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
var fibonacci_sequence = [0,1], | |
degrees = [], | |
dup_degrees = []; | |
var fibonacci_total = 0, | |
prev_num = 0, | |
cur_num = 1; | |
var degree, | |
has_degree; |
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
# Git Shortcuts | |
alias gs='git status' | |
alias gst='git status -sb' | |
alias ga='git add' | |
alias gau='git add -u' # Removes deleted files | |
alias gp='git pull' | |
alias gpu='git push' | |
alias gc='git commit -v' | |
alias gca='git commit -v -a' # Does both add and commit in same command, add -m 'blah' for comment | |
alias gco='git checkout' |
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
$('#adword_save').click(function() { | |
var el = $('#submit_form'); | |
var form_html = '<input type="hidden" id="filename" name="filename" value="adwords.csv" />' + | |
'<input type="hidden" id="content" name="content" value="' + $('#copy_text').val() + '" />'; | |
el.attr({method: 'post', action: '/some/api/location.aspx'}); | |
el.html(form_html); | |
el.submit(); | |
}); |
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
/* | |
* Uploadosity will take a container and turn it into a drag and drop BEAST. | |
* Give it a URL to send the data, any extra params. | |
* If you have an file input box you can specify that to add it to the list. | |
*/ | |
(function( $ ){ | |
var methods = { | |
uid: 0, | |
init : function( options ) { | |
var defaults = { |
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
(function( $ ){ | |
var methods = { | |
init : function( options ) { | |
return this.each(function(){ | |
var $this = $(this), data; | |
if ( ! $this.data('parallapse') ) { |
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
<ul id="message-popdown"> | |
<% flash.each_pair do |key, value| %> | |
<li class='<%= key %>'><%= value %></li> | |
<% end %> | |
</ul> |
NewerOlder