Joined May 2011
·

Smotko

psywerx
·
Slovenia
·
·
·

You can also easily rename a file/directory by typing

mv {oldname,newname}
Posted to git clone github:user/repo over 1 year ago

I have at least 20 hosts defined in my .ssh/config but it never occurred to me to add github! Thanks for this.

Having to install Apache just to do some PHP development is one of the reasons I prefer Python. By the way, doesn't PHP 5.4 include a built in web server?

Posted to Keep a git fork up to date over 1 year ago

I usually don't bother updating my fork, I just create a new branch:

git fetch upstream && git checkout upstream/master -b new_featrue

and work from there.

Posted to Remove passphrase from private key over 1 year ago

I wouldn't recommend doing this. Instead use ssh-agent, it will store your password (or rather the decrypted key) in memory and you you'll only need to enter it on new sessions.

Posted to Simple static HTTP server with Python over 1 year ago

I found this really useful when developing a webgl app. gl.texImage2D throws a SECURITY_ERR if you loaded up index.html from file://.

Achievements
281 Karma
6,158 Total ProTip Views