Installing Sabayon Linux (gentoo flavor).

Finally I got Sabayon Linux working on my Asus EeeTop PC ET2002T.

Thing was,  I upgraded the windows version to windows 7 ultimate and enabled Dynamic Disks.

More about those here:

Anyway, no partition editor was able to change this back  (like gparted, fdisk, partition magic etc etc). So I was rather frustrated about this because I wanted multiboot but I didnt want to destroy my windows (and all work stuff on it).

Called a  friend of mine who is more into these kinda things and (after a backup!!!)  he used Partition Wizzard on my machine and converted the dynamic disk back to basic. After making room on my HD for the linux partition I fired up the Sabayon LiveCD and installed it without any problems next to my Windows & Ultimate.

Still need to do some more things like getting touchscreen to work  and stuff.. But its cool. Sabayon is based on Gentoo so I expect things to go smooth.

Related links:

Sabayon Linux Five Oh!.

pisg (an IRC channel statics generator)

I wanted to create statistics for an IRC channel I am in.

Here is how i did it for Blinkeshell:

Here some more info:

Usage: pisg [-ch channel] [-l logfile] [-o outputfile] [-ma maintainer]
[-f format] [-ne network] [-d logdir] [-mo moduledir] [-s] [-v] [-h]
-ch –channel=xxx      : Set channel name
-cc –cchannels=xxx    : Only do this channel from cfg file, give multiple
times to do multiple channels
-l  –logfile=xxx      : Log file to parse, give multiple times to use
multiple log files.
-o  –outfile=xxx      : Name of HTML file to create
-t  –tag=xxx          : Replace %t in –outfile by xxx
-ma –maintainer=xxx   : Channel/statistics maintainer
-f  –format=xxx       : Logfile format [see FORMATS file]
-ne –network=xxx      : IRC network for the channel
-d  –dir=xxx          : Analyze all files in this dir. Ignores logfile.
Give multiple times to use multiple directories.
-nf –nfiles=xxx       : Analyze the last xxx files if used with –dir
-p  –prefix=xxx       : Analyze only files prefixed by xxx in dir
Only works with –dir
-cf –cfg opt=value    : Specify configuration options, eg. -cf ShowWpl=1
-co –configfile=xxx   : Configuration file
-mo –moduledir=xxx    : Directory containing pisg modules
-s  –silent           : Suppress output (except error messages)
-v  –version          : Show version
-h  –help             : Output this message and exit.
$ pisg -ne IRCnet -f xchat -o suid.html -ch #channel -l logfile.log
All options may also be defined by editing the configuration file and
calling pisg without arguments.

Here is my pisg.cfg:

<set Format=”irssi”>
<set DailyActivity=”31″>
<set ShowActiveTimes=”1″>
<set ShowActiveNicks=”1″>
<set ShowBigNumbers=”1″>
<set ShowKarma=”1″>
<set ShowTopics=”1″>
<set ShowLines=”1″>
<set ShowWpl=”1″>
<set ShowCpl=”1″>
<set ShowWords=”1″>
<set ShowLastSeen=”1″>
<set ShowTime=”1″>
<set ShowRandQuote=”1″>
<set FoulWords=”ass fuck bitch whore shit pimp”>
<set ShowFoulLine=”1″>
<set ShowVoices=”1″>
<set ShowMostNicks=”1″>
<set ShowSmileys=”1″>
<set ShowMostActiveByHour=”1″>
<set ShowOnlyTop=”1″>
<set NickTracking=”0″>
<set Maintainer=”USERNAME”>
<set CacheDir=”/var/cache/pisg”>
<set PicLocation=”gfx/”>

More info:

Bitlbee wont update (due to status).

Today I noticed that Bitlbee didnt update my twitter lines..

I noticed that my away state was still filled with the away message. So I did the folowing to undo it.

11:30 <          pieter@> set status
11:30 <           root@> status = `away’
11:30 <          pieter@> help set status
11:30 <           root@> Type: string
11:30 <           root@> Scope: both
11:30 <           root@>
11:30 <           root@> Certain protocols (like Jabber/XMPP) support status messages,
similar to away messages. They can be used to
indicate things like your location or activity, without showing up as away/busy.
11:30 <           root@>
11:30 <           root@> This setting can be used to set such a message.
It will be available as a per-account setting for protocols
that support it, and also as a global setting (which will then
automatically be used for all protocols that  support it).
11:30 <           root@>
11:30 <           root@> Away states set using /away or the away setting will override this setting.
To un-set the setting, use set -del status.
11:30 <         pieter@> set -del  status
11:30 <           root@> Setting changed successfully
11:31 <          pieter@> account off
11:31 <          pieter@> account on

And everything worked normall again.

My Irssi with screen tabbar (within bash)

My fav Irssi theme

The code you need to place in .screenrc in your root:

#change the hardstatus settings to give an window list at the bottom of the
#screen, with the time and date and with the current window highlighted
hardstatus alwayslastline
hardstatus string ‘%{= kG}[ %{G} %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%l%{g}][%{W} %d/%m/%Y %{W}%c:%s %{g}]’

My Fav Irssi scripts

Here are the Irssi scripts I mostly use

You can download most of  them from: web::irssi::scripts.

  • adv_windowlist| statusbar enhancement | Dwnld
  • crapbuster | removes CRAP or CLIENTCRAP messages from your buffer
  • friends | maintains list of people you know | Dwnld
  • hilightwin | print hilighted messages to window named hilight
  • nm | right aligned nicks depending on longest nick
  • screen_away | set (un)away, if screen is attached/detached
  • scriptassist  | keeps your scripts on the cutting edge
  • trackbar | shows a bar where youve last read a window
  • usercount | adds a usercount for a channel as a statusbar item