Skip to content

Instantly share code, notes, and snippets.

View chizmw's full-sized avatar

Chisel Malik-Wright chizmw

View GitHub Profile
@chizmw
chizmw / neo4lul
Last active August 29, 2015 14:03
LUL
= LUL
:author: Chisel Wright
:twitter: @chizcw
Some intro will go here
Data mostly from: http://en.wikipedia.org/wiki/List_of_London_Underground_stations#Stations
vim search/replace:
* s!^\([a-z]\+\) \(.\+\)$!CREATE (\1:Station { name:"\2" } )!
@chizmw
chizmw / mac-adduser
Last active August 29, 2015 14:24
mac-adduser
#!/bin/bash
# username needs to be specified
if [ -z "$1" ]; then
echo "usage: $(basename $0) username";
exit;
fi
username=$1;
# we need to be running as root
@chizmw
chizmw / star-realms.adoc
Created July 2, 2015 14:29
Star Realms : Counting The Cards

Star Realms : Counting The Cards

Create the Base Set

CREATE  (sr:Game  { name:'Star Realms' }),
@chizmw
chizmw / .tmux.conf
Created May 20, 2016 16:21
chizcw's tmux config
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-x
bind-key C-x send-prefix
# status bar at the top please
set-option -g status-position top
# reload config file (change file location to your the tmux.conf you want to use)
@chizmw
chizmw / helloworld.js
Last active May 31, 2017 17:33
Testing an idea
(function() {
if(!document.getElementById("botr_nrldb8_div")) {
document.write("<div id='botr_nrldb8_div'><iframe src=\"https://vistabee.com/popups/embed/nrldb8/DGpLK4N9\" scrolling=\"no\" style=\"width:100%;height:auto;border:none\" allowfullscreen></iframe></div>");
}
})();
@chizmw
chizmw / graph_gist_template.adoc
Created August 3, 2018 08:33 — forked from jexp/graph_gist_template.adoc
CHANGEME: GraphGist Template. Fork to make your own, view source to see instruction comments

REPLACEME: TITLE OF YOUR GRAPHGIST

Introduction

@chizmw
chizmw / xfire.adoc
Last active August 3, 2018 08:42
Crossfire
CREATE (neo:Database {name:'Neo4j'})
CREATE (neo)-[:SUPPORTS]->(:Language {name:'Cypher'})
abstract class BasePipeline {
abstract def releaseToProd()
}
abstract class BaseEcsPipeline extends BasePipeline {
final def releaseToProd() {
return "ECS Prod Release"
}
}
@chizmw
chizmw / README.md
Last active March 6, 2019 11:00
rescuetime-highlights

cron entry

➔ crontab -l |grep highlights
  00   9  *   *  mon       /home/chisel/perl5/perlbrew/perls/perl-5.22.2/bin/perl /home/chisel/bin/rescuetime-highlights last friday
  00   9  *   *  tue-fri   /home/chisel/perl5/perlbrew/perls/perl-5.22.2/bin/perl /home/chisel/bin/rescuetime-highlights yesterday
@chizmw
chizmw / pinto2opan.md
Created May 9, 2019 11:10
Rough Guide To Migrating From Pinto to Opan

Overview

I'm currently using Pinto at $orkplace. Pinto is becoming increasingly painful to use.

More and more often we're seeing:

The repository is currently in use -- please try again later (Timed out waiting for blocking lock)