Skip to content

Instantly share code, notes, and snippets.

$('#password_prompt_form').submit ->
$.post(this.action, { passcode: $('#passcode').val() }, (data) ->
$('#passcode_response').html(data))
false
$('#password_prompt_form').submit(function() {
$.post(this.action, { passcode: $('#passcode').val() }, function(data)){
$('#passcode_response').html(data);
});
return false;
});
gem install nokogiri -v '1.6.4.1' -V -- --use-system-libraries --with-xml2-include=/usr/local/Cellar/libxml2/2.9.2/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.2/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28
@rahim
rahim / .gitattributes
Created March 19, 2018 16:07 — forked from strax/.gitattributes
Auto-resolving schema.rb version conflicts on Rails 4.0+
db/schema.rb merge=railsschema