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
# Some options that may or may not be applicable to you | |
[user] | |
name = Zach Olivare | |
email = [email protected] | |
[push] | |
default = upstream | |
[core] | |
autocrlf = input # Force replacing CRLF line endings with LF | |
ignorecase = false | |
# editor = code --wait |
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
require "parslet" | |
require "pry" | |
class Parslet::Atoms::Str | |
def to_hash | |
{ | |
"atom" => "str", | |
"str" => str | |
} | |
end |
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
//Taken from http://www.jquery4u.com/javascript/dynamically-load-jquery-library-javascript/ | |
//Load jQuery library using plain JavaScript | |
(function(){ | |
var newscript = document.createElement('script'); | |
newscript.type = 'text/javascript'; | |
newscript.async = true; | |
newscript.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js'; | |
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(newscript); | |
})(); |