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
%li | |
%span.frame.left | |
%img{:src => "/images/thumbmed1.jpg"} | |
.details | |
%h3.green | |
$1,200,000 | |
%span.black | |
| Status: For Sale | | |
%span.small | |
(listed 22 days ago) |
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
# Monitor HTTP requests being made from your machine with a one-liner.. | |
# Replace "en1" below with your network interface's name (usually en0 or en1) | |
sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E "Host\: .*|GET \/.*" | |
# OR.. to be able to use as "httpdump" from anywhere, drop this into ~/.bash_profile: | |
# (again replace "en1" with correct network interface name) | |
alias httpdump="sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E "Host\: .*|GET \/.*"" | |
# All the above tested only on OS X. |
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
############## commands ################# | |
run "touch tmp/.gitignore log/.gitignore vendor/.gitignore" | |
run %{find . -type d -empty | grep -v "vendor" | grep -v ".git" | grep -v "tmp" | xargs -I xxx touch xxx/.gitignore} | |
run "rm .gitignore" | |
file '.gitignore', <<-ENDEND | |
.DS_Store | |
log/*.log | |
tmp/**/* | |
config/database.yml |
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
file 'Gemfile', <<-GEMS | |
source 'http://gemcutter.org' | |
gem "rails", "3.0.0.beta3" | |
gem "bson_ext" | |
gem "mongoid", "2.0.0.beta4" | |
gem "haml", "3.0.0.rc.2" | |
gem "compass", "0.10.0.rc4" | |
gem "inherited_resources" | |
group :test do |
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
module ActiveSupport | |
if defined? ::BasicObject | |
# A class with no predefined methods that behaves similarly to Builder's | |
# BlankSlate. Used for proxy classes. | |
class BasicObject < ::BasicObject | |
undef_method :== | |
undef_method :equal? | |
# Let ActiveSupport::BasicObject at least raise exceptions. | |
def raise(*args) |
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
#sidebar { float: left; width: 300px; } | |
@media only screen and (max-width: 479px) { #sidebar { float: none; } } | |
@media only screen and (min-width: 480px) and (max-width: 767px) { #sidebar { float: none; } } | |
@media only screen and (min-width: 768px) and (max-width: 959px) { #sidebar { width: 240px; } } |
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
.clearfix { | |
*zoom: 1; | |
} | |
.clearfix:after { | |
clear: both; | |
content: ""; | |
display: table; | |
} |
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/Ben/.rvm/gems/ruby-1.9.2-p290@sc/gems/yard-0.7.3/lib/yard.rb:38: [BUG] Bus Error | |
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0] | |
-- control frame ---------- | |
c:0035 p:---- s:0105 b:0105 l:000104 d:000104 CFUNC :callcc | |
c:0034 p:0080 s:0102 b:0102 l:001a10 d:001a10 TOP /Users/Ben/.rvm/gems/ruby-1.9.2-p290@sc/gems/yard-0.7.3/lib/yard.rb:38 | |
c:0033 p:---- s:0099 b:0099 l:000098 d:000098 FINISH | |
c:0032 p:---- s:0097 b:0097 l:000096 d:000096 CFUNC :require | |
c:0031 p:0047 s:0093 b:0093 l:0005f0 d:0005f0 TOP /Users/Ben/.rvm/gems/ruby-1.9.2-p290@sc/gems/pry-doc-0.3.0/lib/pry-doc.rb:7 | |
c:0030 p:---- s:0090 b:0090 l:000089 d:000089 FINISH |
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
Verifying issuance of colored coins asset with ID #Ua4Vuiwxg9L5dhFbZu84aSxgSrHM21DVsvg6gL |
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 eos_sale_address_main = "0xd0a6e6c54dbc68db5db3a091b171a77407ff7ccf" | |
var eos_token_address_main = "0x86fa049857e0209aa7d9e616f7eb3b3b78ecfdb0" | |
var eos_sale, eos_token | |
var state | |
/* | |
var kovan = { | |
name: "Kovan", |
OlderNewer