New Features
avatar

I have added two new features to Harptabs.com.  The first feature I have added is in the messaging system, now when you reply to a message the message your are replying to shows up above the message you are writing.

The second feature I have added is that when you are viewing a song it will now show you a list of people who have marked the tab as a favorite.

Posted in Harptabs.com, News | Leave a comment

Linux / UNIX Automatically Log BASH / TCSH / SSH Users Out After a Period of Inactivity
avatar

This is great to make sure that people are not signing in and leaving their connection open.  Who knows who can come over and start using that already authenticated connection?

Linux / UNIX Automatically Log BASH / TCSH / SSH Users Out After a Period of Inactivity.

Posted in Guides, Linux, News | Tagged , , | Leave a comment

Linux: Force Users To Change Their Passwords Upon First Login
avatar

This is a great way to setup accounts so that you know that the password you provided will be sure to go.

chage -d 0 {user-name}
# chage -d 0 tom

Linux: Force Users To Change Their Passwords Upon First Login.

Posted in Linux, News | Tagged , | Leave a comment

Harptabs Is Never Down
avatar

I have been hearing a lot of people saying that the site is always down. You can check this site or any other site by going to http://doj.me/?url=harptabs.com, if the site does appear to be down to you but doj.me says it is up please let us know what message you see so we can look into the matter.

Posted in Harptabs.com, News | Leave a comment

Stop App from Restarting when Screen is Rotated
avatar

One interesting problem I have encountered in Android development is that the when you rotate the device it restarts the activity from the start.  This is very annoying espeical to the end user who can get the splash screen again or have to start to from the begining of the app.

With a few simple lines of code you will be able to prevent this screen rotation from taking place.

Step 1:  Edit your android manifest.xml file to add in the following line to where the activity is displayed:

android:configChanges=”keyboardHidden|orientation”

Step 2:  Add the following to your activity:

@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
}

Posted in Android, Development | Tagged , , | Leave a comment