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") 3236.0
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.
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.
This download contains guidelines for architecting, designing, building, reviewing, and configuring secure to build hack resilient ASP.NET Web applications across the application tiers, technology, and servers. Topics include Threats and...
OMNI is a simple online order processing script written in PERL that helps merchants and e-sellers to screen any kind of fraud and hack attempts in their order processing systems. Using this script shopping cart owners would be able to encrypt and...
There are more than 50 free password sites on the internet that get hundreds of thousands of visitors a day. They all claim to be run by hackers that hack websites for passwords. They claim that they are doing the webmasters a service by letting...
A PHP Class for processing credit card and telecheck auth requests with the surepay merchant gateway. There is no need to understand XML to use this class, it will take care of it for you. There also exists a hack for the shopping cart PHPshop to...
There are plenty of ways to declare C-like enums in Python. This one tries to be minimalistic and with a nice syntax, (ab)using decorators.
The code is also available here: http://codespeak.net/svn/user/antocuni/hack/enum.py
Ruby offers very nice language constructs for loops or for iterating over lists like the following: 5.times { print "Hello World" }. This recipe shows a hack how to implement these features in python.
The CaptionButton component applies an additional custom button to the title bars of your forms + special menu item associated with this caption button to the system menu. Contains a lot of customization features such like a popup menus, multiple...
The CaptionButton collection is the set of 5 useful components which may add an additional button on the form's title bar and menu item to the system menu, associated with that button.
Package contains 5 components: TCaptionButton,...
The Advanced Application Controls (AppControls) is the set of 51+ top quality multipurpose components for Borland Delphi and C++ Builder. The package contains everything that you need to add smooth and truly professional appearance to your... |