Rss

What is your life’s vision?

When there is no specific vision, man lives to please himself. When there is a God given vision, every decision of one’s life should be to fulfill that vision. Take Nehemiah’s life, his God given vision was to rebuild Jerusalem’s walls and every decision was taken with that vision in mind. Ultimately man’s goal should be to serve God.

Continue Reading >>

Share

IntelliSense in Eclipse

By setting up some preferences in Eclipse, we can achieve an IntelliSense-like behavior in Eclipse. If you have ever used Microsoft Visual Studio, then let me explain what IntelliSense is. IntelliSense can speed up your coding by auto-completing your words as you type, lets say you have aVeryLongVariable in your code, as soon as you start typing aV, a box will pop-up with the suggestions for auto-completion, you can either continue typing or just press enter and your variable will be auto-completed.

Continue Reading >>

Share

How to install updates in Fedora Linux

You can check and install updates in Fedora Linux using the Software app or thru command line. Personally I like command line better since is faster and less trouble some than having to go thru Software.

Continue Reading >>

Share

Cleaning Up GNU GRUB

I had Fedora 17 installed and decided to upgrade to Fedora 18, upon upgrading I noticed in GRUB menu options Fedora 17 was still listed. As a good and organized computer user, I started looking and asking how to clean this messy looking GRUB and found the solution.

This is how my GRUB menu looked like after the upgrade:

grub_blog

Continue Reading >>

Share

Wait For Trigger File – Unix Shell Snippet

So recently I was doing doing some bash scripting and required a functionality that would allow my script to wait for for a trigger file in order to execute. After some thinking, I was able to some up with a function to perform the required action.

Basically, how this works is that a function will be looping constantly looking in a specific directory for a specific file to arrive, the function will loop ‘n’ times looking for that specific trigger file, sleeping ‘n’ seconds in between tries. Once found, it fires off the next portion of the script (or a separate script). If the file is not found in ‘n’ times, then will exit with an exit code of 1. You can also set it so it will keep looking for the trigger file indefinitely.

This snippet will also send an email if the trigger file is not found in ‘n’ times.

Code after the jump.

Continue Reading >>

Share

How to Send Email – Unix Shell Snippet

I’m sharing two code snippets that will send an email. These snippets accept three parameters: a subject, an email address and a text file containing the email message.

Code after the jump.

Continue Reading >>

Share

bulkGetter – A Script Wrapped Around wget

Basically bulkGetter functions as a downloading command line tool accepting an input file as a feed with the desired link(s) to download. It can download files, save them to a specified location and rename them.

For this tool to work, you need to have ‘wget’ tool, if you have Linux, more than likely is already included in your distribution. If you have OSX, then you need to download it, the only thing is that you have to compile it. Get wget. If you do not wanna go thru the hassle of compilation, then you can download my compiled version that I have provided with bulkGetter.

Continue Reading >>

Share

How to Tune an Acoustic Guitar

Procedure that teaches a beginner how to tune an acoustic guitar using an electronic tuner. This must be done before playing the guitar to ensure a clear sound.

Needed

  • Acoustic guitar
  • Electronic tuner
    • KORG Guitar/Bass tuner GA-30 used in the instructions
  • or “gStrings Free” app in the Android Market

Continue Reading >>

Share

How to Calibrate the Phone’s Battery After Flashing a new ROM or Kernel

If you are like me, changing roms very often, you will find yourself calibrating your phone’s battery very often. I remember the first rom I flashed back when I had my Sprint Hero, battery life was terrible after flashing it, and since I was a n00b back then, I did not know that I had to calibrate my phone’s battery. After some research, I was able to find out that I needed to calibrate the battery and the how-to thread.

Continue Reading >>

Share

Mac OS X Not Recognizing Galaxy S Phones

When I bought my Galaxy S phone (Sprint Epic 4G) I was really excited about the phone until I connected it to my Mac, to my surprise, OSX wouldn’t recognize the phone, so Mounting the phone as USB Mass Storage was of no use, nor trying to connect it thru ADB; I was very disappointed. I rushed to Google trying to find an answer and to my surprise, I wasn’t the only one having the same problem, some people were able to connect for a couple of seconds then OSX would kick them out of the system, some others wouldn’t connect at all, and some other ones connected just fine. Digging deeper I found several solutions:

Continue Reading >>

Share