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:
| package main | |
| // usage: curl localhost:1544 -d"Text Here" | |
| import ( | |
| "io" | |
| "net/http" | |
| "os/exec" | |
| "golang.org/x/text/transform" |
| #!/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 |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| # | |
| # Copyright (c) 2014, Koen Bollen <[email protected]> | |
| # | |
| # 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 |
| /* Copyright (c) 2014, Koen Bollen <[email protected]> | |
| 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 |
| /** | |
| * bail.h supplies the macro bail( expr, s ); "no description, read the code" | |
| * version 1.0 | |
| * Copyright (C) 2008, Koen Bollen | |
| * | |
| * This program is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU General Public License | |
| * as published by the Free Software Foundation version 2. | |
| * | |
| * This program is distributed in the hope that it will be useful, |
| #!/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 | |
| # |
| #!/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 <[email protected]> | |
| # GPLv2 2011 | |
| # | |
| LOAD_THRESHOLD = 0.8 # normalized (load/cpus > LOAD_THRESHOLD) |
| 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; |