SwiftlyTilting: usability, reusability

Tuesday, September 21, 2010

Stop the #twittervirus

This greasemonkey script will stop mouseovers

// ==UserScript==
// @name           Stop the #twittervirus
// @namespace      http://swiftlytilting.com/*
// @include        http://www.twitter.com/*
// @include        https://www.twitter.com/*
// @include        http://twitter.com/*
// @include        https://twitter.com/*
// @description    fix twitter
// ==/UserScript==

var links = document.getElementsByTagName("a");

   for (i = 0; i < links.length; i++) {
      var node = links[i];
      var tag = node.getAttribute("onmouseover");

      if (tag) {

            node.innerHTML = 'hack removed';

      }  // end if(tag)
   } // end for loop

Download No Twitter Virus
Downloaded 5337 times

edit: Twitter fixed itself so the script isn’t needed now, though might not be bad to leave it running in case any future bugs appear. Not sure how it will affect #newtwitter though.

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 2212 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}")

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 2576 times

Monday, November 2, 2009

AdBlock 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 for FireFox 3
Downloaded 6015 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.

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


    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.

Friday, August 24, 2007

All hail Akismet

For some time I’ve had problems with spam commenters. I’ve held them at bay mostly by having an extensive spam word blacklist as well as holding all comments with even one link in the approval queue. My blog had been somewhat dormant for the last year, and I guess the spam bots had been lying in wait or something because soon after I started posting again, my database had been filled to the brim with spam in my approval queue, to the point where my host turned off write access!

I looked at various spam deterrants for blogs and found Akismet. It’s not just a blog plug-in, it’s a whole service which continually monitors comments and posts to many different blogs and other sites which accept user contributions. Using this massive amount of data it can quickly learn how to filter out spam, even as spammers come up with new tactics.

Akismet is free for small blogs, though they do ask if you’re making tons of money to use their pay service. Overall it’s a great service for the average blogger. Unfortunately it’s not without its downsides. You do have to send every comment through their servers and you have to trust that they don’t throw out any good comments. I don’t have enough user discussion to test the false positives, but so far I’ve not had any problems.

I installed Akismet on August 11th, and already it’s stopped over seven thousand spam comments from being made on my blog alone! Here is a live counter of spams stopped since August 11th:

Thursday, August 9, 2007

Imageshack toolbar adds itself to Firefox’s ‘User Agent’ identifier

I was poking around in a log and noticed the Imageshack toolbar had added itself to what my browser’s User Agent. Not really a big deal but still not very polite of the developers.

You can remove it by editing your default.js file in

C:\Documents and Settings\[UserName]\Application Data\Mozilla\Firefox\Profiles

and removing this line:

pref(”general.useragent.extra.ImageShackToolbar”, “ImageShackToolbar/4.2.1″);

Friday, June 30, 2006

I got owned by BraveSentry

I wrote this up a few months ago when my machine was infected with BraveSentry.. since then I’ve been able to get my machine back to normal without having to reinstall windows, but it did require me to reinstall SP2 to get my network settings completely back to normal and restore NAT. I intended to document everything needed to restore my machine but unfortunately I didn’t write everything down, so I present this incomplete post as-is in case it is useful to someone. :)

Last night while I was out of the house, my server machine was infected with BraveSentry and a host of trojans. I returned home and noticed my internet was dow, so I checked the server. It was sending out 100s of spam emails, saturating the connection to the point nothing else could be used.

Since the machine was practically unusable, I rebooted. On loading, by background had gone black and an malware warning appeard in the lower right. A program I had never heard of, let alone installed, BraveSentry, was scanning my computer, telling me I had tons of viruses and I needed to buy the product to get rid of them. Yeah right.

Immediately I open the taskbar to kill BraveSentry and check to see if any other programs are running. The Task Manager has been disabled by your adminstrator. WTF. I go online to try to look up help on how clean my computer, and as soon as I log on my computer becomes a zombie spammer again. Reboot.

I was eventally able to clean out my system by checking all of the various places used to start programs on loading, such as HKCU\System\Software\Microsoft\Windows\CurrentVersion\Run and all similar paths. There was also malware in my system.ini file.

One piece of malware actually seemed to add itself the instant i removed it.. for that one I ended up removing it and then quickly turning off the computer. probably not the best idea in the world but it worked.

Once I deleted all the malware, somehow my internet coonection was also removed. I set up a new connection and went online. My first stop was one of those online virus scan sites. But every time i tried to go one, I was redirected to my local server’s 404 page, meaning the sites had been redirected thru my hosts file. Checking the hosts file, it had been completely replaced with a new file. All anti virus sites were blocked, and certain bank sites were redirected.

Editing the hosts file, I was finally able to run a virus scan, where a number of trojans and other malware were found. I also ran an extensive scan from ewido in safe mode, finding even more problems.

Intellectual Plunger

Ok well, it was actually intellectually plunger but hey, you can’t ask for perfection from spam bots and their random subject line generators all the time ;)

Tuesday, June 27, 2006

My Darpa Protozoa

A few months ago, I started receiving a good deal of spam with randomly generated subject lines. Most of them aren’t really all that interesting and just sound like random words strung together. But sometimes I do get a bit of spam with a funny or interesting title. Today I received a bit of mail with the headline: Slushy Siphon. Sounds like a good band name or something.

I recall the first randomly generated spam title that really stuck in my mind: “My Darpa Protozoa”. Darpa is of course the Defense Advanced Research Projects Agency, and it is within this agency that the Internet, originally called DarpaNet was born. A protozoa is of course a basic form of life. I imagine that the spam was generated via an Internet virus that has commandeered a machine and turned it into a zombie spammer.. in other words, it has been infected with a Darpa Protozoa :D Perhaps the email was a cry for help.

Sunday, October 30, 2005

phpABC 2.2

This is a security upgrade. All users need to upgrade to this version as soon as possible.

Download phpABC 2.2

Downloaded 11168 times

Friday, May 27, 2005

FBI, Homeland Security target tracker site

The FBI is took a break from hunting for Osama Bin Ladin and shut down the bit torrent tracker Elite Torrents on Wednesday. The FBI press release points out the recently released film Revenge of the Sith was available for download on Elite Torrents only hours after the movie opened. The FBI stated that online file sharing is akin to stealing, and jobs could be at risk due to online “theft.” In other news, Revenge of the Sith broke multiple box office records, taking in US$303 million worldwide in the first four days the film opened.

Friday, May 13, 2005

MPAA goes after TV trackers

The MPAA struck again yesterday, this time announcing they plan to sue six bit torrent trackers which specialized in television content. However, overall availability of last night’s TV content was only slightly affected, with users being forced to find other outlets. The MPAA also touted a decrease in bit torrent network traffic since their December attacks on movie trackers, although most users actually report an increase in traffic since that time.

The file sharing community is reacting with outrage, pointing out that TV is fundamentally different from movies and music; many of the shows are already available to them via their paid television subscription or simple TV antenna.

Read more over at Slyck news.

Tuesday, April 19, 2005

phpABC 2.1

Soon after I released phpABC 2.0, I realized there was a much better way of handling the multi language support. A way that would only take a few minutes to implement and wouldn’t require any language files, which basically meant a lot of work I did for 2.0 was pointless. Oh well. At least the package size is smaller; those language files doubled the size of the release, to a whopping 50K! :D

Also in 2.1 I updated the templates so they display the field names in the language ABC is using.

Unpack into a new directory.

Download phpABC 2.1

Monday, April 18, 2005

phpABC 2.0 - Multilanguage support & more

Quite a few changes in this update. Most notable is the multilanguage support. phpABC will now work if ABC is using another language besides English. English, French, and Norwegian support is include by default; if your ABC uses another language, you’ll need to upload the .lang file you use for ABC via the form, and phpABC will convert it for quicker loading.

Also included in this update is the ability to upload .torrent files so they can be added to phpABC. This is useful for adding torrents from private trackers or any .torrent that ABC is unable to download directly.

There were also some small changes and bug fixes. Unpack rar in a new directory

Download phpABC 2.0

I’ve created an actual homepage for this project, as opposed to just blog entries. phpABC Homepage

Thursday, April 7, 2005

phpABC 1.5

Another day, another update. Fixed up the cookies support so it doesn’t save anything to the server. Using cookies should now be a viable option if you do not have permission to update local files with PHP.

Download phpABC 1.5

Tuesday, April 5, 2005

phpABC v1.41 - Cookie support

With v1.41 you can now save your config settings in a browser cookie and/or on the phpABC server. Saving your settings in a cookie increases security since it will only be possible to access phpABC from your browser.

phpABC 1.41
For users of phpABC 1.32 and lower. Unpack phpABC 1.41 into a new directory.

phpABC 1.41 upgrade
For users of phpABC 1.4 . Unpack in your existing phpABC folder.

Friday, April 1, 2005

phpABC 1.4: Set ABC’s preferences remotely

Version 1.4 of phpABC supports ABC 3.0’s new “SETPARAM” and “GETPARAM” commands and uses them to recreate the preferences screen in ABC. You’ll need to have Get Parameters and Set Parameters enabled in your ABC permissions to update your preferences remotely.

Other new features include the ability to set torrent priority and a streamlined installation process. Overall quite a few files changed so install into a fresh directory for best results, though you may be able to simply overwrite your existing files. Be sure to overwrite the config file as it’s changed slightly.

Download phpABC 1.4

Sunday, March 27, 2005

phpABC 1.32

Fixes some minor problems with IE and stylesheets.

phpABC 1.32
For users of phpABC 1.2 and lower. Unpack phpABC 1.32 into a new directory.

phpABC 1.32 upgrade
For users of phpABC 1.3 and up . Unpack in your existing phpABC folder.

Saturday, March 26, 2005

phpABC 1.31

This update adds the message field to the details screen.

phpABC 1.31phpABC 1.31
For users of phpABC 1.2 and lower. Unpack phpABC 1.31 into a new directory.

phpABC 1.31 upgrade
For users of phpABC 1.3 . Unpack in your existing phpABC 1.3 folder.

Thursday, March 24, 2005

phpABC 1.3 for ABC v3.0

A new version of ABC came out the other day, and it appears the web service got a few more information fields as well as the ability to stop torrents in addition to pausing them. There was also some renaming which broke existing versions of phpABC, so a new release has been created. It works with both PHP4 and 5. You’ll want to install it in a new folder.

Download phpABC 1.3

Update: This old version gets a lot more downloads than other outdated versions; I suspect it is because the blog entry has ABC 3.0 in the name. In case you have arrived here via search engine, phpABC is at version 2.1 as of October 2005 . Find out more at the phpABC homepage.

Friday, March 11, 2005

Death to Spam Bots!!!

Dude what the hell is wrong with these people? None of their posts get on my blog and most of the links they are promoting don’t even exist. Call off the bots!

Friday, February 18, 2005

phpABC 1.2 for php4

Download phpABC v1.2.php4 for php4 and up.

If you are running php5, it is recommended you use phpABC v1.2 instead of phpABC 1.2.php4

Validate XHTML | Word Press