Archives

Archive for the ‘Tips & Tricks’ Category

Is your Microsoft office manager taking way too much time to load? The reason behind it is that  the picture manager keeps track of the most recently used paths, and if any of these paths is no longer available, the software will stall for a long period. The most possible scenario is that you have [...]

Mar 3rd, 2008 | Filed under Microsoft, Tips & Tricks

Some people may not be very knowledgeable about *nix file permissions, and what they mean, so this is intended to be some sort of a guide. Any file or folder has a permission associated to it. Look at it as: ‘who has the power over this file/folder, and what kind of power does he have’. [...]

Dec 16th, 2007 | Filed under Linux, Tips & Tricks

It is quite frequent that an administrator simply forgets his mysql’s root password. Luckily, it is quiet easy to reset it, here are the steps: SSH as root to your machine Turn off the mysqld daemon if running RedHat/Fedora users can do so by executing:  service mysqld stop Run safe_mysqld by executing: safe_mysqld –skip-grant-tables (this [...]

May 17th, 2007 | Filed under MySQL, Tips & Tricks

This is useful for anyone who’d like to add a login form to any php page. Simply, save the following code as access.php, and insert the following snippet on the first line of any php file you want protected. < ?php include "access.php"; ?> (remove the space before the question mark) Voila! as easy as [...]

Apr 3rd, 2007 | Filed under PHP, Tips & Tricks

This is a simple script that will allow you to import csv data into your database. This comes handy because you can simply edit the appropriate fields, upload it along with the csv file and call it from the web and it will do the rest. It allows you to specify the delimiter in this [...]

Feb 19th, 2007 | Filed under PHP, Tips & Tricks

For the follows out there who do not know how to import coma separated data into mysql from the prompt, here it is: Assume: PATH is the path to the csv file (can be relative to the directory you were in before logging into mysql) TABLE is the table name that you have already created [...]

Jan 11th, 2007 | Filed under MySQL, PHP, Tips & Tricks

Many users run small networks, be it at home or work. One of the widely used techniques for sharing the internet connection over a small local area network is Microsoft’s ICS (Internet Connection Sharing). What if the main server is not running windows? Some prefer to opt for linux, and run several services that benefit [...]

Nov 9th, 2006 | Filed under Linux, Tips & Tricks

Thought of mentioning this as I’ve came across it and noticed many others did too. If for some reason, whenever you try enabling internet connection sharing (ICS), you get an error saying that the rpc server is unavailable, do the following: Click on start > run type services.msc and hit enter Search for the DHCP [...]

Oct 18th, 2006 | Filed under Microsoft, Tips & Tricks
This blog is protected by Dave\\\\\\\'s Spam Karma 2: 14411 Spams eaten and counting...