In programming languages, literals are textual representations of values in the source code. This is a syntactical concept.
Some examples:
7 # integer literal
In programming languages, literals are textual representations of values in the source code. This is a syntactical concept.
Some examples:
7 # integer literal
$(function () { | |
// konami code - up up down down left right left right b a | |
var konami = String.fromCharCode(38, 38, 40, 40, 37, 39, 37, 39, 66, 65); | |
var codeBuffer = ""; | |
$(document).keyup(function (e) { | |
codeBuffer += String.fromCharCode(e.which); | |
if (konami.substring(0, codeBuffer.length) == codeBuffer) { | |
if (konami.length == codeBuffer.length) { | |
ba(); | |
} |
export RVM_SRC=/Users/ryan/.rvm/src/ruby-1.9.3-p0 | |
# get the following here http://rubyforge.org/frs/?group_id=8883 | |
gem install archive-tar-minitar | |
gem install ruby_core_source-0.1.5.gem -- --with-ruby-include=/$RVM_SRC | |
gem install linecache19-0.5.13.gem -- --with-ruby-include=/$RVM_SRC | |
gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/$RVM_SRC | |
gem install ruby-debug19-0.11.6.gem -- --with-ruby-include=/$RVM_SRC | |
#!/usr/bin/env ruby | |
target = ARGV[0] | |
dest = ARGV[1] | |
unless target && dest | |
puts "Github Archive Usage: gharch <user/repo> <destdir>" | |
exit(1) | |
end | |
remote, repo = target.split("/") |