Join ALL the social networks!

By , 2011-10-29 16:34

It’s true, it’s very hard to figure out what to post on which social network. Between Google+, tumblr, twitter, Facebook, WordPress, posterous and the rest… There are so many places to “share” and yet none of them really is the be all, end all network, and I doubt they ever will be.

The consensus in my group of friends seems to be Facebook, but FB doesn’t really lend itself to long-winded posts or all the random thoughts, images and other media that I collect and want to sort of scrapbook for future reference.

Meanwhile, I’m just going to go ahead and cross-post this to Facebook, G+, my blog, tumblr….

http://mayip.tumblr.com/post/12086328596/its-true-its-very-hard-to-figure-out-what-to

Letter to Apple re: Multi-monitor support in Lion

By , 2011-10-29 11:05

I would like to report that the multi-monitor support is very broken in Lion, specifically with full-screen apps.

Full-screen apps are great, it’s nice to have an immersive view of content, however the user needs to be able to choose which display the full-screen app appears on.

On my MacBook Pro, I like to keep the built-in display as primary, but sometimes would like to have Quicktime or iPhoto full screen on the external display. In Snow Leopard, this was possible, however in Lion there is no way to make apps full screen on the external display.

Another problem is that making any one app full screen makes all other connected displays useless. My Mac Pro has 3 displays connected. Lion makes it impossible to say, watch a video in Quicktime full-screen on one monitor while simultaneously checking mail or browsing the Web on another. I’ll admit, there is a solution to this problem: not using any Apple apps. VLC is able to go full screen on one monitor with Firefox full screen on another and leaving my other display available for use.

Apple, please fix this, or this Mac Pro will be my last, and it will be running Snow Leopard for the rest of its lifetime.

If you agree, please submit feedback to Apple at http://www.apple.com/feedback/macosx.html

Quick bash script to restore all OpenVZ dumps

By , 2011-10-05 22:57

This script will read the container ID from the file name, and use it to restore the tgz dump to the same ID on the new OpenVZ/Proxmox server.

Note that this only works if the default name for the vzdumps is kept, and it only works for the next 89 years, because I’m lazy.

Thanks to
http://www.cyberciti.biz/faq/bash-loop-over-file/ and http://bashcurescancer.com/10-steps-to-beautiful-shell-scripts.html

#!/bin/bash
VZDUMPS=/path/to/backups/*.tgz
for f in $VZDUMPS
 
do
        f2=${f#*openvz-}
        VEID=${f2%-20*}
        echo "Restoring $f to $VEID"
        vzrestore $f $VEID
done

Add Google search provider to IE or Firefox

By , 2011-10-02 15:08

Use this link to add the default Google search provider to IE or Firefox. Useful for IE, or Firefox on Linux Mint.
For Firefox:Google.xml

For IE: MS-Google.xml

Custom theme by me. Based on Panorama by Themocracy