Proof That God Does Exist - You Can Finally Block Those Insanely Annoying Facebook Quizzes For Good
Thursday, June 11th, 2009
WTF
I don't know about you, but I'm incredibly sick of Facebook quizzes. Yeah, shit like this which occupies 90% of my news feed:
And to make matters worse, Facebook provides no means to block these quizzes and rid your profile of them forever. The only thing you can do is block each individual quiz. But just like weeds in your backyard, when you block one, three more rise up in its place. I know I am not alone here - there are literally billions of people searching for a solution to the plague.
So, what does the tech community do when it is not happy?
- Runs to mommy, crying.
- Drinks heavily, passes out, and comes to work with a keyboard faceprint, dressed as Koolaid.
- Ignores the problem and lives with it (pussy).
- Takes the matters into its own hands and develops a solution.
The correct answers are:
Enter a true geek at heart by the name of Steeev with his Facebook Purity greasemonkey script that was created with the sole purpose of BLOCKING THE FUCKING QUIZZES. Go Steeve Steeev!
Solution
Installation is as easy as 1, 2, 3:
- Install Firefox (you already have that, right?)
- Install the Firefox greasemonkey extension
- Install the Facebook Purity script
That's it. Now go to your Facebook page (make sure you access it via www.facebook.com or www.new.facebook.com and not YOURUNIVERSITY.facebook.com (like ucdavis.facebook.com)).
Check it out - all quizzes are gone, the script even tells you how many quizzes were blocked:
Pure bliss. Rest quizless now, everyone.
Essential Firefox Extensions (Plugins, Add-Ons) And Tips – A Comprehensive Guide :: Part 1 :: Tips
Saturday, April 11th, 2009
Updated: June 10th, 2009
Introduction
In this article I’m going to discuss a number of useful Firefox extensions and tips. This list is not a “COMPLETE GUIDE TO FIREFOX!!!111!” but a collection of some, albeit many, extensions and techniques I find useful, with detailed descriptions and illustrations. I try to make my reviews as personal as possible and express my own points of view, so I will not be using any boring official descriptions altogether. Short, concise, and useful – that is my goal.
Right now I use 53 extensions in total. If you think that’s a lot, you might be right. However, because Firefox is so mature and new extensions come out every day, it is not as crazy of a number as it was 2 years ago. Firefox gets faster, I download more extensions, and the end result is I’m happier as a user because Firefox suddenly provides me with a lot more features at approximately the same running speed. I plan on continuing to increase this number.
Here’s a quick slightly obsolete screenshot of the extensions I’m using:
Firefox Tips
Before describing extensions, I wanted to mention a few tips about Firefox itself. If you are interested in extensions, proceed to part 2 right away, however I urge you to read these too.
Using the bookmarks bar and shortened names
You can fit a lot of quick bookmarks on the little bookmark bar if you shorten the names to 1 or 2 characters.
Using keywords for bookmarks
A little less known trick is to use the keywords property of your bookmarks. For example, here I assign a keyword ‘d’ to my digg.com bookmark. Then I can just go to the url bar, type in ‘d’, Enter and voila - digg starts loading.
Protecting and locking tabs
Protect a tab will prevent you from closing it.
I use this functionality on my most frequently visited sites – so frequently that I never want to close them. They include the iGoogle homepage, Google calendar, Remember The Milk TODO list, my Trac tickets at work, and a few other things.
These protected states are saved even if you close and open Firefox (but unfortunately, not if you use QuickRestart described in part 2). Protected windows are marked by a
symbol.
Locking a tab is similar, but instead of not being able to close it, you are not able to change the url. Any url change attempts will produce a new tab. I personally never use this feature but some may find it handy. Locked windows are marked by a
symbol.
Note that you need the Tab Mix Plus extension (described in part 2) for these tricks.
Restoring sessions
While Firefox 3 now has a built-in session restore feature, it’s not very robust. That is why I still use the Tab Mix Plus (described in part 2) session restore feature set. TMP’s session manager remembers protect and lock statuses, tab history, selected tab, and everything else about the session. I will describe TMP in more detail later.
Using keyboard shortcuts
In my experience, keyboard shortcuts are primarily used by power users, while the rest of the population uses a mouse. However, shortcuts are immensely effective time savers and, if you mouse a lot, will provide a relief for your wrist. Let’s take a look at a few easy and important ones.
Ctrl-L and TABs
Ctrl-L will put the focus on the url bar, no matter where you are on the page. It is equivalent to F6 in IE, except it’s actually robust. So, when I’m ready to type in the name of the site, my fingers are already on the keyboard. Ctrl-L doesn’t even require extra movements.
TAB (the key, not the Firefox tab) once after you’ve pressed Ctrl-L and you’re in the Firefox search bar (the one I set to imdb a bit later in the article). TAB twice and you’re in the Google toolbar, if you have it installed.
Ctrl-Enter and Shift-Enter
Ctrl-Enter is a tremendous time saver. It appends “.com” to whatever you have in the url bar and prepends “http://www.”. Type in “google”, press Ctrl-Enter, and voila, you’re at www.google.com. Similarly, Shift-Enter, appends “.net”.
Ctrl-T
Ctrl-T opens a new tab.
Ctrl-Shift-T
Ctrl-Shift-T opens the last closed tab(s), in the order they were closed.
Ctrl-Alt-T
Ctrl-Alt-T duplicates the current tab. Yet again, this is a feature of Tab Mix Plus (described in part 2). Oh how much I love you, TMP.
Ctrl-TAB, Ctrl-Shift-TAB
Ctrl-TAB is probably the most frequently used key combination. It cycles between tabs forward while Ctrl-Shift-TAB does it backwards.
Ctrl-W
Ctrl-W closes the current tab.
Space
Pressing space is a quick way to scroll down one page. It’s a lot of times more convenient than finding the small PgDn button, especially if you have fat fingers.
Setting the Firefox search bar to IMDB
Because I already use the Google Toolbar (one of the most useful toolbars out there) there is little point keeping Firefox’s default search box set to Google. I prefer IMDB (Internet Movie DataBase) myself but you can easily set it to another search engine.
End of Part 1
This marks the end of part 1 in the series. Proceed to part 2.
[Perl] Finding Files, The Fun And Elegant Way
Wednesday, April 8th, 2009
Updated: June 9th, 2009
No matter what programming language you use, there comes a time when you need to search for a file somewhere on the file system. Here, I want to talk about accomplishing this task in Perl. There are many ways of doing so, most of them boring, but I want to discuss the fun and elegant way - using File::Find::Rule.
Let me briefly discuss some of the other methods first.
Limited
Using glob() (or <>, TODO verify) you can find files in a single directory, using only the limited shell wildcard support. For example,
1 | my @files = glob("tmp*"); |
Boring
File::Find is the de facto standard for searching in Perl.
This method finds files that end in .pl in "." and "../SomeDir", following symlinks:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/usr/bin/perl -w
use File::Find;
use Data::Dumper;
use File::Basename;
my @directories_to_search = (".", "../SomeDir");
my @file_list = ();
find(
{ wanted =>
sub {
if ( basename($File::Find::name) =~ /\.pl$/i )
{
push @file_list, $File::Find::name;
}
},
follow => 1
},
@directories_to_search
);
print Dumper @file_list; |
It works fine, except it's horribly ugly and boring. Let's have a look at something more fun.
The Fun And Elegant Way
File::Find::Rule. Just have a look at this beauty.
Just like above, find all .pl files in "." and "../SomeDir", following symlinks:
1 2 | print Dumper (File::Find::Rule->name("*.pl")->file->extras({ follow => 1 })->
in(".", "../SomeDir")); |
Same as above, except bypass .svn directories (shaves off a ton of time with a lot of directories):
1 2 | print Dumper (File::Find::Rule->not(File::Find::Rule->directory->name('.svn')->
prune->discard)->name("*.pl")->file->extras({ follow => 1 })->in(".", "../SomeDir")); |
Find all .log files that are older than 24 hours in "."
1 2 3 | my $epoch_time_1_day_ago = time() - 60*60*24;
print Dumper (File::Find::Rule->file->name("*.log")->
mtime("<$epoch_time_1_day_ago")->in('.')); |
Be sure to read the File::Find::Rule perldoc for more options and remember: have fun with your code!
Thanks to Perlbuzz and Andy Lester for pointing me to this library a few months ago.
Twitter.com Autocomplete, Auto URL Expansion, Auto URL Shortener, RT Button, Nested Replies, Inline Media Embed, Search Tabs, And More
Tuesday, March 17th, 2009
Updated: April 10th, 2009
Recently I read an article on the Six Revisions blog that discussed 10 seemingly simple improvements to the twitter interface. They included such things as nick autocomplete, mentions, groups, and more.
You could only dream about such twitter improvements… that is until you use the Troys Twitter script. Just perform the following steps and you will have the features I describe in this article. Here we go:
- Install Firefox (you already have that, right?)
- Install the Firefox greasemonkey extension
- Install the Troys Twitter script
Once you are done with the above steps, head over to twitter.com (there’s no need to restart Firefox). You will then be able to enjoy the following enhancements, which I ordered here in terms of usefulness to me:
Autocomplete
Do you have a few friends with names so complicated, you can’t type them out by hand? Troys script autocompletes your friends’ names – just type @ and a few letters of their name. This is my favorite feature.
Before:
After:
Search Bar And Favorite Searches Saved
A search box is added to the sidebar. You can make a number of favorite searches, which then also remain sticky on the sidebar above the search box. When you click on a search term, the current page is updated without reloading the whole thing. Note that the favorite search terms are saved locally in your browser and won’t show up on your other computers.
Before:
After:
Auto Expander Of Shortened URLs
Automatically expands url shorteners, so instead of seeing a load of tinyurls and bit.lys, you see proper urls and their native page titles (neat!).
Before:
After:
Auto URL Shortener
Updated: The URL shortener auto shortens urls as you type them but only if they will overflow the 140 character limit, otherwise they stay as they are (it now works flawlessly).
Before:
After:
Auto Pagination
As you reach the bottom of the page, more earlier updates are automatically loaded after a few seconds. This means you don’t need to click or leave the page in order to see earlier updates. It could get a bit annoying, so I requested an ability to turn off certain script features. Update: you can now turn off every feature of the script individually.
Auto Media Embed Expander
Pictures and videos are automatically embedded.
Before:
(Uhmm, I don’t know why I highlighted “sack” but I don’t feel like retaking the screenshot… Yeah…)
After:
Retweet (RT) Button
Adds the missing RT button to each update.
Before:
After:
Autopopulate Bios on User Listings
Updated: This function will save you hundreds of clicks – when viewing someone's followers, rather than just seeing their names, the script adds their bios.
Before:
After:
Hyperlinked Hash Tags
Hash tags are now hyperlinked to the twitter search page. Seriously, twitter can’t do that by default?
Before:
After:
User’s Local Time
The script adds a user’s local time. See the example below using the profile of a lovely Kamikazekitty. This feature seems unpublished and I found it by accident.
Before:
After:
Nested Replies
This is a great feature – it gives context to @ replies. For example, @ev’s reply to kevin is boring and out of context until you see what they’re talking about, all without looking up @kevin’s updates.
Before:
After:
Mutual Friends Marked
Updated: This is a new feature. People who you follow and who also follow you back (mutual friendship) are marked with a little smiley face.
Before:
After:
Auto @fxxxmylife Expansion
Updated: Woot! Following the infamous @fxxxmylife is no longer annoying: all posts get auto-expanded. Brilliant. For those who don't know, FML is a site collecting short stories that all start with "Today," and end with "FML". Here are the top FMLs to get you started [hooked].
Before:
That’s it for now in the current script version (6.5) but what a world of difference, isn’t it? Tweet this post if you like it and let your friends know about this great twitter web tool.
Have You Pre-Ordered Starcraft 2 Yet? No? Here’s What You Need To Know
Sunday, March 8th, 2009
Updated: March 10th, 2009
I could not be more excited about the upcoming Starcraft 2. Announced in 2008, a whopping 10 years after the first Starcraft release, the news sent shockwaves through millions of Starcraft fans, myself included.
I’ve been watching and anxiously awaiting the release and, while the final release date is unknown at this point (I'll update the post when it is announced), I’ve assembled a list of current Starcraft 2 facts, summarized as bullet points.
But before I get into that, here’s the most important part you need to know to be able to get your hands on the game right after it’s released and play online ($49):
- There will be 3 separate Starcraft 2 games (take a guess why 3 and not 5 or 2).
- You will be able to play as any race online via battle.net using any of the 3 games in the trilogy. Good, I was wondering about that. Now that I think about it, being able to play only as Terran for months would be kind of weird.
- The 1st game will center around Terrans and will contain a Terran campaign. It will be called Wings Of Liberty.
- The 2nd game will center around the Zerg race. It will be called Heart Of The Swarm.
- The 3rd and final game will center around the Protoss race. It will be called Legacy Of The Void.
- (Those are some f***ing well named games. The best thing I could come up with was “Starcraft 2: The End Of Korean Economy”)
- Each campaign will have 26-30 missions, rather than 8-10. This is done with the sole purpose of getting me fired for not coming to work for 3 weeks.
- Again, the final release date is unknown at this point but there are rumors of an upcoming beta. You have to be a God level human to get your hands on it, so I don’t qualify [yet].
- Some units are new, some are removed, and most of the others have modified abilities and stats.
- Development of SC 2 was announced on May 19, 2007 under the codename Medusa but was originally started in 2003.
- There are plans to include VOIP (in-game voice chat) into the game. Oh noes, did we not figure out how bad of an idea it is yet? Ever tried playing Counterstrike without turning off voice for 2 minutes? I dare you.
So, who else is psyched?
While we are all forced to twiddle our thumbs waiting for the release, the least I can do is provide these carefully picked HD videos to ease your misery:
[HD] StarCraft II Terrans: Wings of Liberty PC Games Gameplay - Battle Report #1 - Terran vs. Protoss
Get the Flash Player to see this player.
[HD] StarCraft 2 Gameplay - BlizzCon 2008
[HD] The Now Classic Huge Gameplay Demo From 2007
Get the Flash Player to see this player.

(No Ratings Yet)


beer planet is Artem Russakovskii's blog. Artem is a software engineer at