(h/t ghacks.net)
Archives For technology
I use Google Reader…a lot. It’s really where I read most things on the web.
I share articles I find interesting. My shared items get automatically get sucked into Facebook and into Twitter (via Twitterfeed). I star content to revisit at some point. I e-mail things I think people might find helpful.
Regarding e-mailed items, it’s annoying that those e-mailed items don’t get filed under your Gmail sent-items. There is a remedy, however. Google has several special URLs for accessing all sorts of interactions that you’ve made. Here’s the or viewing posts that you’ve e-mailed:
http://www.google.com/reader/view/user/-/state/com.google/tracking-emailed
You can find the entire list here.
Here’s my shared item feed, if you’d like to subscribe.

Find one of many strings in a set of files
grep -E "str1|str2|str" file*.*
Search through files with multiple file extensions
grep -r --include=\*.{html,php,htm} str /path/to/directory/to/grep
Search through files with multiple extensions with one find command
find -name "*.jsp" -o -name "*.java" | xargs grep -i "whee"
Search through files with multiple extensions with one find command, regex method
find -regex ".*\(\.jsp\|\.php\|\.html\|\.htm\).*" | xargs grep -i "whee"
Replace newlines with HTML breaks in a file
sed ':a;N;$!ba;s/\n/\/g' file.txt
Rename multiple files
for f in *.txt; do mv "$f" "${f%.txt}.bak"; done
Directory sizes here and below
du -sm $(find $1 -type d -maxdepth 1 -xdev) | sort -g
Find files containing between 600 to 700 characters, inclusive.
find . -size +599c -and -size -701c
Update a file’s timestamp, but do not create files
touch -c file*.txt
PowerPoint (PPT) often gets a bad rap when it comes to video.
Here’s a little tutorial on how to convert a video so it will play embedded in a PPT presentation.

1. First and foremost, PPT will only play video that mplay32.exe (Windows Media Player 5) will play. If you want to test a video to see if it will work in PPT, click Start -> Run -> mplay32.exe. Open your video and click the play button. If you get an error, then it won’t work in PPT. Here’s a good site with more information about video in PPT.

2. So you have a video that won’t play in mplay32.exe. You need to convert it. Enter the Open Source MediaCoder. You can download it here.

3. Install and fire up MediaCoder. Click the Add button. Click Add File, browse to the video file and click Open.

4. Click Video tab on the left side of the bottom pane.

5. In the Mode drop-down box, choose “Bitrate-based”. Change the bitrate to 1500.

6. Set the Format and Container both to MPEG1

7. Click the Start button. Wait until it finishes.

8. Open it in mplay32.exe and click the Play button. If it plays, it’ll work in PPT.

9. Start PPT and insert the video by clicking Insert -> Movies and Sounds -> Movie from File.

10. Click the Automatically button so it plays when you visit the slide. Resize the video box as needed. If the video is in 16×9 format, you may need to set the background to black. Start your presentation. Voilà.

My man Irfan is still kicking image butt.
You can download the new version of Irfanview here.
Version 4.23 (Release date: 2008-12-29)
- Added History list for Random slideshow (“No file repeat” removed)
- New multipage images menu: Create Multipage PDF
- Option to save changes on exit (Properties->Misc 1, default: OFF)
- TIF loading bugs fixed (Thanks to j00ru//vx)
- New command line option: /filelist=txtfile; Examples:
i_view32.exe /filelist=c:\mypics.txt
i_view32.exe /filelist=c:\mypics.txt /thumbs
i_view32.exe /filelist=c:\mypics.txt /convert=d:\*.jpg
=> use files from mypics.txt as input for different operations
- New Contact Sheet options: Set custom paper size and units
- Options to set start parameters for external editors (see Help file/button)
- External editor names are showed in the menu text
- New Panorama dialog option: Add space between images
- Browsing: if CTRL + number (0-9) pressed, the file index increases by number
- New wallpaper menu: Stretched – proportional
- New Slideshow dialog option: Remember last file index on exit
- New option to show DDS alpha color (Properties->Misc. 1)
- Support for WSQ format (Wavelet Scaler Quantization, PlugIn by Steven Venable)
- New Thumbnail option: Use full file path for sorting (if subfolders loaded)
- New thumbnails tree menu: Load subfolders
- New hotkeys: SHIFT + arrows = Move selection rectangle
- New hotkeys: SHIFT + N = Create new image; SHIFT + V = Add canvas;
CTRL + SHIFT + Y = Auto crop borders; CTRL + SHIFT + J = Lossless JPG crop;
SHIFT + O = Fit window to image; F11 = show/hide mouse in Fullscreen/Slideshow
- Several PlugIns are changed/updated, please install the newest versions:
Download from: http://www.irfanview.com/plugins.htm (plugins version is 4.22)
- Some bugs fixed (SGI loading, crop selection)
- Two small 4.22 bugs fixed: Next toolbar button, PDF saving

Yeah, well that was fun while it lasted. I’m back to using Google Desktop.
What I liked about the indexing flexibility of Locate32 is now out the window. The path to get to what I need to get to is just not easy enough. I’m used to using Launchy. I can’t start Locate32 with Launchy and search for a Word Document that contains the phrase “whee” without clicking.
I also thought Xobni might be nice for searching Outlook e-mail. It’s fine, but it’s, I don’t know….too much. The contact analytics is cool, but I don’t need it. I know who I e-mail the most, etc.









![[wvpv]](http://sprignaturemoves.com/blog/wp-content/uploads/2012/02/mug_cartoon5_300x300_blog.jpg)




![what others do with talent, I do with obstinate fixation [what others do with talent, I do with obstinate fixation]](http://sprignaturemoves.com/blog/wp-content/uploads/2011/05/sm-subtitle1.png)