here’s a simple nick notification system for xchat using ubuntu notification system. it will execute notify-osd comment when someone mention your nick in public channel or private message. it’s good for those who like to minimize their xchat while doing something :) on PRIVMSG mynick { if { [string match -nocase "*[me]*" $_rest] } [...]
this week i sharpen my ruby saw with an excessive about straddling checkerboard encryption. In cryptography, a straddling checkerboard is a device for converting an alphabetic plaintext into digits whilst simultaneously achieving fractionation (a simple form of information diffusion) and homophony (a simple method for suppressing peaks of the frequency distribution). It also is known [...]
this is one of programmingpraxis exercise. written it in ruby because i need to sharpen my ruby skill the question is quite easy actually. there’s a lot more exciting and challenging excessive at programmingpraxis.com i will try during my free time. this can be some kind of new hobby i think… def julian (year, month, [...]
there’s several ways we can generate a spiral number like this. 5×6 spiral 1 2 3 4 5 6 18 19 20 21 22 7 17 28 29 30 23 8 16 27 26 25 24 9 15 14 13 12 11 10 today i would like to show two ways of doing it first, [...]
today i’ve encountered a simple yet tricky programming problem which is print a numeric diamond like this. 1 7 2 13 8 3 19 14 9 4 25 20 15 10 5 31 26 21 16 11 6 32 27 22 17 12 33 28 23 18 34 29 24 35 30 36 at first [...]
2009 © i cant think. Powered by WordPress+DePo Skinny