Skip to content

Instantly share code, notes, and snippets.

View Illizian's full-sized avatar
🏠
Working from home

Alex Scotton Illizian

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am illizian on github.
  • I am illizian (https://keybase.io/illizian) on keybase.
  • I have a public key whose fingerprint is 98D5 0546 AA08 EA46 3591 8792 8234 D83E 3A8A DBB1

To claim this, I am signing this object:

@Illizian
Illizian / README.md
Last active August 29, 2015 14:11
An Android MonkeyRunner script for keeping Clash of Clan sessions awake
@Illizian
Illizian / crontab
Last active August 29, 2015 14:09
connectivity.sh
# m h dom mon dow command
*/1 * * * * /home/alex/connectivity.sh
@Illizian
Illizian / justgiving.html
Created September 25, 2014 15:42
JustGiving
<div id="jg-widget-ksbcycles100miles-327"></div>
<script>
(function() {
var id = "jg-widget-ksbcycles100miles-327",
doc = document,
pfx = (window.location.toString().indexOf("https") == 0) ? "https" : "http";
var el = doc.getElementById(id);
if (el) {
var js = doc.createElement('script');
js.src = pfx + "://widgets.justgiving.com/fundraisingpage/ksbcycles100miles?enc=ZT1qZy13aWRnZXQta3NiY3ljbGVzMTAwbWlsZXMtMzI3Jnc9NDAwJmI9aW1hZ2UsZG9uYXRlLGZ1bmRyYWlzZSZpYj10aXRsZSxzdW1tYXJ5LHByb2dyZXNzLHJhaXNlZCx0YXJnZXQ%3D";
@Illizian
Illizian / Gruntfile.js
Created August 30, 2014 15:23
alexscotton.com
var rewriteRulesSnippet = require("grunt-connect-rewrite/lib/utils").rewriteRequest;
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
},
// =============================================================== [ Logging ] ====
var colors = require('colors');
var moment = require('moment');
log = {
level: 3,
console : function(level, prefix, title, message) {
var timestamp = moment().format('HH:MM:ss');
if(level <= log.level && process.env.NODE_ENV !== "test" && title !== '') return console.log(prefix + ' ' + timestamp.grey + ' : ' + title.bold + ' ' + message);
if(level <= log.level && process.env.NODE_ENV !== "test") return console.log(prefix + ' ' + timestamp.grey + ' : ' + message);
},