Skip to content

Instantly share code, notes, and snippets.

@rmkane
rmkane / GAME_MASTER_v0_1.json
Created July 17, 2016 04:25
Pokemon GO Game Data
{
"Items": [ {
"TemplateId": "BADGE_BATTLE_ATTACK_WON",
"Badge": {
"BadgeType": "BADGE_BATTLE_ATTACK_WON",
"BadgeRanks": 4,
"Targets": "\\nd\\350\\007"
}
}, {
"TemplateId": "BADGE_BATTLE_TRAINING_WON",
@rmkane
rmkane / ConfigParser.py
Created March 12, 2016 02:22
[Python] CS:GO Configuration Parser
#!/usr/bin/env python3
"""ConfigParser.py: Parses a Valve configuration file.
The configuration file for the CS:GO game items is read line-by-line
and written to an output file. The missing colons and commas are added
to their appropriate places. The output file passed JSLint validation.
"""
from argparse import ArgumentParser
@rmkane
rmkane / fruit.csv
Created February 23, 2016 14:43
ZingChart - External Data Loading
Apple 25 34
Pear -16 10
Lemon 22 -5
Orange 41 21
@rmkane
rmkane / Pageant Autoload with Logging.bat
Last active December 11, 2015 00:24
This script creates a shortcut for auto-loading a PPK (key) in Pageant by writing a temporary VB script and executing it.
REM |==================================================================|
REM | Pageant Autoload.bat |
REM | |
REM | This script creates a shortcut for auto-loading a PPK (key) in |
REM | Pageant by writing a temporary VB script and executing it. The |
REM | following information below is added to the shortcut. |
REM | |
REM | Filename : Pageant Autoload |
REM | Target : pageant.exe |
REM | Arguments : id_rsa.ppk |
@rmkane
rmkane / README.md
Created November 3, 2015 01:54 — forked from tomgp/LICENSE.txt
Simple D3 clock

A simple clock made with D3.

After I'd made it I got a bit caught up in trying to make it look like Dieter Ram's Braun clock face adding a whole bunch fo extra stuff...

It's still not quite there.

@rmkane
rmkane / index.html
Last active October 14, 2022 03:41
Hijack AJAX
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>AJAX Interceptor - jsFiddle demo</title>
<style type="text/css">
.uname {
font-weight: bold;
}
@rmkane
rmkane / clock-face-alt.svg
Last active October 9, 2015 16:11
Digital Clock 2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rmkane
rmkane / clock-face.svg
Last active October 9, 2015 15:17 — forked from mbostock/.block
Digital Clock
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rmkane
rmkane / README.md
Last active October 8, 2015 22:21
HandlebarsJS Template w/ Sort

HandlebarsJS Example using a table template with sorting.

@rmkane
rmkane / README.md
Last active October 8, 2015 23:29
Dynamic Multi-Sort

A sorting helper to sort an array of objects using multiple sorting properties. Property scoping is supported.

Your sorters can be simple property strings, or sorter objects.

This gist can be viewed at bl.ocks.org. Alternatively, you can view this example over at JSFiddle.