Archive for category Short
Enable potentially unsafe attachments in outlook
Posted by Tyler Allen in Fix It, Short on August 31, 2011
Ahh the “Outlook blocked access to the following potentially unsafe attachments” message, one of the most annoying things you can see when you in a hurry to get an attachment. However there is a good reason that attachments are disabled in outlook, some attachments can potentially be unsafe, as the warning says. But so long as you know were an attachment is from and you know the risks why can’t you enable these, after all you did pay for your computer and Office so you should be able to do what you want, right? Well in outlooks default setting there is no way to enable unsafe attachments, however there is a setting in the registry to enable them: Read the rest of this entry »
C++ Simple Stream Socket Client Class
Posted by Tyler Allen in Code Snippets, Short on July 21, 2011
So I’ve been working on this project that heavily uses Sockets in C++, for the base of this project I’ve created a TCP Socket class so I concentrate on the protocol I’m using rather than worrying about the socket itself and I thought I would share this class with your. Read the rest of this entry »
CPU Limit Ubuntu Server 11.04 Command Line
Posted by Tyler Allen in Short, Tutorial on July 11, 2011
I’ve was encrypting some files the other day with GPG and found that while the encryption was taking place my computer ground to a halt because GPG was taking up all of my CPU. Normally I wouldn’t mind this as I would just setup a few jobs and go make a cup of tea. Then I though what would happen if I run my encryption jobs on a webserver, well it grinds to a halt. So how do we run encryption jobs on our servers without affecting users, Read the rest of this entry »
Ubuntu grub wont find Windows 7
Posted by Tyler Allen in Fix It, Short on May 17, 2011
So I recently upgraded my Ubuntu instillation to 11.04 and I will admit that at first I didn’t like it, however I’m always upset when people don’t like something just because it changes so I stuck with it for a few hours and I have to say i have grown fond of the unity interface. However after a while I wanted to boot into windows 7 and play some games, the problem was that grub hadn’t found the windows partition. So I had a browse around the internet and found several solutions to fix this problem. Read the rest of this entry »
Simple MySQL CSV import from Console
Posted by Tyler Allen in Short, Tutorial on April 6, 2011
Everyone has the need to import and export data from a CSV into their MySQL database at some point or another. A quick search of Google reviles there are many different ways of doing this, and in my expectance some are far better than others. In this tutorial I’m going to show you my favourite way to import CSV data into MySQL using the “LOAD LOCAL DATA FILE” command. Read the rest of this entry »
Install or upgrade Nagios to version 3.2.2
Posted by Tyler Allen in News, Short, Tutorial on March 26, 2011
Nagios Core have been updated to 3.2.2
The update/installation process is not different as the one described in the main article Read the rest of this entry »
MySQL Backup (mysqldump)
Posted by Tyler Allen in Short on March 3, 2011
There are plenty of ways of backing up MySQL, however my personal preference is to use MySQL dump, here’s how you do it: Read the rest of this entry »
MySQL MD5 User Password
Posted by Tyler Allen in Short on January 25, 2011
When you have a user’s table in your database it is bad practice to store user passwords within this table in plain text, the problem with this if anyone managed to hack your database or a mischievous employ looks at the table then they will be able to see everyone’s password.
However if we store the passwords using the MD5 Hash Function then it’s impossible to see the password, however all we can do is encrypt the users password and see if it matched the stored MD5 Function, so how do we do this: Read the rest of this entry »
Parchive Quick Tutoiral
Posted by Tyler Allen in Short on October 1, 2010
Parchive (or PAR2) is an open source software project started to develop a parity file format, these parity files use a error correction system that can be used to perform data verification, and allow recovery when data is lost or corrupted.
They are commonly used to fix corrupt data when downloading from newsgroups, however they can be used to make recovery files for pretty much any file. These recovery files are often much smaller than the original so they can easily be transmitted with the original file. However they normally only repair 5% of the original file, you can make parity files that repair more by scarifying the size of the parity file, so how do we do this: Read the rest of this entry »



How to mass/bulk delete all unapproved comments from wordpress
Posted by Tyler Allen in Fix It, Main, Short on November 3, 2011
bulk delete, comments, delete all, delete all comments, mass delete, spam, unaproved, unaproved comments, Wordpress
No Comments