I hereby claim:
- I am organom on github.
- I am organom (https://keybase.io/organom) on keybase.
- I have a public key ASD9OeGV8n1jfDx5kcrtq8C28fw0s0nI30I8saNtgUrINwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
if [ $# -lt 2 ] | |
then | |
echo "No arguments supplied" | |
echo "USAGE: $0 {organization} {accesstoken}" | |
echo "" | |
else | |
organization=$1 | |
acesstoken=$2 |
const util = require('util'); | |
postRequest(url, postData, cb, authToken, retries, inOptions) { (...) } | |
postRequestAsync(url, postData, authToken, retries, inOptions) { | |
const adapter = (url, postData, authToken, retries, inOptions, cb) => { | |
this.postRequest(url, postData, cb, authToken, retries, inOptions); | |
}; | |
return util.promisify(adapter)(url, postData, authToken, retries, inOptions); |
"use strict"; | |
/** | |
* adds an object as query to the given url | |
* @param url | |
* @param {object} query | |
* @returns {string} url with the extra query parameters | |
*/ | |
function addQueryToUrl(url, query) { | |
if(!url) return ''; |
EXTENSION=hl7 | |
find . -type f -name "*.$EXTENSION" -printf "/%P\n" | while read FILE ; do DIR=$(dirname "$FILE" ); NAME=$(basename "$FILE" ); mv ."$FILE" ."$DIR-$NAME".$EXTENSION; done |
#!/bin/bash | |
find . -name .git -type d -exec sh -c '(cd {}; cd ..; git_temp=`git status -s`; if [ -n "${git_temp}" ]; then (echo $PWD && git status -s && echo); fi;)' \; |
#!/bin/bash | |
if [ $# -lt 2 ] | |
then | |
echo "Usage: $0 old_branch_name new_branch_name"; | |
else | |
git branch -m $1 $2 | |
git push origin :$1 $2 | |
fi |
#!/bin/bash | |
git config --global --unset-all core.filemode | |
git config --global core.filemode false | |
find . -name .git -type d -exec sh -c '(cd {}; cd ..; git config --unset-all core.filemode; git_temp=`git status -s`; if [ -n "${git_temp}" ]; then (echo $PWD && git status -s && echo); fi;)' \; |
#!/bin/bash | |
git remote prune origin | |
git branch -vv | grep ': gone]'| grep -v "\*" | awk '{ print $1; }' | xargs -r git branch -d |
NGS_TMP_FOLDER=ngs_$RANDOM | |
mkdir $NGS_TMP_FOLDER | |
cd $NGS_TMP_FOLDER | |
curl $(curl -s https://api.github.com/repos/ngs-lang/ngs/releases | grep tarball_url | head -n 1 | cut -d '"' -f 4) -L -o ngs.tgz | |
tar -xvzf ngs.tgz --strip-components=1 | |
OS=`uname` | |
if [ "$OS" = "Darwin" ]; then |