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
<dl> | |
<dt>emsp:</dt><dd><textarea> </textarea></dd> | |
</dl> |
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
<HTML> | |
<HEAD> | |
<TITLE>YOUR DUMB!!! STOMP STOMP!!</TITLE> | |
</HEAD> | |
<BODY bgcolor="#000000"> | |
<TABLE width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> | |
<TR> | |
<TD colspan="2" height="100%" align="center" valign="center"> | |
<CENTER> |
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
# Base | |
[core] | |
excludesfile = /Users/capnslipp/.git_excludes | |
attributesfile = /Users/capnslipp/.git_attributes | |
#editor = mate -w | |
editor = macdown-wait | |
whitespace = tabwidth=4, space-before-tab, indent-with-non-tab, blank-at-eol, blank-at-eof | |
# defaults: whitespace = blank-at-eol, space-before-tab, -indent-with-non-tab, -tab-in-indent, blank-at-eof, trailing-space, -cr-at-eol, tabwidth=8 | |
quotepath = false |
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 endOfScopeMarker = '\t\t},'; | |
var find = new RegExp('"someProperty" : 3((?:(?!'+endOfScopeMarker+').|\n)+)("anotherPropertyWithinTheSameScope" : 1,)', "g"); | |
var replace: '"someProperty" : 0$1$2'; |
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
class Object | |
def scoped(&block) | |
self.instance_eval(&block) | |
end | |
end | |
module Kernel | |
def with_scoped(&block) | |
return lambda { |obj| | |
obj.instance_eval(&block) |
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
#!/usr/bin/env ruby | |
# ^ 1.8.x or 1.9, folks! | |
require 'rubygems' | |
require File.expand_path('./md_izer', File.dirname(__FILE__)) | |
render_options = { | |
:fenced_code_blocks => true, | |
:autolink => true, | |
:space_after_headers => true |
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
# running: | |
require 'redcarpet'; puts Redcarpet::Markdown.new(Redcarpet::Render::HTML).render('# hi #') | |
# gives me: | |
/Users/slippyd/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- redcarpet (LoadError) | |
from /Users/slippyd/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from -:1:in `<main>' |
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
/Users/slippyd/.rvm/gems/ruby-1.9.3-p0/bin:/Users/slippyd/.rvm/gems/ruby-1.9.3-p0@global/bin:/Users/slippyd/.rvm/rubies/ruby-1.9.3-p0/bin:/Users/slippyd/.rvm/bin:/Users/slippyd/bin:/usr/local/git/bin:/usr/bin:/bin:/usr/sbin:/sbin |
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
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/CocoaDialog.app/Contents/MacOS:/Users/slippyd/bin:$PATH:/Applications/TextMate.app/Contents/SharedSupport/Support/bin |
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
$ rvm list | |
rvm rubies | |
ruby-1.8.6-p420 [ i686 ] | |
ruby-1.8.7-p357 [ i686 ] | |
ruby-1.9.1-p431 [ i386 ] | |
ruby-1.9.2-p290 [ x86_64 ] | |
=* ruby-1.9.3-p0 [ x86_64 ] |
OlderNewer