Mutwual, A Twitter Bookmarklet To Quickly Check If Someone Follows You

Often when viewing a Twitter profile, the same comment pops into my mind: "Does this person follow me?". That's a basic information Twitter profiles still fail to clearly show. There's a neat site you may know already, doesfollow.com, which lets you know if user1 follows user2 in a very simple way: check http://doesfollow.com/user1/user2 (example). Simple, but this lacks automation and…

Famfamfam Icon Explorer: Search, Sort, Find

When updating my WordPress plugin Admin Drop Down Menu with all these cute icons from famfamfam, I felt a bit overwhelmed by them. I knew there were a lot of icons, I just never realized there were so many! Digging through 1000 icons for something that would match "Permalink options" is not that fast. After spending 15 minutes looking at…

Javascript basename() and dirname()

For my next stuff I needed the Javascript equivalents of PHP functions basename() and dirname(). Nothing genius: < View plain text > javascript function basename(path) {     return path.replace(/\\/g,'/').replace( /.*\//, " ); }   function dirname(path) {     return path.replace(/\\/g,'/').replace(/\/[^\/]*$/, ");; } It obviously supports paths like /home/ozh/stuff.php, http://site.com/file.ext or double backslashed Win32 paths such as C:\\dir\\document.txt. Edit:…

How To: Load Javascript With Your WordPress Plugin

Adding javascript into an admin page is a critical part of plugin coding. Critical, because it is both trivial and probably reason #1 why it will conflict with other plugins if not done properly. When their plugin needs javascript, Good Plugin Coders™ have to make sure of the following points: add javascript only once: if you need prototype.js, don't add…

Original Flickr Page Bookmarklet

Sometimes, you stumble upon a cool Flickr photo and only know its static URL (something like 14488551_4945c8ea17_b.jpg). You'd like to go to the photo Flickr page (ie this), to know more about the author, and discover other pictures of the same kind? Bookmark this bookmarklet: Flickr Photo Page Quick explanation: Flickr image filenames in static URLs are like this: photoId_someHash_size.jpg.…

The Lightbox Clones Matrix: Compare 30+ Lightbox Scripts

Early 2006, a cool guy named Lokesh Dhakar introduced Lightbox, a unobtrusive script used to display large images using modal dialogs over a black faded background. A great script, really. Since, every once in a while, someone comes up with their own take at this concept, using this or that javascript library (jQuery, Prototype, Mootools, YUI, you name it) and…

Pretty Comments is a tiny (1kb) jQuery plugin that makes textareas grow as content goes in. This should make a pretty cool addition to any jQuerified comment form. I think I'll add this here to my own theme when I have some time to do some coding in order to get rid of Prototype.

#