Archive for September, 2009

Netbeans LookAndFeel

Posted by Ktoso under null (No Respond)

As I’m using a very slim and dark theme on my dekstop, some apps tend to behave quite weird sometimes, one of this apps is my favorite IDE – netbeans. I thought I’d post how to use this IDE with any LookAndFeel you want to use – in my case “Metal” – the default “Java [...]

Blender – 04 – Simple Present

Posted by Ktoso under coding, fun (No Respond)

With this simple box i’ve learned a little about the “wave” property in blender. This, a little subsurv and smooth subdivision can actually be quite OK for creating a simple ribbon like the one below:The final render looked like this:

Tags: , , , , , , ,

Blender – 03 – Wine/bottle/glass

Posted by Ktoso under freedom, fun (No Respond)

My first blender animation: The wine doesn’t look nor feel nor even behave like normal wine but it’s just my first animation so there’s still time left for me to improve… ;-)

Tags: , , , , ,

Vim Hacking – 1 – vis

Posted by Ktoso under coding, terminal heroes (No Respond)

Vim is a really amazing text editor (though I’d like to learn Emacs too soon… :-)) and it can be easily expanded to be even more useful. One super cool extension I found is: vis — it allows powerful sed-like line modification (you could use sed from inside vim, but that’s not really “handy”). Vis [...]

Tags: , , , , , , ,

Terminal Heroes – 6 – Track X events

Posted by Ktoso under coding, fun, terminal heroes (No Respond)

Another Command Line Fu oneliner I’ve sumbited today: #show X window events in chosen window $ xev -id `xwininfo | grep 'Window id' | awk '{print $4}'` EnterNotify event, serial 13, synthetic NO, window 0×6400053,     root 0x13c, subw 0x640005b, time 42431610, (367,0), root:(369,63),     mode NotifyNormal, detail NotifyVirtual, same_screen YES,     [...]

Tags: , , , , , , , , ,

Terminal Heroes – 5 – List internet active apps

Posted by Ktoso under coding, fun, terminal heroes (No Respond)

A simple yet usefull command-line-fu I made up: #list all internet active apps $ netstat -lantp | grep -i establ | awk -F/ '{print $2}' | sort | uniq   firefox java pidgin thunderbird-b Lookup this command at CommandLineFu Thanks to HarimaKenji for fixing a little issue with this command. —update— CommandLineFu user submited a [...]

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 [...]

Tags: , , , , ,

yum: TypeError: rpmdb open failed

Posted by Ktoso under coding (5 Responds)

I recently had this following fatal error on an CentOS VPS server: Loaded plugins: fastestmirror error: no dbpath has been set error: cannot open Packages database in /%{_dbpath} Traceback (most recent call last): File “/usr/bin/yum”, line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File “/usr/share/yum-cli/yummain.py”, line 229, in user_main errcode = main(args) File “/usr/share/yum-cli/yummain.py”, line 84, in [...]

Tags: , , , , , , ,

Blender – 02 – Simple plain with sky

Posted by Ktoso under coding, freedom (No Respond)

And once again I’m having fun with blender… ;-) In this semester at my University we’ll have to do some simple 3D stuff in XSI. As I don’t want to “learn” a proprietary program I won’t have access to in my future I’m learning to use blender :-) It’s such an amazing tool, and the [...]

Tags: , , , , , , ,

TOP5: Funny code comments

Posted by Ktoso under null (No Respond)

Some of you may know some of those as they seem to be a little (in)fameous in the codding world, yet here is my TOP5 of funny coding comments: Found on google code: //here there be dragons [source] Found on google code: //I am drunk and coding like I am the greatest coder of all [...]