Skip to content

Instantly share code, notes, and snippets.

View GAME_MASTER_v0_1.json
{
"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 Mar 12, 2016
[Python] CS:GO Configuration Parser
View ConfigParser.py
#!/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 Feb 23, 2016
ZingChart - External Data Loading
View fruit.csv
Apple 25 34
Pear -16 10
Lemon 22 -5
Orange 41 21
@rmkane
rmkane / Pageant Autoload with Logging.bat
Last active Dec 11, 2015
This script creates a shortcut for auto-loading a PPK (key) in Pageant by writing a temporary VB script and executing it.
View Pageant Autoload with Logging.bat
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 Nov 3, 2015 — forked from tomgp/LICENSE.txt
Simple D3 clock
View README.md

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 Oct 20, 2015
Hijack AJAX
View index.html
<!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;
}
View clock-face-alt.svg
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 Oct 9, 2015 — forked from mbostock/.block
Digital Clock
View clock-face.svg
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 Oct 8, 2015
HandlebarsJS Template w/ Sort
View README.md

HandlebarsJS Example using a table template with sorting.

@rmkane
rmkane / README.md
Last active Oct 8, 2015
Dynamic Multi-Sort
View README.md

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.