jQuery tricks 1: automatic-wslider

Posted by Ktoso under coding (3 Responds)

This time I’ll post some actual code. A client wanted me to write an “image slider”. You’ve probably seen lot’s of them online – and a whole lot of them is in flash – why? There is no need to involve flash in such a trivial task, and jQuery is more than up to the [...]

Tags: , , , , , , , , ,

FDM – Not Libre but still a better way of selling music

Posted by Ktoso under freedom (No Respond)

A week ago a friend of mine told me about an interesting idea by FDM (Fabryka Dźwięku z Muz – pl. ‘Factory of Sounds from Muses’ (it’s kinda hard to translate)). FDM is a small music label, supporting new and fresh artists (indie, could be a good word here I guess). As such, it’s not [...]

Tags: , , , ,

AWK and multiple lines from shell command

Posted by Ktoso under coding (No Respond)

Let’s say you want to read the ps output inside an AWK script, it’s not so simple since system returns an exit code and not the string you want – it’s being sent to stdout, here is a simple trick to read multiple lines from a shell command inside awk:
awk ‘BEGIN{while (“ps aux” | getline){ [...]

Tags: , , , , , , , ,

Beauty: Ólafur Arnalds – Ljósið

Posted by Ktoso under freedom, fun (No Respond)

Ólafur Arnalds – Ljósið (Official Music Video) from Erased Tapes on Vimeo.
Yet another amazing freedom using initiative. Let’s quote the homepage first:
In April 2009, Iceland’s neo-classical export Ólafur Arnalds created the 7-song series ‘Found Songs’ –
recording a song a day for 7 days and instantly making each track available via Twitter. With artwork contributions
from fans [...]

Tags: , , , , ,