SwiftlyTilting: usability, reusability

Tuesday, August 3, 2010

MediawikiPlayer 0.2.4

This version fixes a bug where some variables were being written as parameters instead.

Mediawiki Extension Page: Extension:MediawikiPlayer
Original post: Embed JW FLV Media Player with Mediawiki using the MediawikiPlayer Extension

If you find MediawikiPlayer useful, please consider making a $5 donation.


Download MediawikiPlayer v0.2.4
Downloaded 77 times

Thursday, July 1, 2010

MediawikiPlayer v0.2.3

This version fixes additional security issues for servers with register_globals enabled.

Local Wiki page: MediawikiPlayer
Mediawiki Extension Page: Extension:MediawikiPlayer
Original post: Embed JW FLV Media Player with Mediawiki using the MediawikiPlayer Extension

If you find MediawikiPlayer useful, please consider making a $5 donation.


Download MediawikiPlayer v0.2.3
Downloaded 126 times

Sunday, June 20, 2010

MediawikiPlayer 0.2.2

This version fixes some security issues. All users are encouraged to upgrade

Local Wiki page: MediawikiPlayer
Mediawiki Extension Page: Extension:MediawikiPlayer
Original post: Embed JW FLV Media Player with Mediawiki using the MediawikiPlayer Extension

If you find MediawikiPlayer useful, please consider making a $5 donation.


Download MediawikiPlayer v0.2.2
Downloaded 62 times

Thursday, June 10, 2010

MaintenanceShell 0.3.1

This version fixes a minor bug which caused a warning error to be displayed. This bug was introduced in 0.3.0

MaintenanceShell homepage on MediaWiki.org

Download MaintenanceShell v0.3.1
Downloaded 195 times

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 85 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 46 times
(more…)

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 94 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 55 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}")

Friday, March 5, 2010

MediawikiPlayer v0.2.1

This version fixes a bug which prevented loading of files that were stored on the wiki.

Local Wiki page: MediawikiPlayer
Mediawiki Extension Page: Extension:MediawikiPlayer
Original post: Embed JW FLV Media Player with Mediawiki using the MediawikiPlayer Extension

If you find MediawikiPlayer useful, please consider making a small donation.


Download MediawikiPlayer v0.2.1
Downloaded 347 times

Sunday, February 21, 2010

MediawikiPlayer Extension v0.2.0 released

This version includes an important security update for those who allow untrusted users to make edits to their wiki. Please update ASAP to prevent cross site scripting.

* Fixed XSS security risk.
* Added ability to load media directly from the wiki using File:medianame.ext shortcut
* Added ability to store various default configurations with $wgMWPlayerConfig

Original post: Embed JW FLV Media Player with Mediawiki using the MediawikiPlayer Extension

Download MediawikiPlayer v0.2.0
Downloaded 249 times

Thursday, December 17, 2009

How to contact Swiftly Tilting

I specialize in PHP, with an emphasis on Mediawiki and other open source web applications such as Wordpress and phpBB. I am available to create custom applications, extensions and plug-ins as well as modify or trouble shoot existing PHP-based sites.

If you wish to contact me, please use the contact form.

You may also follow this site on Twitter: @Swiftly_Tilting

Thanks for your interest!

phc-win 0.3.1 - a PHP EXE compiler

The bugs in bcompiler seem to have been worked out since phc-win 0.3.0. Unlike 0.3.0, this release has the standard PHP DLLs (for PHP 5.3.1) and separate Winbinder, win32std and bcompiler DLLs. I’m hoping to be able to get a smaller DLL with all of the required extensions going, but for now this is better than the buggy bcompiler version.

If you find php-win useful, please consider making a small donation.


View the phc-win documentation.

Download phc-win 0.3.1
Downloaded 1913 times

Note to XP users:
You may need to install the Microsoft Visual C++ 2008 Redistributable Package (x86) for EXEs to run correctly.

Note to Windows 2000, 9x Users
Due to a change in 5.3.x series of PHP, phc-win does not work on Windows 2000 or 9x machines. There are no plans to compile a 5.2.x series binary for phc-win. If you cannot upgrade your OS, I recommend using phc-win 0.2.1 which uses PHP 5.0.5.

Check the phc-win category for the latest version.

Wednesday, December 16, 2009

phc-win 0.3.0 - a PHP EXE compiler - compatible with PHP 5.3.1

It’s been quite a while since phc-win was updated due to the difficulty of getting all of the extensions compiled and running with each new version of PHP. Finally I got WinBinder compiled with PHP 5.3.1, and Alec Gorge helped out and compiled some lightweight DLL files to use with phc-win.

The good:
* PHP 5.3.1 compatible
* Program EXEs need only 1 DLL file and no other files to run correctly (if using one of the Alec Gorge compiled DLLs)
* Included DLL is only 2.44 megs

The bad:
* it seems bcompiler has changed since the last update of phc-win. Unfortunately it has introduced an error which causes programs to crash if your PHP code uses constants as default function parameter values. IE function foo ($bar = CONSTANT_VALUE) will cause the a program crash. Other problems may also exist with bcompiler. Because of this I may need to make the bcompilation stage optional.

UPDATE: Bug reports have been submitted to the bcompiler team and they are working on it, so hopefully there will be a resolution to this issue. Update 2: phc-win 0.3.1 is packaged with updated bcompiler dlls.

This version of phc-win has no actual functionality changes from 0.2.1 besides minor tweaks to get things working with php5.3 and working around the bcompiler issues.

If you find php-win useful, please consider making a small donation.


Download phc-win 0.3.0
Downloaded 231 times

For the latest version, check the phc-win category.

Monday, November 2, 2009

AdBlock 0.5.3.043 for FireFox 3

AdBlock is the percursor to AdBlock Plus, one of the most popular add-ons for Firefox. Some users, including myself, find AdBlock Plus too bloated and prefer the older AdBlock. This add-on is no longer in the Mozilla database, but is available on download.com and other sites. Unfortunately the default file does not install in Firefox 3.0 or later. A simple modification of the add-on will allow you to use it with FireFox 3.0 and later, so I have modified the add-on and placed it here for download.

This add-on seems to cause issues with some Flash-based sites. AdBlock Plus does not exhibit these issues.

Download AdBlock 0.5.3.043 for FireFox 3
Downloaded 353 times

Monday, September 7, 2009

SwiftlyTilting Wiki (re)Launches!

The wiki at SwiftlyTilting.com has received a face lift. I’ve also added documentation for all of my MediaWiki extensions, and there is a new sandbox area for users to try out Winter and my other extensions as well.

wiki.SwiftlyTilting.com

Sunday, August 9, 2009

CustomSidebar v0.3.0 - Mediawiki Extension

This update adds full template support as well as the ability to add sidebars based on user group and namespace.

CustomSidebar Homepage on MediaWiki.org

Download CustomSidebar 0.3.0
Downloaded 722 times

Friday, July 31, 2009

Embed JW FLV Media Player with Mediawiki using the MediawikiPlayer Extension

According to JW, “The JW FLV Player is the Internet’s most popular and flexible media player.” With the MediawikiPlayer Extension, one can easily include the JW FLV Media Player into wiki pages. JW FLV Player supports

  • FLV
  • MP4 (H264/AAC)
  • MP3
  • Youtube
  • Various streaming servers
  • Various XML playlists

Documentation available at the MediawikiPlayer homepage on MediaWiki.org

Download MediawikiPlayer v0.2.0
Downloaded 249 times

Download MediawikiPlayer v0.1.0
Downloaded 550 times

Friday, June 19, 2009

Maintenance Shell MediaWiki Extension v0.2.2

This update for Extension:MaintenanceShell adds quote mark support for the command line.

Download MaintenanceShell v0.2.2
Downloaded 553 times

Monday, June 1, 2009

Access MediaWiki maintenance scripts without a terminal shell using the MaintenanceShell extension

Some of the most powerful utility scripts which are included with Mediawiki can only be run via the command line, usually through a terminal shell. Unfortunately, many ISPs don’t allow terminal shell access, making life hard on MediaWiki admins.

I’ve written an extension for MediaWiki which tricks these maintenance scripts into thinking they are being run via the command line. A form on a special page provides access from the wiki.

MaintenanceShell homepage on MediaWiki.org

Download MaintenanceShell v0.2.1
Downloaded 201 times

Thursday, May 21, 2009

CustomSidebar extension for MediaWiki 1.14.0

I had the need for custom sidebars definable on a per-page basis in MediaWiki, and I didn’t like the current options out there. Luckily MediaWiki 1.14.0 adds a new hook right after the sidebar is generated, making it easy to replace its contents. You can either pull contents from another page or define the menu items on the page itself.

CustomSidebar Homepage on MediaWiki.org

Download CustomSidebar 0.1.0
Downloaded 179 times

Winter 2.2.0 - Interpreted language for MediaWiki

It’s been quite a while since I’ve updated Winter, but recently I discovered how to access content from other pages so perhaps we’ll see some new features. For now, I’ve added #include and #include_raw. #include will include the text from another page and run it through the Winter engine. #include_raw is not run through the Winter engine before being dumped into the page. Wikitext markup is not interpreted during this stage.. if you need the content to be formatted, you should use the #include command within a <winterprewiki> block. I also fixed a few bugs.

Winter Homepage on Mediawiki.org
Winter Documentation

Download Winter 2.2.0
Downloaded 661 times

Sunday, March 8, 2009

Getting Started with NES Development using ASM6

I’ve been interested in modifying Nintendo games (the practice is known as “ROM hacking”) for a while, though I’ve never developed my own software from scratch. Recently I had an idea for a project that would require original code, so I needed to learn how to create everything from the ground up.

To write programs for the NES, you have to know or learn assembly for the 6502 microprocessor. This processor was used in a variety of hardware in the 70s and 80s, and by today’s standard, is very simple and is not difficult to learn for those with some programming background. There are are huge number of resources on the 6502 processor available both online and in most libraries. Developing for the Nintendo will also require specific knowledge of the hardware and how to access it.

Once you’ve gotten to the point where you have the desire and ability to develop your own NES programs, ASM6 is a good assembler choice. It was created specifically for NES developers and can export .NES files ready to run in an emulator without the need for a separate linker.

ASM6 is available for download from Loopy’s site. (direct download). Loopy has also provided a basic project file which shows how to use the syntax of ASM6.

Additionally, here is a collection of very useful macros from “Memblers”. Unfortunately these macros aren’t 100% in ASM6 format but the ones that are not can be rewritten.

Thursday, November 1, 2007

Winter 2.1.1

Just a quick bugfix for Winter.

  • fixed NOTICE of undefined variable
  • fixed count command which would return the incorrect value

And since it’s been a while since I posted these links:
Winter Homepage on Mediawiki.org
Winter Documentation

Download Winter 2.1.1
Downloaded 870 times

Wednesday, September 19, 2007

How Universal Music Group likes their fake mp3s: Chopped and Screwed

In the battle against filesharers, members of the RIAA sometimes hire companies which attempt to disrupt the sharing of copyrighted material. A common tactic to discourage downloaders is to release multiple bogus copies of the media on P2P networks in an attempt to make it difficult to distinguish a good copy from a bad copy. Recently, MediaDefender — a company which provides this file spoofing service — had a large amount of its internal emails leaked by hackers. The emails are now widely available and as you can imagine make for some interesting reading.

One thing that can be gleaned from the emails is that apparently different companies have different tastes in fake mp3s. Here’s how Universal Music Group prefers to have its media processed for P2P networks:

    They want them to be more jarring mp3s.

    Obnoxious beeps they like. They like stutter drop outs. Volume changes can be added on additionally. They don’t want a hum in the background by itself, but that can be added on. They don’t want the FF-type sounds by themselves.

    They want the gain to drop and go up all the time and then beeps or glitches come in.

    He wants combined effects more than individual things. I’ll talk to y’all more about this tomorrow.

And again:

    Only use chopped and skewed audio decoys for UMG

More:

    Dev Meeting: chopped + screwed decoys

    Randy would like a meeting this afternoon starting between 230 and 300 to discuss our plans are for developing a system that would mass produce and distribute real content filled decoys where the audio/video has been manipulated to the point that it’s annoying to consume media from p2p networks

Of note “Chopped and Screwed” is also a style of hip hop music where the music has been slowed down and occasionally had certain parts of the beat repeated.

Validate XHTML | Word Press