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.
public class TokenGrabber { | |
private static final char SEPARATOR = '|'; | |
public static String grabTokenAt(String str, int index, char delim) { | |
if (index > -1) { // Within minimum bounds. | |
int pos = -1, step = 0; | |
if (index > 0) { | |
for (; step <= index; step++) { | |
pos = str.indexOf(delim, pos + (step > 1 ? 1 : 0)); | |
} |
[ { | |
"Date" : "2016-07-30", | |
"Data" : { | |
"Moves" : [ | |
{ "ID" : 13, "Key" : "Power", "Old Value" : 15, "New Value" : 25 }, | |
{ "ID" : 14, "Key" : "Power", "Old Value" : 70, "New Value" : 120 }, | |
{ "ID" : 18, "Key" : "Power", "Old Value" : 25, "New Value" : 30 }, | |
{ "ID" : 20, "Key" : "Power", "Old Value" : 15, "New Value" : 25 }, | |
{ "ID" : 21, "Key" : "Power", "Old Value" : 35, "New Value" : 40 }, | |
{ "ID" : 22, "Key" : "Power", "Old Value" : 55, "New Value" : 80 }, |
{ | |
"Items": [ { | |
"TemplateId": "BADGE_BATTLE_ATTACK_WON", | |
"Badge": { | |
"BadgeType": "BADGE_BATTLE_ATTACK_WON", | |
"BadgeRanks": 4, | |
"Targets": "\\nd\\350\\007" | |
} | |
}, { | |
"TemplateId": "BADGE_BATTLE_TRAINING_WON", |
#!/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 |
Apple | 25 | 34 | |
---|---|---|---|
Pear | -16 | 10 | |
Lemon | 22 | -5 | |
Orange | 41 | 21 |
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 | |
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.
<!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; | |
} |