Skip to content

Instantly share code, notes, and snippets.

@jacobkiers
jacobkiers / keybase.md
Created January 6, 2017 16:57
keybase.md

Keybase proof

I hereby claim:

  • I am jacobkiers on github.
  • I am jacobkiers (https://keybase.io/jacobkiers) on keybase.
  • I have a public key whose fingerprint is 7F4F 19E3 1456 C4EB C3F9 5C1B 9339 F031 B8A6 724F

To claim this, I am signing this object:

@jacobkiers
jacobkiers / pr-checklist.md
Last active October 7, 2016 10:16
Commits and Pull Requests Guide

Some more explanation below

Checklist Commit messages

  • The first line of a commit message must complete the following sentence: This commit will ...
  • Describe the functional change so it is clear why we need it.
  • The first line must start with a capital and it must not end with a period.
  • Describe the why and how of a commit in the rest of the message. The what can be read from the code changes.
  • The length of the first line is preferred to be 50 or less characters.
  • Every line must contain no more than 72 characters.
@jacobkiers
jacobkiers / .ssh-config
Created April 29, 2015 11:28
Direct ssh through jumphost
# .ssh/config file
Host jump
IdentityFile ~/.ssh/my_key
ForwardAgent yes
User username
Host *.xyz
IdentityFile ~/.ssh/my_key
ForwardAgent yes
ProxyCommand ssh jump nc -w 120 %h %p
@jacobkiers
jacobkiers / commit-email-color.php
Created January 14, 2015 22:52
Colored Subversion Commit Email
#!/usr/bin/php
<?php
/*
A Subversion post-commit hook. See below for more information.
Copyright (c) 2007, Jacob Kiers
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@jacobkiers
jacobkiers / svn2git
Last active December 16, 2015 02:38
A very simple svn2git command
#!/usr/bin/php
<?php
# ==== BEGIN CONFIGURATION ===
$repos = array(
// Here your repositories, in the form: 'name' => 'url'
);
// Your username and password
$svnuser = '';
$svnpass = '';