"If something is painful, do it more often."
- 2.1.5: Nov 13 2014
I am using chruby and ruby-install.
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[add your bin description]" /> | |
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
select { | |
display: block; |
"If something is painful, do it more often."
I am using chruby and ruby-install.
A
records for jbinto.ca
and *.jbinto.ca
/etc/hosts
for nowiTerm2
http://www.iterm2.com/#/section/downloads
Get the iTerm color settings
https://raw.github.com/altercation/solarized/master/iterm2-colors-solarized/Solarized%20Dark.itermcolors
Apply them in iTerm through iTerm -> preferences -> profiles -> -> colors -> load presets -> import. You can create a different profile, other than Default if you wish to do so.
[ ] router:main ................................................ multiverse/main/router | |
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [ ] router:main ................................................ multiverse/router | |
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [✓] router:main ................................................ multiverse/router | |
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [✓] router:main ................................................ multiverse/router | |
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [✓] router:main ................................................ multiverse/router | |
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [ ] -bucket-cache:main ......................................... multiverse/main/-bucket-cache | |
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [ ] -bucket-cache:main ......................................... undefined | |
vendor-5ca4ffb34d25585cca2282f42bb15971.js:7 [ ] -bucket-cache:main ......................................... multiverse/-bucket-cache | |
vendor-5ca4ffb34d25585cca2282 |
# situation: | |
# * Installed python+pip from homebrew. | |
# * Installed ansible from homebrew, then un/reinstalled with pip+git (requirements.txt) | |
# * Ansible cannot see `dopy` module installed via requirements.txt. | |
# solution: | |
# see https://github.com/jlund/streisand/issues/12 | |
mkdir -p ~/Library/Python/2.7/lib/python/site-packages | |
echo '/usr/local/lib/python2.7/site-packages' > ~/Library/Python/2.7/lib/python/site-packages/homebrew.pth |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://fb.me/react-0.14.3.min.js"></script> | |
<script src="https://fb.me/react-dom-0.14.3.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.0.4/redux.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> |
class Dog | |
attr_accessor :breed, :color, :description | |
def Dog.description | |
# Return @@description, unless it's nil, in that case return a fixed string. | |
@@description ||= "All dogs are 4 legged animals that bark." | |
end | |
def Dog.description=(new_description) | |
@@description = new_description |
# So we can run "rails generate" from the command line to create factories | |
config.generators do |g| | |
g.fixture_replacement :factory_girl | |
end |
function getLogger(prefix) { | |
return function(message) { | |
console.log(prefix + ": " + message); | |
} | |
} | |
// Video component | |
(function() { | |
log = getLogger("video"); | |
log("initialized"); |