This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is free and unencumbered software released into the public domain. | |
| # | |
| # Anyone is free to copy, modify, publish, use, compile, sell, or | |
| # distribute this software, either in source code form or as a compiled | |
| # binary, for any purpose, commercial or non-commercial, and by any | |
| # means. | |
| # | |
| # In jurisdictions that recognize copyright laws, the author or authors | |
| # of this software dedicate any and all copyright interest in the | |
| # software to the public domain. We make this dedication for the benefit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import datetime | |
| import json | |
| import gtk | |
| import gobject | |
| # TODO: fix gi.repository.WebKit to have a working webview.get_dom_document | |
| import webkit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| set -u | |
| # hat-tips: | |
| # - http://codeghar.wordpress.com/2011/12/14/automated-customized-debian-installation-using-preseed/ | |
| # - the gist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function AssertionError(msg) { | |
| this.message = msg || ""; | |
| this.name = "AssertionError"; | |
| } | |
| AssertionError.prototype = Error.prototype; | |
| /* Call assert(cond, description1, ...) | |
| An AssertionError will be thrown if the cond is false. All parameters will be logged to the console, | |
| and be part of the error. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # Jabber-SH — SH console via XMPP/Jabber (GTalk) | |
| # | |
| # Jabber-SH allows you to administrate a remote computer via a command line | |
| # through a Jabber client. It’s like SSH via GoogleTalk! :) | |
| # This is just a hack but it might be usefull sometime to run basic commands | |
| # on a machine that is not accessible via ssh. | |
| # | |
| # Philippe Creux. pcreux/AT/gmail/DOT/com |