Articles
- How to configure Conky

Install conky from your package manager.  The package is called conky. su -c ‘yum install conky’ sudo apt-get install conky Once that’s installed you can run conky from the command line.  When you first run conky it dosent have a very nice look to it, we’ll fix that later.   Now that we know conky works, [...]

1 comment so far

- Fixed missing images

I have finally fixed the error after moving wordpress out of a “wordpress” folder and into my root directory. Because all the posts that I had made with images went like this “nationpigeon.com/wordpress/bla.png” and after I moved all the files the images could not be found. So a simple hack that I did was create [...]

No comments

- Software Prototyping

Prototyping is a good way to find out if what you have is what the users are looking for. It’s useful to get user feedback on the project and useful for evaluation Prototyping can be done throughout the project and at any time. There are many different types of prototyping, which range from pieces of [...]

No comments

- Mobile NationPigeon

I forgot to mention that I have created a mobile version of this site at http://mobile.nationpigeon.com. If you are viewing this site on a screen resolution below 640×480 then you will be re-directed to the mobile version. I hope to implement an option where by you will be able to choose to use the mobile [...]

No comments

- Using grep and wget to download all hyperlinks to .pdf

I had a site that contained a load of pdfs that I wanted to download, to save me from clicking on each of the pdfs I did some googleing and found how to download all files ending in .pdf. cat index.html | grep -o -e http://[^[:space:]\”]*.pdf | xargs wget and for an even better approach [...]

No comments

- IRSSI SSL

To enable SSL connections in IRSSI /set use_ssl on /set ssl_verify on /save And then you should be able to connect to SSL enabled servers. /connect -ssl irc.nationpigeon.com 5567

No comments

- Debian remove unused dependences

After installing and playing around with your Linux distribution you might end up with a load of installed dependences doing nothing but taking up space on your drive. With a cool little program you can find all packages that can be removed, deborphan. deborphan –guess-all This will give you a list of packages that are [...]

No comments

- Modified theme

Hey, I changed the site theme to have next and previous posts at the bottom of each full post. It doesn’t really work when there are no more before it, because it leaves a floaty line :/ . I’m sure there’s something that will fix that. Now I’m off to find food.

No comments

- iptables reroute to another IP

This is how I re-routed all traffic through port 25565 to another IP address. echo “1″ > /proc/sys/net/ipv4/ip_forward iptables -t nat -A PREROUTING -p tcp –dport 25565 -j DNAT –to-destination <IP> iptables -t nat -A POSTROUTING -j MASQUERADE To clear what you just did: iptables -F iptables -X iptables -t nat -F iptables -t nat [...]

No comments

- Inject things into a screen session

Say you have a screen session running and you want to have a bash script access and run a command, you can do it with this. #!/bin/sh screen -S minecraft -p 0 -X stuff “`printf “say This is a test.\r”`”; This injects the command “say This is a test” to the screen called minecraft. Found [...]

No comments