Tag Archives: osx

Add Shell Script To Dock

Want to add a shell script to Dock? If you don’t need a Terminal window, you can make any executable file an Application just by moving example.sh to example.sh.app/Contents/MacOS/example.sh. You can place the Application in your dock like any other, and execute it with a click.

Posted in Tech Tips | Tagged , , , , | Leave a comment

Access Hidden Files with Quicksilver

Access Hidden Files with Quicksilver You may be wondering if Quicksilver Indexes Hidden Files – or if you can access them with Quick Silver. The short version is that if you use the alt / option key and the / key or hold alt / option and right arrow into a folder with quicksilver, it will show you the hidden files inside of it. This also works for special folders, like Applications (.app) Access QuickSilver. Start entering Mac and one of the top options is Macintosh HD Select Macintosh HD but before opening it up with the action ‘Open’, enter “Alt – /” . This will give you access to all the hidden files in that Folder. now you can use QuickSilver to access the host file, Macintosh HD/Private/etc/hosts By entering “?” you can move up a level if you get to the hosts file but want to access ‘etc’ folder to change the ‘read/write’ security settings of the host file. These are different ways to do the same, I suggest using QuickSilver to access the hidden file, ‘private/etc/hosts’ to access the host file and making the modifications you need manually. So, yes, Quicksilver Indexes Hidden Files, sort of. Thanks to Juan

Posted in Software, Tech Tips | Tagged , , | Leave a comment


In Snow Leopard the Play / Pause media button (on the F8 key) opens up iTunes. How can I disable that? Preferably keeping the old Leopard behaviour, so I can use it to control other media applications (e.g. Spotify). Some French mac user did a great job to make a patch for this bug. It patches rcd, which is updated every mac version (so keep the patch up to date with this topic [1]). You can download the file here: MMFix.dmg.zip

Posted in Software | Tagged , , , | 1 Comment

Textmate: Select Balanced HTML Tag

If you’re trying to select the balanced HTML tag or Enclosing Tag in Textmate there is an article here that talks about it. http://subtlegradient.com/articles/2007/11/15/select-balanced-html-tag.html Unfortunately the article does not give a link to download. Try this out instead:   https://github.com/subtleGradient/SelectStuff.tmbundle How to install your new textmate bundle? Basically just extract the file you download and then go into each of the folder and double click on the tmbundle files. http://manual.macromates.com/en/bundles Also check out the HTML5 bundle: https://github.com/subtleGradient/HTML5.tmbundle

Posted in Tech Tips, Web Development | Tagged , , , , | 1 Comment

What is fseventsd?

fseventsd Apple has many processes that run when using OS X. fseventsd is one of these. What does it do? Well, this is the “File system events daemon” – it is a system process that is responsible for handling changes to the file system. You can find fseventsd in the activity monitor and also via Terminal.app by typing ps aux: What does fseventsd do? fseventsd writes file system event log files, and basically is used to monitor file system changes. A lot of programs (like CodeKit) can tie in / connect with fseventsd so that they can do things like recompile files automatically when they change. Dropbox uses fseventsd in order to monitor files that change so it can upload them. What’s the kernel to do when 10,000 file system changes occur in two seconds (say, as part of some software installation) and the stupid, lazy userspace process that registered for file system notifications is now too preoccupied with other things and hasn’t pulled any notification events off its queue in the past three seconds? – arstechnica There is a directory in the root called /.fseventsd which acts as a staging or buffer area. You will also notice a process called fseventsd if you open the activity monitor as mentioned above. Is fseventsd bad? If you are thinking about killing the fseventsd process or deleting the fseventsd folders, I would advise against it. These are required files and processes – and doing so may harm your system or crash your … Continue reading

Posted in Mac | Tagged , | 1 Comment

Command + V (paste) not available in certain dialogs with Mac OS X

This is a question that I’m hoping one of you power users will answer: My Workflow When using some programs (like Firefox) if I pull up a file open dialog (Cmd+O) then I can press Cmd+Shift+G and get a “Go to the Folder” dialog. I can then use Cmd+V and paste in the path that I had previously copied to the clipboard. However,¬†sometimes¬†Cmd+V is not available. This happens a lot with Chrome and the File Select dialog.

Posted in Software, Tech Tips | Tagged , | Leave a comment

Remove All Icons From Dock

I don’t really use the dock that much, and so I get frustrated when I install programs and they add themselves automatically. I needed a way to remove all of the programs out of the dock (downloads, documents, etc will remain). This is what I came up with: run this applescript: quit application “Dock” use plist edit pro and edit this file: /Users/user/Library/Preferences/com.apple.dock.plist delete all entries under persistent-apps save run this applescript: activate application “Dock” if that doesn’t work, try running the above applescript again to quit, and then to restart.

Posted in Mac, Tech Tips | Tagged , , | Leave a comment

How To Enable Color in Terminal on Mac OS X for Root

This method will work for all users on your system, because you will be editing the system-wide profile and not a user-specific one. Step 1: Edit /etc/profile You will need to have root privileges to do this. You can open the file in TextEdit by going to File->Open and when the dialog pops up press Command-Shift-G to open the “Go to Location” dialog, then type in /etc/profile. Open the file called “profile” which should now be highlighted in your list of files. After opening that file, add the following two lines to the bottom: export CLICOLOR=1 export LSCOLORS=ExFxBxDxCxegedabagacad The colors can be configured as stated in the ls manual, which can be accessed in terminal via “ls man” Look for the section LSCOLORS. Here is what it says about the colors you can use to configure the display: LSCOLORS The value of this variable describes what color to use for which attribute when colors are enabled with CLICOLOR. This string is a concatenation of pairs of the format fb, where f is the foreground color and b is the background color. The color designators are as follows: a black b red c green d brown e blue f magenta g cyan h light grey A bold black, usually shows up as dark grey B bold red C bold green D bold brown, usually shows up as yellow E bold blue F bold magenta G bold cyan H bold light grey; looks like bright white x default foreground or background Note … Continue reading

Posted in Mac, Tech Tips | Tagged , , , | Leave a comment