January 2011
1 post
1 tag
Thoughts on the new Macbook Air 13-inch (Late 2011...
Today, I bought the 13-inch Macbook Air with 2GB memory, 1.86 Core 2 Duo, and the 128 SSD. In Japan, on January 2nd, there are all kinds of special sales and I went to the Ginza Apple Store to pick up my new toy. I could have bought it on from the Apple web store and gotten 8400 yen off, but I also got an extra 5000 yen off at the Apple store. Unfortunately, I wanted to upgrade to 4GB memory, but...
December 2010
1 post
Macbook wishlist
I like the new Macbook Air, but it doesn’t quite meet my needs. I am looking forward to the next iteration of the Macbook/Macbook Pro.
Here is a list of hardware I would like in order of importance:
SSD standard, or the solid state stick like in the Air
A second hard drive for storage. The SSD would hold the OS and applications and the hard drive would be for video, music, documents, etc....
November 2010
11 posts
Awesome re-indent from Textmate
4.6.3 Re-indent Text
If you have code which has broken indent, you can select it and use Text → Indent Selection (without a selection it indents the current line).
The rules for estimating the indent are setup per-language using bundle preferences. For more details see theindentation rules section.
Deleting duplicate rows in mysql
http://forums.mysql.com/read.php?47,255365,257894#msg-257894
consider employee table(number,name,salary) to contain your data 1 ethan 900 1 ethan 900 2 sumakar 800 3 jay 800 4 jack 700 4 jack 700 4 jack 700 Follow the three steps below, Step 1: Move the non duplicates to a temporary table CREATE TABLE new_employee AS SELECT * FROM employee WHERE 1 GROUP BY number,name,salary; Step...
Snippet :: jQuery Syntax Highlighter →
Creating a secure Git repository
I have been using git for about a year. One of the differences between Git and Subversion is that Git does not require a server for you to use it because of its distributed nature. However, more times than not, you are working with a team of developers and you need to have access to a centralized server to push and pull from. The default method to setup git is through SSH.
Here is a short...
Kobe triple double!
Lakers v. Kings
fuckyeahlakers:
ESPN. 10 minutes.
Just a friendly reminder.
Wow, what a play by the bucks out of the timeout
That’s why Scott Skiles is one of the best coaches in the league.
git add -u to add deleted files to staging area →
Introducing the Ars Technica Reader for iPad →
The user interface is very simple HTML and CSS. This is great, because the Webkit team has implemented a ton of neat stuff like animations, transforms, transitions, advanced CSS3 rules like text and box shadows, gradients, and the canvas tag. They make it easier than ever to meet our designer’s exacting standards and to build fast, beautiful applications without resorting to weird tricks and...
[HowTo] Backup and Restore MySql Databases at... →
Very informative. Mentions ways to backup mysql databases using a mysqldump or by backing up the actual physical database file.
October 2010
5 posts
Vim: reload file using encoding
:e ++enc=<encoding>
How to use git+ssh with non-standard port
From: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
Non-standard SSH port
If you run SSH on a non-standard port on your server, don’t use the syntax “git@myserver.com:1234:/foo/bar”, it won’t work. Putting the port in the URL doesn’t seem to make gitosis, or git, (not sure which) happy. Instead, put this in your ~/.ssh/config...
Quix Bookmarklet →
Use the quix bookmarklet to speed up your web dev workflow and also some other shortcuts
tmux →
divide up your terminal screen easily with this.
brew install tmux