Ivan E.'s Cranky Blog

It's good to feel immortal like your last name is McCloud

Archive for the 'Programming' Category

To export a git branch

git archive master | tar -x -C /somewhere/else Post Footer automatically generated by Add Post Footer Plugin for wordpress.

5 July 2011 at 09:10 - Comments

Git Reference

Git Reference PS Learning new things is always fun. Post Footer automatically generated by Add Post Footer Plugin for wordpress.

27 June 2011 at 12:10 - Comments

List All Folders in a Folder

for directory in *; do if [ -d $directory ]; then echo $directory; fi; done Post Footer automatically generated by Add Post Footer Plugin for wordpress.

25 May 2011 at 11:05 - Comments

One more to go!

C’mon! I need to do this! Python 2.6 (trunk:66714:66715M, Oct  1 2008, 18:36:04) [GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import numpy, scipy, mahotas, pyslic Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "build/bdist.macosx-10.6-universal/egg/pyslic/__init__.py", line 1, in [...]

23 January 2011 at 06:47 - Comments

Python on Mac

So pyslic has a dependency on scipy which only supports Python 2.6. So I downloaded python 2.6 and installed using a pkg. I did the same for numpy and scipy. Everythings works fine. Now I need to run python2.6 rather than python which is 2.7. Again it is fine. My main issue is that mahotas [...]

23 January 2011 at 06:34 - Comments

PostGreSQL Cheat Sheet

List of Databases (\l) List of Roles (\du) List of Tables (\dt) Post Footer automatically generated by Add Post Footer Plugin for wordpress.

18 October 2010 at 22:26 - Comments

PostgreSQL: Documentation: Manuals: PostgreSQL 7.4: createdb

PostgreSQL: Documentation: Manuals: PostgreSQL 7.4: createdb Post Footer automatically generated by Add Post Footer Plugin for wordpress.

18 October 2010 at 00:58 - Comments

Python Package Index : mahotas 0.5.2

easy_install mahotas Python Package Index : mahotas 0.5.2 PS Image processing Post Footer automatically generated by Add Post Footer Plugin for wordpress.

15 October 2010 at 01:52 - Comments

Python Package Index : virtualenv 1.5.1

easy_install virtualenv Python Package Index : virtualenv 1.5.1 Post Footer automatically generated by Add Post Footer Plugin for wordpress.

15 October 2010 at 00:42 - Comments