This is a hack to get around the read-only nature of __closure__ on function objects. Watch your step!
Does not require multiprocessing, easy to hack, maybe not optimal but did the job for a make like tool I wrote.
I'm a hack programmer -- no formal education. So, I don't know if this is technically a "factory", "abstract factory" or something else.
It is a way to generate a class dynamically, perhaps based on run-time...
This is a quick-hack module I wrote up in a couple of hours that allows for a nicer syntax to build up struct-like binary packing and unpacking. The point was to get it to be concise and as C-like as possible. This script requires python3 for it's...
This useless hack allows normal functions to be attached to a 'ThunkSpace' which causes the function to be lazily evaluated when the thunk is referenced. It is just a experiment using closures and descriptors to try and change python function call...
this is a hack to get the "foo" module that's outside a package whithin a file of the package, when it also contains a module named "foo" (ie relative imports)
This hack allows you to add a cookie/header to a SOAPpy request. It uses a keyword args all-through to pass your own transports down to the SOAPpy core. It uses the ClientCookie module to store the cookies generated and/or to send the cookies.
Just a little bit of hack: a linear equations solver using eval and built-in complex numbers:
>>> solve("x - 2*x + 5*x - 46*(235-24) = x + 2")
Hack a class's __init__ method without subclassing the class
because a) you can't modify the original class and b) you can't modify other
classes already using the first class. This is a gross hack that should only
be used to work...
A hack to quickly replace multiple
characters/strings in a string with
characters from another string.
Users can use this script and modify their TinyMCE editor to support CSS classes and ids in their RTE editor.
A bar will be added to...
This is really a small hack that I wanted to share just to inspire more people to make interactive Matlab graphics. Use it as is or use the code as a template to do more advanced stuff.
Here is how it works (for a 2-D patch):
This plugin allows you to add a carnage counter of the death toll on gaza war as a widget in your sidebar.
1. Upload the plugin folder to the /wp-content/plugins/ directory
2. Activate the plugin through...
The Drupal WaveBot is originally designed to hack into the bot module, to bring the goodness of IRC and Drupal to Google Wave.
It provides a modular (read: hooks) system for having code on a Drupal site interact with a Wave via a robot...
A quick hack of a plugin for vim that adds annotation using quickfix.
This program will allow you to build your own NES roms instead of trying to hack into currently exsiting roms to make new games. This program will allow you to make NES games faster then any other program, and one can publish a completed rom in...
SWTLoader is an elegant hack to ease SWT program deployment. With SWTLoader you can produce self-contained, double-clickable jar files with the needed native files inside them. Users will just have to double click your file: no more scripts or...
NetOris - The Network Controller is a Remote Administration Tool which is developed to hack remote systems easily. Download now and Start Hacking. Use Your Friend's Computer as it's yours.
PConMeAÂ© is a cool hack of a virtual machine, using Qemu and Qemu manager with Ubuntu 10.10. The project has been designed to be a computing sandbox where young computing enthusiasts can experiment, explore and program without compromising the...
This applet shows the current number of FTP users at ftp.luth.se and maximum users since the last reboot. The special server running on port 7101 on ftp.luth.se is a small hack-interface to ftpcount. The counter is updated every 5 seconds.