Some tips when GRUB gets angry and goes wrong, after/during an install. Use this command to locate grub stage 1: find /boot/grub/stage1 Set the GRUB root to the location of stage 1: root (hd0,0) Now that we have found the GRUB on the hard drive, load the config file and your away. configfile /boot/grub/grub.conf This [...]
The find command is very useful for organizing your files and folders, or in combination with bash scripting. For example I had an mp3 player which would only play mp3s that were not inside a directory. Now all my music is located inside sub-directories, so I could spend most of my day moving them out, [...]
I was attempting to edit an image from my media library, and found that I was unable to crop or resize it. There wasn’t even a sign of the image. The only error that the error console gave was “Image corrupt or truncated” I found that if you are to remove all white space, after [...]
A linked file is a file that contains a reference to another file or directory. There are two types on linkes soft and hard. A hard link can not access folders on a diffrent volume, where as soft links can. Heres how to create soft link files. ln -s source_file link_name ln -s /media/Gama Gama [...]
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, [...]
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 [...]
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 [...]
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 [...]
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 [...]
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
