I hereby claim:
- I am koenbollen on github.
- I am kaji (https://keybase.io/kaji) on keybase.
- I have a public key whose fingerprint is E429 280B 5525 9D90 B8FC 1B0D 521B 6165 3E9E F05D
To claim this, I am signing this object:
/* Copyright (c) 2014, Koen Bollen <meneer@koenbollen.nl> | |
Permission to use, copy, modify, and/or distribute this software for any purpose | |
with or without fee is hereby granted, provided that the above copyright notice | |
and this permission notice appear in all copies. | |
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | |
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND | |
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | |
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS |
#!/usr/bin/env python | |
# | |
# Copyright (c) 2014, Koen Bollen <meneer@koenbollen.nl> | |
# | |
# Permission to use, copy, modify, and/or distribute this software for any purpose | |
# with or without fee is hereby granted, provided that the above copyright notice | |
# and this permission notice appear in all copies. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | |
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
# Koen Bollen, 2015 | |
import sys | |
import urllib.request | |
import xml.etree.ElementTree | |
# Train stations you are interested in: | |
keywords = ("utrecht", "bijlmer", "amstel") | |
# If one of those keywords is found in the |
#!/usr/bin/env python | |
# Koen Bollen <meneer koenbollen nl> | |
# 2010 GPL | |
# | |
# Download an random wallpaper from go4celebrity.com | |
# | |
# | |
# My setup: | |
# ========= | |
# |
#!/usr/bin/env python | |
# Convert an address to a hash and back. | |
# | |
# Koen Bollen <meneer koenbollen nl> | |
# 2010 GPL | |
# | |
import socket | |
import struct | |
import base64 |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Microsoft.Xna.Framework; | |
using Microsoft.Xna.Framework.Audio; | |
using Microsoft.Xna.Framework.Content; | |
using Microsoft.Xna.Framework.GamerServices; | |
using Microsoft.Xna.Framework.Graphics; | |
using Microsoft.Xna.Framework.Input; | |
using Microsoft.Xna.Framework.Media; |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Microsoft.Xna.Framework; | |
using Microsoft.Xna.Framework.Audio; | |
using Microsoft.Xna.Framework.Content; | |
using Microsoft.Xna.Framework.GamerServices; | |
using Microsoft.Xna.Framework.Graphics; | |
using Microsoft.Xna.Framework.Input; | |
using Microsoft.Xna.Framework.Media; |
#!/usr/bin/env python | |
# load.py | |
# Test the current load of this system and report through e-mail when it's | |
# above a given threshold. | |
# | |
# Koen Bollen <meneer@koenbollen.nl> | |
# GPLv2 2011 | |
# | |
LOAD_THRESHOLD = 0.8 # normalized (load/cpus > LOAD_THRESHOLD) |
#!/usr/bin/env python | |
# wake.py - Send a wake-on-lan packet to a certain host specified by name. | |
# The hosts that can be woken are stored a csv file. | |
# | |
# Default path for the hosts file is ~/.mac and the | |
# format is this (one host per line): | |
# Title, name, mac-address, port | |
# Example: | |
# My Computer, living, 00:11:22:33:44:55, 7 | |
# |