Apr 01
So you’re a designer or a developer and you daily need to deal with code and text snippets: that’s very likely to happen. From CSS to HTML, from Javascript to Ruby, you just can’t remember every piece of code everyday: you need a good solution to store and easily retrieve them. Snippet is a way for developers to quickly save and search their snippets of code to use later on future projects. Store all sorts of code and notes, and sync across multiple macs with MobileMe. Features: Easily create Snippets from selected text anywhere. Sync Snippet with MobileMe so you always have your ...(continue read)
tags: programming, snippet, text

Mar 25
The MacPorts Project provides software installation, updating, and removal functionality to OS X similar to Linux’ apt-get or yum. The Project is currently tracking more than 5000 packages including software such as subversion, wget, apache2, php5, etc. To install the software, first install Apple’s Xcode Developer Tools (available on your Mac OS X installation disc) and the X11 windowing environment (included by default in 10.6.* “Snow Leopard”, 10.5.* “Leopard”, but available on your Mac OS X installation discs for 10.4.* “Tiger” and 10.3.* “Panther”), then ...(continue read)
tags: Linux

Dec 22
The default vim is  pretty bland and unimpressive. I would share a few of the settings I have found or plundered from Linux installations in order to make vim more usable. This can go in your .vimrc or in a global location such as /usr/share/vim/vimrc. I would be interested in what other command line and vim users do to improve Snow Leopard. step 1. Add following code to /usr/share/vim/vimrc set nocompatible " Use Vim defaults set bs=2 " backspacing over everything in insert mode set ai " Auto indenting set history=100 " keep 100 lines of history set ruler " show the ...(continue read)
tags: syntax, vim

Nov 04
Advanced OS X users know that Darwin comes with ipfw, which can be used to set up a custom firewall. IPFW’s flexibility, very targeted bandwidth limiting rules can be made in only a few lines. This same service however can be used to also limit bandwidth on specific ports. The following ipfw rules will limit connections from Mac to ISP’s mail server to 100K per second only for outgoing smtp connections: sudo ipfw pipe 1 config bw 100Kbit/s sudo ipfw pipe 1 tcp from me to smtp.west.cox.net 25 Obviously, the rate can be tailored to anything you like, and the rule is specific enough not to ...(continue read)
tags: net

Oct 27
I could say -  I always write code that’s valid and “Apply Source Formatting” as Adobe Dreamweaver CS4 does it , but the truth is I’m a hack. I get things to work with spit and chewing gum, and my code is a sloppy mess. Tidy Service to the rescue! Tidy Service is a OS X Service that cleans up markup using the powerful HTML Tidy library originally created by  Dave Raggett. The version of HTML Tidy used in this build corresponds to the binary version released on February 11th, 2007. HOW DO INSTALL IT? Download Tidy Service Copy TidyService.service file to /Users/<your home ...(continue read)
tags: Development, HTML, Text Editor