Saturday, October 27, 2012

Things to do on a new Ubuntu Box

This is a "note to self" list:

1) apt-get install joe
joe is the best linux editor ever

2) joe ~/.bash_aliases

alias rm='rm -i'
alias mv='mv -i'
alias cp='cp -i'

[work in progress]

Dear Ubuntu,

I'm an experienced linux sysadmin.

I used a bunch of linux distributions all over the years, and I just got my first Ubuntu box to admin.

I just notice that there isn't by default an alias rm = rm -i.

I don't love you anymore.

Artur





Tuesday, July 10, 2012

Using lkJSON - an example with Google Drive data

lkJSON is free (BSD license) JSon parser for Delphi. It works great with Delphi 7.

lkJSON Source: http://sourceforge.net/projects/lkjson/

When you are looking for a JSon parser, you look for someting that you can use in the next minute. There is no documentation for lkJSON, just a few examples included with the sources. I hope this quick and dirty example can save you some time.

A Google Drive API returns you something like this:



And here is some Delphi code:



stay free.