I hereby claim:
- I am derickbailey on github.
- I am derickbailey (https://keybase.io/derickbailey) on keybase.
- I have a public key ASDitPYFNXZGpnctUagzZEvUbd8RRE1j_ct83ytj180HbAo
To claim this, I am signing this object:
# Gitup: Git Update Dance Configuration | |
# ------------------------------------- | |
# configuration for gitup can be set as a default for the current user | |
# by adding a ~/.gituprc file with settings | |
# | |
# current project or local directory settings can be added in ./.gituprc | |
# | |
# the .gituprc file is a valid shell script, loaded every time gitup is | |
# run. this means you can add logic, functions, and other calls to the | |
# .gituprc file and it will be executed at runtime |
function gitup { | |
# set defaults for all options | |
GITUP_MERGE_COMMAND=rebase | |
GITUP_BRANCH_NAME=development | |
GITUP_REMOTE_NAME=origin | |
GITUP_SKIP_UPDATE=0 | |
GITUP_SKIP_MIGRATIONS=0 | |
# load user level settings as overrides | |
local user_config_file="$(echo ~/.gituprc)" |
I hereby claim:
To claim this, I am signing this object:
if (VENDOR && _.isFunction(VENDOR.f)) { | |
VENDOR.f(); | |
} |
to use this script,
copy it to /usr/local/bin/
then in a folder where you are working on an app hosted in docker, add the name of your docker container to a .dockername
file
echo my-container-name >> .dockername
now you can
function add(a, b){ | |
return a + b; | |
} | |
var add1 = add.bind(undefined, 1); | |
add1(2) // => 3 |
function createError(msg, status){ | |
var err = new Error(msg); | |
err.status = status; | |
// uncomment this next line to get a clean stack trace in node.js | |
// Error.captureStackTrace(err, createError); | |
return err; | |
} | |
var err = createError("test", 500); |
Created by Derick Bailey http://derickbailey.com
Inspired by the work of Geeky Hooker https://geekyhooker.wordpress.com
// set up your oracle stuff ... | |
function runIt(cb){ | |
// connection and other setup here | |
var bindvars = { | |
o_cursor: { | |
type: oracledb.CURSOR, |
import ConfirmDelete from "./confirmDelete" | |
import ConfirmDeleteViewfrom "./confirmDeleteView" | |
var confirmView = new ConfirmDeleteView({ | |
model: myModel | |
}); | |
ConfirmDelete.confirm(confirmView, () => { | |
// delete was confirmed... do something, here | |
}); |