Git push asks for username and password

If git push keeps asking you for user/pass, chances are that you did a git clone using HTTPS. Fix that by going to your repo page on github, then click on the SSH link below the clone URL field, then copy that URL over (something like git@github.your_username/your_repo_name.git). Then update your local git repo with something like the following command git remote set-url origin git@github.your_username/your_repo_name.git ref: http://stackoverflow.com/questions/6565357/git-push-requires-username-and-password

March 17, 2015 · 1 min · birdchan

Install MongoDB on OSX

If you are reading this, chances are that you need to deal with unstructured data. =) First, install mongodb using homebrew! brew install mongodb Now we need to set up a dir for mongodb to keep its data. For simplicity, we will just use its default db path /data/db. We will need to change the permission of that dir to your username and your group. Run ls -ld ~ to get that info. ...

March 17, 2015 · 3 min · birdchan

85C Bakery Cafe

There is a Grand Opening for 85°C Bakery Cafe on March 13-15, 2015, in Milpitas!!! It’s located at 672 Barber Ln, Milpitas CA, 95035. 408-432-8585 I love their Egg Tart! Mango Creme Brulee sounds good too! Marble Taro and Mochi Egg Tart!!! Let me just get one more Mango Creme Brulee! And don’t forget the Sea Salt Coffee!!! word search what? =)

March 12, 2015 · 1 min · birdchan

How to get AAA auto insurance coverage details online?

Does anyone know? I tried the instructions from this link, but I only see links to View your billing statement (PDF) View your proof of insurance (PDF) Setup / Manage automatic payment Make a payment There is no links to see the details of my auto insurance coverage details. I searched around but could not find anything useful. Besides calling them directly, is there a way to find out details about my policy coverage amount on bodily injury, medical payments, etc? Is it just me? Why is it so hard to look these up? ...

January 18, 2015 · 1 min · birdchan

Parking on a hill

This always confuses me. Where do you turn your wheels when parking uphill/downhill? The presence of the curb just gets more confusing. After some research, the key is simply this. Imagine your hand brake fails and your car rolls down, just make sure it rolls to the side but not into the road. Assuming your are parking on the right side of the road (in America), here is where to turn your wheels: ...

January 2, 2015 · 1 min · birdchan

Error establishing a database connection

For some reasons my blog has been getting this error every now and then. I knew it had something to do with my recent setup of a new server, even though I copied over all my old settings. After digging around in my ubuntu 14, I found that it was a lack-of-memory issue. My ubuntu 14 box is running the standard lamp stack: apache, mysql and php5, btw. So first you wanna see if you can simply restart your apache: ...

December 29, 2014 · 4 min · birdchan

PHP to Windows, OSX, and Linux

Check out PHP Nightrain 4.0.0. There is now a way to write native desktop applications using PHP. Sounds legit. =) [youtube &w=640&h=360] [youtube &w=640&h=360] ...

November 19, 2014 · 1 min · birdchan

Kenneth Cukier: Big data is better data

[youtube &w=640&h=360]

November 17, 2014 · 1 min · birdchan

Illusion

[youtube &w=640&h=360] [vimeo 111447495 w=640 h=360] Nautilus Magazine Exclusive - Kokichi Sugihara’s Folding Ladder from Nautilus on Vimeo.

November 13, 2014 · 1 min · birdchan

為什麼要讀書?

為什麼要讀書?如果你的孩子也問了這問題,這回答的很不錯,還有殺人的問題,推薦父母和老師們看看. [youtube &w=640&h=360]

October 18, 2014 · 1 min · birdchan