Skip to content

Instantly share code, notes, and snippets.

View jewilmeer's full-sized avatar
🚀

Jan-Willem van der Meer jewilmeer

🚀
  • jewilmeer
  • Utrecht, The Netherlands
  • 03:14 (UTC +02:00)
View GitHub Profile
@jewilmeer
jewilmeer / gitlab-ci-build-script.sh
Last active January 11, 2020 22:57
The build script we use at traintool.com
if ! type phantomjs; then
echo "phantomjs not installed, now installing"
cd /usr/local/share
sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
sudo tar xjf phantomjs-1.9.7-linux-x86_64.tar.bz2
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
else
echo "phantomjs installed, continue"
#!/bin/sh
#
# Git pre-commit hook to keep you from shooting yourself in the foot by testing
# for common mistakes and errors.
#
# Installation:
#
# 1. Copy this file into your Git hooks directory (i.e. ./.git/hooks).
# 2. Make it executable: chmod +x .git/hooks/pre-commit

Keybase proof

I hereby claim:

  • I am jewilmeer on github.
  • I am jewilmeer (https://keybase.io/jewilmeer) on keybase.
  • I have a public key whose fingerprint is A04C 2F2A BCCE 73B5 F450 E84F 1BC3 D22D A3EC 449A

To claim this, I am signing this object:

@jewilmeer
jewilmeer / keybase.md
Last active September 30, 2015 16:31
keybase.md

Keybase proof

I hereby claim:

  • I am jewilmeer on github.
  • I am jewilmeer (https://keybase.io/jewilmeer) on keybase.
  • I have a public key whose fingerprint is DFC5 2B60 F3C8 75AB 9D89 74FC 93F0 49A2 E61D 112B

To claim this, I am signing this object:

--------------------------45b6a57535ac8600
Content-Disposition: form-data; name="provider"
telegraaf
--------------------------45b6a57535ac8600
Content-Disposition: form-data; name="file"; filename="config.ru"
Content-Type: application/octet-stream
# frozen_string_literal: true
require './app'
---
en:
accounts:
passwords:
form:
login: "Login"
submit: "Request"
sessions:
form:
forgot_your_password: "Forgot your password?"
#!/usr/bin/env ruby
# example: ./upgrade_heroku_database myapp-staging
if ARGV.length != 1
puts "Usage: upgrade_heroku_database <namespace>"
exit
end
namespace = ARGV[0].chomp