SwiftlyTilting: usability, reusability

Sunday, May 23, 2010

MaintenanceShell v0.3.0

This version fixes a major security issue with XSS and CSRF vulnerabilities. All users are encouraged to upgrade immediately.

MaintenanceShell homepage on MediaWiki.org

Download MaintenanceShell v0.3.0
Downloaded 2192 times

Thursday, May 13, 2010

cStruct and WinAPI: Classes for accessing the Windows API with PHP and WinBinder

One of the biggest roadblocks to writing code which accesses the Windows API is the fact that so many functions require you to provide data formatted in specific format. This format is defined on MSDN as a C struct, which has no direct representation in PHP. The best you can hope for is to figure out the layout of the structure, and then set up some PACK/UNPACK calls to convert the data to and from something more useful in PHP.

Enter cStruct, a collection of objects that helps provide support for C-like structures. All common data types have been implemented. This will save lots of time as you don’t have to remember or figure out how many bytes each datatype takes up and how to convert it to and from binary data.

Download cStruct.0.2.2
Downloaded 2068 times

Sunday, May 9, 2010

MaintenanceShell v0.2.4

This fixes a minor html issue with IE. Also includes the German language localization.

MaintenanceShell homepage on MediaWiki.org

Download MaintenanceShell v0.2.4
Downloaded 2238 times

Friday, May 7, 2010

Maintenance Shell v0.2.3 for Mediawiki

Fixed some minor bugs and also moved the text strings into the language file for better localization.

MaintenanceShell homepage on MediaWiki.org

Download MaintenanceShell v0.2.3
Downloaded 2110 times

Thursday, May 6, 2010

How to fix Google’s new layout

Google’s new layout reminds me too much of Bing.. I really preferred the old layout. Thanks to Nathan Caroyannis, we can use Greasemonkey to change the layout. Download the userscript here: http://userscripts.org/scripts/show/76060

I added my own changes as well

AddStyle("#leftnav {display:none}");
AddStyle("#center_col {margin-left:0}");
AddStyle("#foot div {display:none}")
AddStyle("#foot #navcnt, #foot #fll {display:block}")
AddStyle(".tsf-p table {border-bottom:0 !important}")
AddStyle("#cnt {max-width:1200px !important}")
AddStyle(".s { max-width: 90em !important}")
AddStyle(".lst {height:1.4em !important;font-size:1em}")
AddStyle("li.g{padding-top:.5em !important}")
AddStyle("#center_col, #foot { margin-right:0px}")
AddStyle("#rhs_block, #fll {display:none !important}")
AddStyle(".gbh {font-size:1em;margin-top:2em !important;top:0px}")
AddStyle("#foot {margin-bottom:1em}")

Validate XHTML | Word Press