Archive for

July, 2010

...

Bitlbee wont update (due to status).

no comments
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)

no comments

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}%H.blinkenshell.org %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%l%{g}][%{W} %d/%m/%Y %{W}%c:%s %{g}]’
Source:

My Fav Irssi scripts

no comments

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

Redirect to my blog

no comments

This blog was created in the directory /blog/ so we needed to ad a little piece of code to redirect browsers to this blog.

So instead of going to http://pieter.blinkenshell.org/blog/ you can also browse to http://pieter.blinkenshell.org to get on this blog.

Edit (when your on blinkenshell):

/public_html/index.html

and add:

<html>
<head>
<meta HTTP-EQUIV=”REFRESH” content=”0; url=http://[YOUR.USERNAME].blinkenshell.org/blog/”>
</head>
<body>
</body>
</html>

Sure there are many other way’s to do this..

Disable comments in WordPress

no comments

Ofcourse you can disable the comments in the admin dashboard

Settings > Discussion >
[ ] Allow people to post comments on new articles

But on some themes it will still show up on your blog.

So I took a dive into my theme files:

/blog/wp-content/themes/[mytheme]

and took the comment text out of:

comments.php and index.php

Done

Pieter’s irssi guide

no comments

Well actualy not a guide but more a linklist 🙂

^Yeah that

no comments

Thanks to me, myself and I this blog is rebuild from scratch.

Murpphy’s law kicked in so I needed to dive a little deeper into the pile of coding. WordPress, .htacces and my fat fingers in the database are not a good combination.

Anway, its up and running now and is seems like a good thing to start fresh.