Skip to content

Instantly share code, notes, and snippets.

View nullromo's full-sized avatar

Kyle Kovacs nullromo

  • United States
  • 00:36 (UTC -08:00)
View GitHub Profile
@senko
senko / trigger.py
Created January 9, 2013 09:49
When triggered via a HTTP request, execute a command.
#!/usr/bin/env python
#
# When triggered via a HTTP request, execute a command.
#
# Written by Senko Rasic <[email protected]>
# Released into Public Domain. Use it as you like.
#
# Usage: python trigger.py <host> <port> <key> <command>...
#
# HTTP GET and POST requests are supported. If you need more verbs or need