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 when = require('when'); | |
var B = when(777); | |
// Using the .catch after .then | |
B.then(function(result) { | |
throw "There was an error in our function!"; | |
}) | |
.catch(function(err) { |
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
def visit_current_page_after(&block) | |
orig_url = page.current_url | |
block.call() | |
visit orig_url | |
end |
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
*.pyc | |
env/* |
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
# Modern cipher suites | |
ECDHE-RSA-AES128-GCM-SHA256: | |
ECDHE-ECDSA-AES128-GCM-SHA256: | |
ECDHE-RSA-AES256-GCM-SHA384: | |
ECDHE-ECDSA-AES256-GCM-SHA384: | |
ECDHE-RSA-AES128-SHA256: | |
ECDHE-ECDSA-AES128-SHA256: | |
ECDHE-RSA-AES256-SHA384: | |
ECDHE-ECDSA-AES256-SHA384: |
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 gulp = require('gulp') | |
var browserify = require('browserify'); | |
var source = require('vinyl-source-stream'); | |
var reactify = require('reactify'); | |
var sass = require('gulp-sass'); | |
gulp.task('browserify', function () { | |
var b = browserify(); | |
b.transform(reactify); | |
b.add('./js/routes.js'); // The root file |
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
// |
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
# This is a temporary server to serve the static directory correctly. | |
# SimpleHTTPServer couldn't do regex route matching, which meant that | |
# some routes weren't working correctly. | |
require 'sinatra' | |
set :public_folder, File.dirname(__FILE__) | |
get '/favicon.ico' do | |
halt 404 |
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
Aaliyah | |
Abbie | |
Abby | |
Abigail | |
Ada | |
Adalyn | |
Adalynn | |
Addie | |
Addison | |
Addyson |
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
'atom-workspace atom-text-editor:not([mini])': | |
'ctrl-a':'editor:move-to-first-character-of-line' | |
'ctrl-e':'editor:move-to-end-of-line' | |
'ctrl-backspace':'core:delete' | |
'ctrl-shift-a':'core:select-all' | |
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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+a", | |
"command": "cursorHome", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+e", | |
"command": "cursorEnd", |
OlderNewer