I hereby claim:
- I am aheuermann on github.
- I am aheuermann (https://keybase.io/aheuermann) on keybase.
- I have a public key whose fingerprint is 9A47 2568 C1E0 F13C 3642 2B09 3D0D 3031 90DD 2E9A
To claim this, I am signing this object:
Install XCode & Command Line Tools (Use the App Store) | |
Install Git - http://git-scm.com/download/mac | |
Follow these instructions: https://help.github.com/articles/generating-ssh-keys | |
# Installing Homebrew | |
open Terminal | |
cd ~ | |
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" | |
brew update | |
brew edit play |
package err | |
import ( | |
"fmt" | |
"runtime/debug" | |
) | |
type Err struct { | |
errorWithStack string | |
} |
before: before.sh | |
run: | |
node: "grunt test" | |
golang: "go test -v ./..." |
process.on('uncaughtException', function(err) { | |
console.log("uncaughtException:", err && err.stack); | |
}); | |
process.on('exit', function() { | |
console.log("exit", arguments, new Error().stack); | |
}); |
I hereby claim:
To claim this, I am signing this object:
var facade = require('facade'), | |
handlers = require('handlers'); | |
app.use("/verification/:verificationId", funciton (req, res) { | |
facade.getUserForVerificationId(req.params.verificationId) | |
.then(handlers.successHandler, handlers.errorHandler); | |
}); |
// promise handles user not found by returing `null` | |
// advantage - don't have to write a reject handler | |
// disadvantage - possibly forget to write `null` check and cause null pointer exception | |
function checkEmail(emailAddress) { | |
return facade.user.getUserByEmailAddress(emailAddress).chain(function (user) { | |
if (!user) { | |
return {available: true}; | |
} | |
return facade.user.isUserAnInvitedTaker(user).chain(function (isInvited) { |
node { | |
stage('Preparation') { // for display purposes | |
// Get some code from a GitHub repository | |
git 'https://github.com/dotci-test/test1.git' | |
} | |
stage('Build') { | |
// Run the build | |
if (isUnix()) { | |
sh "'docker-compose' build --pull" | |
} else { |
from airflow import settings | |
from airflow.hooks import BaseHook | |
from airflow.models import Connection | |
# Start a session | |
session = settings.Session() | |
# Create a new connection - these are not unique by name! | |
cnx_kwargs = { | |
"conn_id": "mssql_named", |