Skip to content

Instantly share code, notes, and snippets.

@iodbh
iodbh / names.json
Created June 1, 2018 15:31
Example name list
{"names":[]}
from bs4 import BeautifulSoup
import os
from sys import argv
DECOMPOSE_TAGS = (
'div.menu-panel',
'head',
'li',
'p.month-name',
'table.days-of-month',
@iodbh
iodbh / rcon_client.py
Created February 25, 2018 15:31
Python RCON Client (Source Protocol)
#!/usr/bin/python
# This is an RCON client for games using the Source RCON protocol.
# Pass a RCON command via argument (or don't to use interactive mode)
# Copyright 2015 Dunto, see below for license information.
# This script was written as a quick solution to a personal requirement,
# it may or may not be improved on as time passes. I make no promises
# as to whether it will work properly for you or not.
{
"geometry": [
0,
0,
1024,
768
],
"console": [
"injecting hint.css...",
"done."

Keybase proof

I hereby claim:

  • I am iodbh on github.
  • I am iodbh (https://keybase.io/iodbh) on keybase.
  • I have a public key whose fingerprint is 7395 4068 2B8D 4E2F D107 E0CD F1C4 2F65 90D7 5B36

To claim this, I am signing this object:

if ( $storage_path->message == "OK" && isset($storage_path->body->path) ) {
$dir = $storage_path->body->path;
}
else {
#FIXME: manage the error
}
return $dir;