CLI commands that let you access meta data of all files in OSX

Apple, CLI, Lion, Mountain Lion, OSX, osx Server, spotlight, Tip, Tricks
Two small commands with huge possibilities: mdls¬† usage: mdls [-name attr] [-raw [-nullMarker markerString]] [-plist file] pathlist the values of one or all the attributes of the specified file -raw: don't print attribute names before values -nullMarker: substitute this string for null attributes in raw mode -plist: output attributes in XML format to file. Use - to write to stdout option -plist is incompatible with options -raw, -nullMarker, and -nameexample: mdls ~/Pictures/Birthday.jpgexample: mdls -name Keyword ~/Pictures/Birthday.jpg mdfind Usage: mdfind [-live] [-count] [-onlyin directory] [-name fileName | -s smartFolderName | query] list the files matching the query query can be an expression or a sequence of words -live Query should stay active -count Query only reports matching items count -onlyin <dir> Search only within given directory -name <name> Search on file…
Read More

Screen resolution fix for Ubuntu 10.10 running in Parallels Desktop 6.0

Linux, Parallels Desktop, Tricks, Tutorial, Ubuntu
If you try to install Ubuntu 10.10 under parallels desktop 6.0 on OSX -- atleast as of the writing of this article -- you'll soon discover that although your entire installation is done in a high (eg: 1920x1080) resolution, as soon as the install is done and you reboot, your VM is stuck at 1024x768. You can install the parallel tools using the menu option and it still won't help -- although it helps with 3D (ie: compiz). Under Gnomes System/Preferences/Monitors the highest resolution available is 1024x768 :-(. After searching around the net for the past week or so and trying just about every remedy -- which did not work -- I was about to give up, then I found the magic command that "makes it go" :-). I've now…
Read More

How to install Office 2010 on Windows XP x64-bit edition

Microsoft, Tip, Tricks, Windows
Let me guess.....you tried it and it failed. Well, there is a way (probably not sanctioned by MS) to get this done. I've installed it on two separate machines and verified that it works. First you need to download MSXML 6 from Microsofts website. Just go to microsoft.com and search for MSXML. There should be a link to MSXML6.0 download. Download the 64-bit version of the software and install it. Then force a windows update by choosing windows update from the start menu. You will notice a bunch of updates for MSXML. Let it update the files and reboot after that's done. Now you need to get the x86 version of office 2010 off the cd and copy it onto your computer somewhere (I just dragged the folder onto my…
Read More

System Explorer….The last PC monitor/process manager you’ll ever need

free, Tricks, Windows
Yes, we all know Windows task manager sucks. So I set out to find a decent replacement and that's when I came across System Explorer. It's FREE and it rocks. Here are the major features:Detailed informations about Tasks, Processes, Modules, Startups, IE Addons, Uninstallers, Windows, Services, Drivers, Connections and Opened Files.Easy check of suspicious files via VirusTotal or Jotti service.Easy search details about file/process via online databases.Security Extension for automatic check of processes,modules and selected files."New Task..." dialog with integrated AutoSearch and AutoCompletion.Action History for monitoring processes activities.Performance graphs for monitoring usage of system resources in time.System Snapshots for easy finding of system changes.System Report builds rich text report containing major informations about your System.Multilanguage and Plugins Support.Can be used as Task Manager replacement.It's the best one I've come across…
Read More

FastCopy…..Lightning Fast….

free, Technology, Tricks, Windows
Just came across this program in my desperate search for a faster copying program. I recently purchased a "small" 4TB NAS from QNAP and I've been busily filling it up with my FLAC collection lately. The trouble with this is that it takes windows far too long to even start the copying process -- let alone the actual file copy. Well that's were FastCopy comes in handy, by bypassing MFC and only using Win32 API FastCopy is truly fast, even to a network device like QNAP. I'm now getting around 7.8-8.2 MB/s compared to 5-6 MB/s before FastCopy (this is on a 100 Mb/s connection). Don't believe me, try it , it's Free.
Read More

SSH Tunneling to mysql server using Putty

mysql, ssh, Tricks, Tutorial
 I've had this question a couple of times in the past few months (since I posted the command line version of this method here ). To make it short and sweet, yes you can use Putty in a windows environment to setup ssh tunnels. Here is the specific scenario with pics for setting up a tunnel to your mysql server (assuming mysql server is running on a machine that you have ssh access to) using putty. This allows you to run mysql-gui-tools under windows and connect thru ssh to your server, without having to open the server to accept connections from the network.Download Putty full install package Run putty and your'll see the following screen. Fill in the hostname of the DB server and choose SSH as protocol.Go down to SSH and Tunnels options.…
Read More

Speed up Mac OS X Mail application…..

Apple, CLI, Macintosh, OSX, Tricks
Does your OSX Mail app crawl when you start it. Well here is a quick tip to speed things up again. Just issue this command from a terminal window (make sure you're not running Mail app first).sqlite3 ~/Library/Mail/Envelope\ Index vacuum;You should notice a bit of a performance improvement the next time you start the Mail application. This only works for the OSX mail.app, not other mail applications.
Read More

Startup Delayer will help you speed up Windows XP/Vista boot time…

Microsoft, Tricks, Windows
Yep, as weird as that sounds, by cascading your startup items load time (ie: most of the stuff that gets loaded into your system tray) you can actually speed up windows boot times. When Windows loads it's Startup file, it attempts to load every program in there at the same time. Therefore if you have quite a lot of programs starting when Windows starts, each program will try and grab CPU time so that it can load and that makes windows Craaawwwwllllll. Startup Delayer allows you to setup how many seconds after Windows has started, to load each program. This little freebee -- for example -- allows you to load that really really important (yeahright) "iTunesHelper.exe" program later in the boot process. Let's face it half the crap that gets…
Read More

Remote OSX server install via Apple Remote Desktop or VNC….

Linux, osx Server, Tricks, Windows
Came across this issue a few weeks ago and never got around to posting it until today. Yes, you can avoid using the Server Assistant program and go straight to ARD to install your server. For this to work your server and remote desktop machines need to be on the same subnet. You boot the server using the 10.5 CD/DVD and note it's serial number. Now you need to find out the IP address of the server and connect to it from your remote desktop machine. For this, you can run ARD and scan the subnet and find your new server. Once you've found it connect to it and login using the first eight characters of the machines serial number and leave the username blank. This even works from Windows/Linux…
Read More