Skip to content

Instantly share code, notes, and snippets.

View zbeekman's full-sized avatar
🏢
New Office, still neck deep in code

Izaak "Zaak" Beekman zbeekman

🏢
New Office, still neck deep in code
View GitHub Profile
#!/usr/bin/env python
# Take one argument--the doi, and convert it to bibtex using an API
# call to dx.doi.org.
from sys import argv
import os
if argv[0].find('doi') != -1:
# run as executable
@zbeekman
zbeekman / Linux Foundation CLA
Last active January 26, 2016 04:10
OpenCoarrays CLA
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
660 York Street, Suite 102,
San Francisco, CA 94110 USA
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
@zbeekman
zbeekman / datetime-fortran.rb
Last active January 31, 2016 03:41
[Homebrew](http://brew.sh) formula for datetime-fortran.
class DatetimeFortran < Formula
desc "Fortran time and date manipulation library"
homepage "https://github.com/milancurcic/datetime-fortran"
url "https://github.com/milancurcic/datetime-fortran/archive/v1.4.0.tar.gz"
sha256 "e0fd02aa9ac1805d4779bf8fd9d8ae0c54d9964f07bc4a3a61181b6ae0d37d2e"
head do
url "https://github.com/milancurcic/datetime-fortran.git"
depends_on "autoconf" => :build
@zbeekman
zbeekman / datetime-fortran.rb
Last active January 31, 2016 04:49
[Homebrew](http://brew.sh) formula for datetime-fortran.
class DatetimeFortran < Formula
desc "Fortran time and date manipulation library"
homepage "https://github.com/milancurcic/datetime-fortran"
url "https://github.com/milancurcic/datetime-fortran/archive/v1.4.2.tar.gz"
sha256 "b500da7e28241ffecb3d06d93fc4d25df71509cb949e472e92a96df843a9f4c9"
head do
url "https://github.com/milancurcic/datetime-fortran.git"
depends_on "autoconf" => :build
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
BLUE="\[\033[0;34m\]"
LIGHT_RED="\[\033[1;31m\]"
LIGHT_GREEN="\[\033[1;32m\]"
WHITE="\[\033[1;37m\]"
LIGHT_GRAY="\[\033[0;37m\]"
COLOR_NONE="\[\e[0m\]"
@parente
parente / Dockerfile
Last active June 15, 2017 03:06
Reference Dockerfile for combining jupyter_dashboards and jupyter_declarative widgets
# Pin to a known release for sanity
FROM jupyter/all-spark-notebook:0017b56d93c9
# Become root to do the apt-gets
USER root
RUN apt-get update && \
apt-get install -y curl && \
curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash - && \
apt-get install --yes nodejs npm && \
@jaidevd
jaidevd / scipy_window_gallery.ipynb
Last active June 15, 2017 16:40
A gallery of window functions in SciPy
@zbeekman
zbeekman / brew-install-opencoarrays.sh
Created June 16, 2017 20:21
A script that will automatically install OpenCoarrays using Homebrew. MPICH and OpenCoarrays will be compiled and installed with GCC-7
#!/usr/bin/env bash
set -o nounset
set -o pipefail
set -o errexit
set -o errtrace
msg="Press Ctrl-C to abort, or enter to continue"
echo "Tapping homebrew-bundle"
read -rp "${msg}"
brew tap homebrew/bundle
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.