I hereby claim:
- I am webfella on github.
- I am webfella (https://keybase.io/webfella) on keybase.
- I have a public key whose fingerprint is B11A 4C3C 09DB 669D F039 C2C6 3F0F 4DB7 325A F185
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.
The Atom documentation is excellent. It's highly worth reading the flight manual.
On the Refinery29 Mobile Web Team, codenamed "Bicycle", all of our unit tests are written using Jasmine, an awesome BDD library written by Pivotal Labs. We recently switched how we set up data for tests from declaring and assigning to closures, to assigning properties to each test case's this
object, and we've seen some awesome benefits from doing such.
Up until recently, a typical unit test for us looked something like this:
describe('views.Card', function() {
[submodule "project/src/ui/build/thirdparty/jquery"] | |
path = project/src/ui/build/thirdparty/jquery | |
url = git://github.com/jquery/jquery.git |
var _ = require('lodash'), | |
browserify = require('browserify'), | |
buffer = require('vinyl-buffer'), | |
config = require('../../config'), | |
gulp = require('gulp'), | |
gutil = require('gulp-util'), | |
paths = require('../../helpers/paths'), | |
rename = require('gulp-rename'), | |
source = require('vinyl-source-stream'), | |
transform = require('vinyl-transform'), |
I hereby claim:
To claim this, I am signing this object:
{ | |
"libs": [ | |
"browser", | |
"jquery" | |
], | |
"loadEagerly": [ | |
"./**/*.js" | |
], | |
"plugins": {} | |
} |
######################################## | |
## Set up RVM excluding a custom path ## | |
######################################## | |
# References: | |
# http://superuser.com/questions/521657/zsh-automatically-set-environment-variables-for-a-directory | |
# http://michael-prokop.at/blog/2009/05/30/directory-specific-shell-configuration-with-zsh/ | |
# http://www.refining-linux.org/archives/42/ZSH-Gem-8-Hook-function-chpwd/ | |
# Load RVM into a shell session *as a function* |
<body class="view-2D zoom-large opening hide-UI"> | |
<h1>3D CSS Solar System</h1> | |
<div id="subnav" class="sub nav"> | |
<a class="sun" title="sun" href="#sunspeed">Sun</a> | |
<a class="mercury" title="mercury" href="#mercuryspeed">Mercury</a> | |
<a class="venus" title="venus" href="#venusspeed">Venus</a> | |
<a class="earth active" title="earth" href="#earthspeed">Earth</a> | |
<a class="mars" title="mars" href="#marsspeed">Mars</a> | |
<a class="jupiter" title="jupiter" href="#jupiterspeed">Jupiter</a> | |
<a class="saturn" title="saturn" href="#saturnspeed">Saturn</a> |
<div id="wrapper"> | |
<div id="container"> | |
<div id="output"></div> | |
<div id="star"> | |
<div class="trench_wall north"></div> | |
<div class="trench_wall"></div> | |
<div class="trench_wall south"></div> | |
</div> | |
</div><!-- container --> | |
</div><!-- wrapper --> |