Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am six0h on github.
* I am six0h (https://keybase.io/six0h) on keybase.
* I have a public key ASDefyNZzPfqX1FDlw9OECp-4WOlB96RB7ILUXD1PGSDHQo
To claim this, I am signing this object:
#!/usr/bin/php
<?php
// CONFIGURATION
define('STORAGE_DIR', "/var/tmp"); // Folder to store files in
define('COOKIE_FILE', STORAGE_DIR . "/sn-run"); // File to store Cookie
define('GAME_NUMBER', "5517444584046592"); // Game number from URL
define('MY_ID', 5); // Player id
define('USERNAME', '');
define('PASSWORD', '');
@six0h
six0h / post-update
Created February 26, 2014 17:12
Git Post-Update hook that checks for changes to composer.lock, and fires a composer install if required.
#!/usr/bin/env python
#-*- coding: utf-8 -*-
"""A post-update Git hook to execute `composer install` when composer.json changes
:Author: Cody Halovich
:Company: HootSuite Media Inc.
"""
import subprocess