Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Jack Skinner devjack

I may be slow to respond.
Block or report user

Report or block devjack

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
devjack / weekly-block.css
Last active May 27, 2018 — forked from pento/weekly-block.css
The Weekly Block
View weekly-block.css
* License: GPL-3.0+
.weekly-link {
/*border-left: 3px solid rgba(0,0,0,.8);*/
border-left: 3px solid rgba(255, 160, 0, 1);
padding-left: 2em;
padding-right: 2em;
margin-bottom: 2em;
title tags categories date
How to release during the holidays
software engineering

And so we reach the end of another coding-year and while many of us are plotting our holiday hacks and offline AR (actual reality) adventures there are a few folks who still have to launch features over the break.


Keybase proof

I hereby claim:

To claim this, I am signing this object:

devjack /
Last active Jan 9, 2016
Open source languages - codes of conduct
devjack / index.txt
Created Jan 8, 2016
OneName Verification
View index.txt
Verifying that +developerjack is my blockchain ID.
View gist:0a5bde675515b1d5a324
git clone
cd sculpin-blog-skeleton/
printf "\nurl:" >> app/config/sculpin_site.yml
sculpin generate --server --watch --url=
Note that the URL's still contain instead of
devjack / java_parser.php
Last active Aug 29, 2015
A crude lexer and parser for simple operations and expressions
View java_parser.php
* This is a very crude file designed to trace the symbol table for simple operations and expressions. Syntax is based on Java
* - assignment operators
* - basic arithmetic
* - apply multiple operators in a single expression (x + y + z etc.)
* Not implemented:
* - complex structures (loops, conditions, arrays, classes, packages etc. etc. etc.)
* - does not support type checking, type hinting (ignored in lexer) or anything 'useful'
devjack /
Last active Aug 29, 2015
Cache-Control headers for S3 Static sites
### USAGE ###
## Sets $1's objects' Cache-control:max-age= header to $2.
## e.g. ./ mybucket 60 // for 60 seconds.
s3Cmd() {
if type $cmd 2>/dev/null; then
View gist:6fe8a1e2e78bf1a2a46c
function factorial($n) {
if($n==0) return 1;
while ($n > 0) {
return $t;
View elePHPant generators
function colours() {
for($i=0x0; $i<0xffffff; $i++) {
yield $i;
foreach(colours() as $elePHPant) {
echo sprintf("I want a #%06X elePHPant!".PHP_EOL, $elePHPant);
You can’t perform that action at this time.