Category Archives: HowTo

Filebot rename format expression

I use this: {n.replaceFirst(/^(?i)(The|A)\s(.+)/, /$2, $1/).replace(‘:’,’ -’)} ({y} {certification} {imdb.rating} {genres}) It will replace all “:” with ” -” It will move “The” or “A” to the end of the title. It will add the year, certification, imdb rating and genre to the end. So this will result in: Before: The Movie: A great movie [...]

Posted in HowTo | Tagged , | Leave a comment

Temporary email address for sites that need registration

http://10minutemail.com This is best for sites or forums where it requires you to create an account but you only need to view one post and you’ll never login again. I also have a throwaway Gmail account for this single purpose.

Posted in HowTo | Tagged | Leave a comment

How to copy directory tree structure from one Sharepoint 2010 library to another

1. Map both source and destination links to drives and take note which is which. 2. robocopy x: y: /e /z /xf * /tee /log:robocopy.log This will also show the status of the copy and save a log file.

Posted in HowTo | Tagged , | Leave a comment

How to fight social networking addiction and permanently delete accounts online

I’ve written a couple of posts about deleting facebook and yahoo accounts before. So we are good there. The problem with these online accounts is that they still give you a  chance to come back (usually 14 days). So if you are itching to check on your facebook account after you have decided to delete [...]

Posted in HowTo | Tagged , , | 1 Comment

[Sharepoint 2010] Cascading drop-down menus via SPServices/jQuery

I’ve been using InfoPath to achieve this effect in Sharepoint lists but somehow I can’t wrap my head around the data connections and filters and all that. I always need to consult this Youtube video  (which is great btw). jQuery is nice because you can just paste the code within your NewForm.aspx inside the PlaceHolderMain tags and [...]

Also posted in Computer/IT | Tagged , , , | 8 Comments

[Perl] Find and replace strings in text file

Just a simple find/replace tutorial. This is applicable to sed too. perl -p -ibak -e "s/find text/replacement text/g" file.txt Where “find text” and “replacement text” are what they are. To replace your find string, just use parentheses: \n (in this case \1) means the group number of the find string you parenthesized (not a word?): [...]

Also posted in Unix One-Liners | Tagged , , | Leave a comment

Windows Explorer – Cannot rename/delete a folder because a file is in use error

I get this on occasion on my Windows XP at home, usually when I’m arranging my video collection. Googled and found out the problem is not solved in Windows 7. Most of the solutions advice to turn off thumbnail generation for videos and pictures, like this one, this one, and this one. In those threads [...]

Also posted in Computer/IT | Tagged | Leave a comment

Make :hover on other tags work for IE7

Most browsers will follow “:hover” on other tags other than the anchor <a tag but not for IE7. To make this work in IE7 you need to make a DOCTYPE strict declaration: <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”> Now td:hover, div:hover, etc will work.  

Posted in HowTo | Tagged , , , | Leave a comment

Portable WebDav Client for Windows

CarotDAV is nice and portable. Download it from the link below: http://rei.to/carotdav_en.html And configure as follows:   Username should be your email login for SafeSync. You can now upload and download things    

Also posted in Tech, work | Tagged , | 2 Comments

My new password solution

Two things slightly changed my previous password solution. One is the proliferation of good remote (I hate the term “in the cloud” for reasons unknown even to myself) storage. Second is my workplace actually blocking my favorite remote storage which is Dropbox. Online Storage In my post “Current free cloud storage offerings“, I listed the [...]

Also posted in Computer/IT, security | Tagged , , | 1 Comment