Skip to content

Instantly share code, notes, and snippets.

View keesvanbochove's full-sized avatar

Kees van Bochove keesvanbochove

View GitHub Profile
@keesvanbochove
keesvanbochove / gist:3032840
Created July 2, 2012 11:46
Transfer NBIC Trac projects to GitHub
mbpkees:projects kees$ git svn --no-metadata --authors-file=authors clone -s https://trac.nbic.nl/svn/grails-plugins -T dbxpModuleBase/trunk dbxp-module-base
cd dbxp-module-base
git remote add origin [email protected]:thehyve/dbxp-module-base.git
@keesvanbochove
keesvanbochove / drop_transmart.sql
Created September 10, 2012 15:42
Oracle SQL script to drop all tranSMART tables
drop user biomart_user cascade;
drop user biomart cascade;
drop user deapp cascade;
drop user i2b2demodata cascade;
drop user i2b2hive cascade;
drop user i2b2metadata cascade;
drop user i2b2pm cascade;
drop user i2b2sampledata cascade;
drop user i2b2workdata cascade;
drop user searchapp cascade;
@keesvanbochove
keesvanbochove / gist:4319624
Created December 17, 2012 16:29 — forked from Cosmicist/gist:3860074
Use this script as git pre-commit hook to automatically minify JS and CSS files in a Grails project (specifically GSCF in this case, https://github.com/thehyve/GSCF). Installation instructions: put this text in .git/hooks/pre-commit, and make it executable (shmod +x pre-commit). Also, install yuicompressor, e.g. via 'brew install yuicompressor' …
#!/bin/bash
# Search YUI Compressor anywhere in your home dir
echo "Searching for YUI Compressor..."
YUIC=`which yuicompressor`
if ! [ $YUIC ]
then
echo "Unable to find YUI Compressor! Goodbye!"
exit
fi
@keesvanbochove
keesvanbochove / taxrates.ipynb
Last active May 15, 2021 13:01
Pull Kraken closing market crypto prices on a specific date
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@keesvanbochove
keesvanbochove / gist:15c4c18e9c3f2da931fb5af81362b652
Created March 25, 2021 10:43
automate_cohort_definitions_in_study_package.R
remotes::install_github("ohdsi/ROhdsiWebApi",ref="develop")
baseUrl="https://pioneer-atlas.thehyve.net/WebAPI"
ROhdsiWebApi::setAuthHeader(baseUrl,"Bearer ey...")
ROhdsiWebApi::insertCohortDefinitionInPackage(cohortId = 142, baseUrl = baseUrl)
did:3:bafyreihpr443tfmw6flxe7ng6aedyjqetvsjmkoybkv37mn2wul6zvt3ba
@keesvanbochove
keesvanbochove / enter.sh
Last active March 15, 2022 10:23 — forked from mcheshkov/build.sh
Building OpenZFS for Fedora CoreOS
toolbox enter