A small heads-up, I’ve migrated the Minix editline project from Bazaar to GIT. The new URL for keeping tabs on your favourite free readline() clone is:
http://git.vmlinux.org/editline.git/
I’m currently working on fixing up the tree and doing some house cleaning — including making more stuff configurable — before releasing a 1.14.0 later on.
One such item is the integration of libtool with our autoconf friends. This should make it lot more portable (again) and also help smooth a merge with other sources for this library.
This is a document I intend to maintain for my own purposes. It serves as a quick reminder for the steps needed when creating and working with git repositories.
First setup a bare repository on the server.
$ git --bare init projectX.git Initialized empty Git repository in /pub/git/projectX.git/ Set one-liner description, visible in gitweb.
$ echo "Secret project, use ROT13 to decode source code" >projectX.git/description Set up a post-update hook so that the server repo is update automatically when you push to it.
Yes, it’s certainly possible and source code becomes so much easier to read. Try it out by:
downloading my .lessfilter save it as ~/.lessfilter in your $HOME Profit! Ahem …
Just try it out on a C source file :-)
less -R myfile.c
When you’ve installed Ubuntu 10.04 you might want to have the window controls back to the right side, where you’re used to having them. Use the following simple command:
gconftool-2 --set /apps/metacity/general/button_layout --type string "menu:minimize,maximize,close"
This is not only a reminder to myself, it is appraisal to the probably best programming font ever: Inconsolata. Thank you so much, Mr Raph Levien!
On the previous laptop I used ProFont quite extensively, but its screen was only 1280x800, on the new laptop I have 1680x1050 and ProFont just got too small for my aging eyes.
For more tips on fonts, see Top-10 Programming Fonts and KeithDevens.com.
Wow, this friday (June 12th) my daughter turned six! I can hardly believe it is six years since she came into our lives, time has gone by so quick … when she was born we still lived in Västerås, now she has a younger brother and we live in a great house in Skultuna.
Happy birthday, Oona! I wish you all the best now that you’re starting first year of school after the summer vacation.
For a while now I’ve been maintaining a port of the Minix editline library libedit. Mainly for my own purposes, or rather on behalf of Westermo WeOS, where it is used in the CLI. This library is the same as the Debian editline package, even though the origin of that package is somewhat unclear to me.
Today I decided to adjust the package name and bump the version number to indicate that my port is the same, and now slightly more advanced, than the Debian version.
This is mainly some notes for myself so I don’t forget. Having worked with GNU Bazaar before much of Git is still alien to me.
This HowTo is divided into two parts:
what happens on your laptop, and what you must do on a remote server where you publish your changes So, let’s start stimple:
laptop> mkdir projectX; cd projectX laptop> git init laptop> emacs file1.txt laptop> git add file1.txt laptop> git commit -m "Initial commit" Thus far no suprises, right?
I just published the unobfuscated version of the 1989 IOCCC Best Game entry, Tetris™. See the original author’s, John Tromp, home page for the game for details. But suffice it to say, this is an extremely bare bones version of the classic game and very similar to the BSD games’ version.
Actually, this similarity in board layout, key combinations and feel led me to do some archaeological digging. I dowloaded the classic BSD games collection and, after having called GNU Indent on the obfuscated code, I started noticing such extreme similarities that just could not be coincidental.