Skip to content

Instantly share code, notes, and snippets.

Rick van de Loo vdloo

  • Amsterdam, the Netherlands
Block or report user

Report or block vdloo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View hypernode-vagrant #179
# https://github.com/ByteInternet/hypernode-vagrant/issues/179
#
# The vagrant/provisioning/hypernode.sh shell provisioner script can not finish because of the PrivateDevices=no issue.
# To work around it until we fix that in the box you can comment out the varnish restart and not load the nocache vcl
# in that script but do it manually later.
#
# # remove the restart from hypernode.sh
# sed -i 's/service varnish restart/echo "not (re)starting varnish"/g' vagrant/provisioning/hypernode.sh
#
# 'Enable' varnish in the settings so it does not try to load the nocache vcl
@vdloo
vdloo / fibint.scm
Last active Aug 29, 2015
Fibonacci in finite fields, in racket
View fibint.scm
#!/usr/bin/env racket
#lang racket
(define (addmod a b p)
(if (> (- p b) a)
(+ a b)
(- (+ a b) p)
)
)
View scrub.sh
#!/bin/sh
unset MAILTO
unset MAILFROM
DIRECTORY="."
while getopts d:t:f: option
do
case "${option}"
in
d) DIRECTORY=${OPTARG};; # Directory to scrub
You can’t perform that action at this time.