Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <string.h>
#include <math.h>
#define MAX_STR_LEN 20
char strbuf[16];
char str[] = "10000:12:34";
int convertTimestampToSeconds(char* ts) {

Keybase proof

I hereby claim:

  • I am thecyborganizer on github.
  • I am thecyborganizer (https://keybase.io/thecyborganizer) on keybase.
  • I have a public key ASCIY0StHKf2cJvXPpM8mr0P46VXBuXQT1ZL8sv2Zzfqdwo

To claim this, I am signing this object:

import re
def count(string):
m = re.search(r'\((\d+)x(\d+)\)',string)
c = 0
if not m:
return len(string)
i = string.find(')') + 1
length = int(m.groups()[0])
repeats = int(m.groups()[1])
repeat_string = string[i:i + length]
@thecyborganizer
thecyborganizer / Server info
Last active December 14, 2015 16:39
Party Party info
Twitter: @champ_of_ithacaa
Steam: the.cyborganizer
IRC: "kjones" on freenode
TF2: 68.232.184.58:27015 (connect by adding to favorites, or through console: "connect 68.232.184.58:27015")
L4D2: 68.232.168.54:27015 (connect through console)
BUT JOSH HOW DO I USE CONSOLE
In TF2: Options > Keyboard > Advanced > the little checkbox