Archive for October, 2009

Mention-Me sidebar widget makes it easy to follow conversations.

// October 31st, 2009 // No Comments » // wordpress

I recently added a small WordPress widget that allows logged in users keeping track of replies to posts or comments they made.
Apart of this it also keeps a track of @replies which include your display_name or user_nicename value.
This widget is mainly inteded for usage with P2, but might also serve well on other blog themes.

This is how the widget looks in action.
The configuration options for the widget



To install it on your blog just login to your wp-admin and go to “plugins” -> “Add new” -> “Search for mention-me” -> hit the “Install” button. -> click “Install Now”. Then activate the plugin.

After this go to the Appearance > Widget page and place the widget in your sidebar in the Design. It allows you to configure the title, select the amount of replies you like to show, the avatar size you like to use and whether or not it should be enabled for non-@replies on comments/posts you made.

For more information and downloading the plugin visit : http://wordpress.org/extend/plugins/mention-me

Weekly Digest for October 31st

// October 31st, 2009 // 2 Comments » // Lifestream

twitter (feed #3)
delicious (feed #6)
twitter (feed #3)
RT @enstyled Machinarium is now available, check it out at http://machinarium.net [thott]
twitter (feed #3)
ByeBye GeoCities :( A tribute xkcd redesign: http://bit.ly/HenBp – We should all do this, back to animated gifs,hit counters and marquees [thott]
twitter (feed #3)
As a couple of people were asking me for it, here’s a little WordPress widget that shows recent replies for you. http://bit.ly/m-me [thott]

Weekly Digest for October 24th

// October 24th, 2009 // No Comments » // Lifestream

delicious (feed #6)
delicious (feed #6)
delicious (feed #6)
googlereader (feed #2)
twitter (feed #3)
I am going to win an unlocked iPhone 3GS just by following and retweeting http://bit.ly/Xj6Vd [thott]
twitter (feed #3)
Reading: "make your vote Blogging Faceoff: Wordpress vs. Typepad" (http://twitthis.com/tbofq2) [thott]
twitter (feed #3)
Back from the hospital trip for Marlin’s hernia operation. He’s hardly staying in bed and we try to keep out of hospitals for a while. [thott]
delicious (feed #6)
twitter (feed #3)
RT @raanan SEC launches Investor.gov on WordPress.com VIP: http://bit.ly/1FXL32 [thott]
delicious (feed #6)

Weekly Digest for October 10th

// October 10th, 2009 // No Comments » // Lifestream

twitter (feed #3)
New blog post: Network backup with netcat (nc) and tar http://bit.ly/2yofBC [thott]
twitter (feed #3)
RT @wordpressdotcom Team Automattic heads to Quebec City. While we’re away, have fun with the
WordPress logo. http://wp.me/pf2B5-IO [thott]

Network backup with netcat (nc) and tar

// October 3rd, 2009 // 1 Comment » // linux

Sometimes I need to recover some data from a server via network and either don’t have enough space on the source server I want to backup or just want to get things copied to an other server really quickly.

In this cases I usually just use the abilities of tar and netcat to create a backup via the network.

Let’s assume we have two computers:

- Computer A) which will be backed up.
- Computer B), which ip addess is our REMOTE_IP and the backup will be stored in this computer.

To create a backup we login to Computer B and launch netcat in listening mode using the following command.

nc -l -p 6969 >/root/backup.tgz

This command tells netcat to start listening on port 6969 (you can use other free ports) and sends whatever it receives to /root/backup.tgz.

Once done the following command, executed on computer A will start the backup:

sudo tar cvzp --same-owner --exclude=/root/backup.log --exclude=/proc/* --exclude=/media/* --exclude=/dev/* --exclude=/mnt/* --exclude=/sys/* --exclude=/tmp/* / 2>/root/backup.log | nc -w 3 REMOTE_IP 6969

This will create a full backup of your computer and excludes various system files which usually should not be copied. It also creates a logfile in /root/backup.log.

NOTES

  • make sure to replace REMOTE_IP with the ip address of computer B and that the port number 6969 matches the one on computer B.
  • sometimes you might not have netcat available as “nc” and you need to type “netcat” instead.

Weekly Digest for October 3rd

// October 3rd, 2009 // No Comments » // Lifestream

twitter (feed #3)
I love starting the day working on such cool pages as http://thereifixedit.com/ … Working with a big smile on my face make my day :) [thott]