Just another trying-to-be-a-geek's blog
Open Source
General Open Source Posts
Blog Moved
May 25th
I was having some issues and decided to outsource blog hosting at the cost of losing some control and saving time. New blog is located at http://error404notfound.posterous.com. See you there.
BMI Calculator: My First Android App
Sep 1st
Okay, after Oracle went after google for patent rights i got interested in android more than ever so decided to jump right in and program something. Following is my first app:
BMI Calculator
Purpose
- Calculates BMI (Body Mass Index).
Features
- Support multiple unit systems
- Bells and Whistles:
- Changing Unit System automatically changes the units inside Height and Weight field labels
- Gender Spinner data is read from @arrays/gender_list. This was not needed, just did it to learn how one can read XML and attach an adapter to it.
- Gender Spinner’s Prompt reads from @strings/select_gender. This was needed and done.
- Height and Weight EditText allows 6 characters, single line and decimal
- Hitting Calculate More >
SSH: Tips And Tricks You Need
Aug 24th
SSH is one of the most widely used protocols for connecting to remote shells. While there are numerous SSH clients the most-used still remains OpenSSH’s ssh. There is a plethora of tips and tricks that can be used to make your experience even better than it already is. Read on to discover some of the best tweaks to your favorite SSH client.
Adding A Keep-Alive A keep-alive is a small piece of data transmitted between a client and a server to ensure that the connection is still open or to keep the connection open. Many protocols implement this as a way of cleaning More >
Error while retrieving tweets (Twitter down?)
Aug 24th
You might have noticed that since the last 6 (or 8?) hours “Tweet Activity” have been giving that error. I got some time on my hands to waste and i googled for it, came up that its a pretty common error observed by a lot of users yet there were no official statements regarding what could it be. To verify that i can still resolve twitter from our server and that i haven’t gone over ther API Hits limit i created a check-twitter.php with the following code:
<?php echo gethostbyname('twitter.com'); ?>
Accessed it via Chrome and came out just fine. More >
OpenVPN and Windows
Aug 22nd
Today it was the second time i was asked by a friend to help him in fixing his openvpn on windows 7 and to tell you the truth it was exactly same problem that i had fixed before, before he had to reinstall windows that is. Being clumsy i didn’t make notes in the past on how i fixed it and wasted a lot of time after which i came to a solution. So here are some tips for people who are using OpenVPN on windows to avoid issues that i come across frequency:
- Create a shortcut icon of Open VPN GUI More >
Five Ubuntu Features You Didn’t Know About
Feb 15th
The quest to discover something new and fresh about Ubuntu, which is arguably the world’s most popular and best documented Linux distribution, is an almost ridiculous one to accept and an almost impossible one to fulfill. I felt like the Mission Impossible character, Jim Phelps, as I read the request from my editor. I expected to see the words, “This is your mission, Ken, should you choose to accept it. This email will self-destruct in five seconds” at the end of that message.