Skip to main content

Validating file uploads in Sitecore WFFM

Our Sitecore installation was in dire need of a way to lock down file uploads on forms built with the Web Forms for Marketers (WFFM) module; out of the box, it doesn't do any checking at all, which can lead to some risky situations. I tacked on a simple whitelist …

Continue reading

Disable SSLv3 to avoid POODLE attack in web.py

An open source application that I contribute to uses web.py to provide a web server platform for its services alongside the other platforms available. I recently updated it to use a sane set of default ciphers and to disable the SSLv3 protocol in order to avoid the POODLE attack …

Continue reading

SVG polyfill in pure Javascript

A designer at work pointed out this SVG polyfill as a candidate for our new production site. While I like the elegance of it, I was a bit disappointed that the author felt the need to include jQuery as a dependency simply to use its selector engine and each function …

Continue reading

Give-Me-Coins.com Condensed UserScript

Lately, my interest has been piqued by cryptocurrency. After discovering that my ATI card could produce a decent hash rate without seriously spiking my electricity bill, I got specifically interested in Litecoin. Long story short, I joined a Litecoin mining pool (Give-Me-Coins.com) and decided that I could do without …

Continue reading

Tribute: An Homage to My ASCII Heroes

I don't generally write anything on here that isn't about code; I don't like to use this as any kind of a soapbox. To me, this site is about sharing tricks and solutions I've created or come across in software development. That being said, I am so incredibly proud of …

Continue reading

Mozilla's TogetherJS in a bookmarklet

Mozilla recently introduced TogetherJS, a succession of their TowTruck service. Being that it is so similar to TowTruck, I went ahead and made a bookmarklet for it.

Drag the bookmarklet below onto your bookmarks bar, and tell your collaborators to do the same. When you're on a page you want …

Continue reading

Bulk rename Subversion files with PowerShell

Scenario: We're upgrading our reporting software at work, and the way that it used to integrate with SVN (through a terrible SCC bridge) involved arbitrarily placing "app_" at the head of the file names. Of course, in the new version, they no longer do this, and so all of our …

Continue reading

Truck It!: Mozilla TowTruck in a bookmarklet

Mozilla Labs has this really nifty, Javascript-based collaboration utility, ~~TowTruck~~, which allows real-time web editing collaboration in the browser. It's got a lot of nifty features I won't get into in this post; sufficed to say, it's pretty frickin' sweet. What I did not find to be as frickin' sweet …

Continue reading