Skip to content

Instantly share code, notes, and snippets.

View alexanderscott's full-sized avatar

Alex Ehrnschwender alexanderscott

View GitHub Profile
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
let g:spotify_track_search_url = "http://ws.spotify.com/search/1/track.json?q="
function! OpenUri(uri)
exec "silent !explorer " . a:uri
endfunction
function! OpenLine()
let uri = b:uris[line(".")-2]
call OpenUri(uri)
endfunction
@alexanderscott
alexanderscott / introspection.rb
Created September 1, 2013 04:31 — forked from acook/introspection.rb
ruby introspection class
#
# You can do `Object.send :include, Introspection`
# Then you can call `.introspect` on anything.
#
# The `introspect` method returns a hash with information about the receiver
# including its Class, the Constants and instance_methods defined inside it.
#
# The "depth" parameter indicates how deeply it should inspect the object.
# By default there is no depth limit. Pass in 1 to just get info on the object itself.
#