Deleting Files with Special Character Names
avatar

Have you ever accidently created a file with an unusual name and then tried to remove it, you will find this helpful.  All files in Linux are assigned what is called an inode number.  This unique number allows you to remove a file regardless of it’s name.

To find out the inode number for a file you can type:

stat <filename>

You can also get the inode of every file in a directory using a flag with the ls command:

ls -i
NOTE: The number in front of the file name is the inode number

Now if you want to do a delete by the inode number it is a little but unsual.  You can’t just do an rm you need to do a find and plug the results into the rm command.

find . -inum <inode number> -exec rm -i {} \;

Posted in Linux | Tagged , , | Leave a comment

Motorola Razr Root for ICS OTA
avatar

Here is a tar you can use to root your Razr phone if you have downloaded and installed the Ice Cream Sandwhich Over-the-Air update.

UPDATE:  I have updated the installer to include the Superuser apk so you can more easily update your device and manage your root applications.

Razr_Root_ICS.tgz

Posted in Android, Linux | Leave a comment

RSS Feeds Updated
avatar

The RSS Feeds on Harptabs.com have been fixed to work with all RSS readers.  This was an issue which had been going on for a long time but it was low priority and had not been worked on.  Now that the RSS feeds have been fixed the facebook page is going to start posting a daily tab of the day straight off of the feed.

Posted in Harptabs.com, News | Leave a comment

MySQL Memory Tables
avatar

In MySQL you can run tables just in memory.  These tables are great for temporary data since they are cleared out when MySQL closes, and since they are in memory they are accessed quickly.

When you are creating a table just make sure you set it to use:

ENGINE = Memory

To convert an exisiting table to reside in memory you can use the following sql statement on the database:

ALTER TABLE my_table ENGINE = Memory;

Posted in Guides | Leave a comment

Website Downloaders
avatar

I have noticed an increase in website downloaders running on the site.  These systems cause a drain on system resources and are not allowed.  There are blocks in place to prevent their use, but anyone caught using one will be blocked from access the site at all.

Posted in Harptabs.com, News | Tagged , | Leave a comment