Configure no-ip with your server

A very nice procedure on how to configure your server to use no-ip urls can be found at the below url:

http://wiki.shellium.org/w/Howto_install_no-ip_utility_in_CentOS

 

Posted in Uncategorized | Leave a comment

Firefox plugin development

Open the firefox profile manager:

On Mac:

/Applications/Firefox.app/Contents/MacOS/firefox-bin -ProfileManager

 

Posted in Uncategorized | Leave a comment

Centos – Server Administration

This post is going to be ever increasing as I’m going to add more and more links when I encounter any problems or difficulties or may be due to unknown stuff that I encounter which have to solved due to everyday maintenance.

 

Give a regular user the privileges of using SUDO:

http://wiki.centos.org/TipsAndTricks/BecomingRoot

http://news.softpedia.com/news/Grant-Root-Privileges-to-Regular-Users-41633.shtml

 

Update: 16th June 2011

 

User management and User Rights management:

groupadd <group_name>
usermod -a -G <group_name> <username>
chgrp <group_name> <your_folder>

Most of the User management stuff can be found here:

http://www.cyberciti.biz/tips/unix-or-linux-commands-for-changing-user-rights.html

 

Update: 20th June 2011

Installing Sun JDK 1.6+ on my CentOS server.  Its been a long hard struggle to get Java working properly for my team members to start working directly on the server for their java development.  After a lot of struggle and many dead-ended tutorials, I found this tutorial:

http://edipage.wordpress.com/2008/09/22/install-sun-java-and-tomcat-on-centos-5/

Very neatly described and the installation works out of the box with a little bit of tweaking here and there.

Another tutorial which I had referred and haven’t used is this:

http://de0ris.blogspot.com/2008/08/installing-java-sun-jdk-160-on-centos5.html

 

One more step to be performed, but I haven’t done it is at the location:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=8390

 

Update: 23rd June 2011

To install all the common development tools for CentOS:

yum groupinstall ‘Development Tools’

 

This one command will install all the necessary development tools from gcc, g++, strace, flex, bison, subversion, etc. in one go.

 

Update: 6th July 2011

Link for installing Tomcat 7 on Centos… This one is amazing in terms of the quality of stuff he’s dealt with and the tomcat server can be configured in no time!

http://davidghedini.blogspot.com/2011/02/install-tomcat-7-on-centos-rhel.html

 

Posted in Uncategorized | Leave a comment

Text/Web Editors for Mac

CODA – This editor is based on Subetha Engine as it allows us to do Live Collaboration on documents by multiple people.  Also, it functions as a text editor + file transfer + svn + css + terminal + books and many more.  Many people via blogs have stated that CODA is one of their best Text Editors for Mac.

Price: $99/license

 

Expresso – The attractive feature about this editor is that its got Live Preview to preview our pages that we are developing, including CSS also.  It also has a good FTP solution where we can view both the local copy and the remote copy, along with the feature to publish our site on many different clouds or to our personal servers with an excellent Search and Replace feature also.  Regular features like Syntax highlighting and others are also present.  They have a product called as CSSEdit and its an amazing CSS editor with live preview capabilities.

Price: $79.99/license

 

Lyx – Mainly used for making mathematical equations with ease and primarily for academic purposes.  This is very good if we need to have an editor which can help us write Math equations with ease for assignments or for anything else.

Price: Free

 

Evernote -A cloud based awesome notes taking tool, which has many plugins and apps on several mobile platforms and multi-OS support.  This is very important if we like to carry our ideas and our notes anywhere we go.  Interesting design on the UI.

Price: Free – 60mb/month and for Premium – 1GB/month

 

MindNode Pro – This is mainly for taking down our ideas and thought process as an electronic copy.  Very intuitive drawing layout and different tools are available to perform various types of note making.

Price: $20/license

 

Circus Ponies Notepad – A regular mainstream real-paper like notepad where we can organize and arrange stuff in order such that we have a real notebook feeling.  Pretty interesting design and my style of note making interms of the what has to noted down.

Price: Paid

 

Gobby – Online free real-time collaborative tool for multi-people editing at the same time.  Its free and has a GPL license.  It runs on windows and on linux platforms making it very feature rich.  Can make it run on Mac using the X11.app from Apple.

Price: Free

 

MoonEdit – Another real-time editor for Windows and Linux.

Price: Free

 

EtherPad – Online web-based realtime collaborative editor.  Owned by Google and is completely open-source.  A note-worthy component to which we definitely need to give a good look at.

Price: Free

 

SynchroEdit – Another web-based online realtime collaborative editor for making multiple changes in a single document.  Very interesting to work on the same document at the same time.

Price: Free

Posted in Uncategorized | Leave a comment

Vi/Vim resources

Very nice video tutorials on Vi/Vim:

http://vimeo.com/user1690209/videos
Posted in Uncategorized | Leave a comment

Creative Vado HD 1st Gen

I’ve been spending a lot of money this month, taking into fact that after I received my cheque for the work that I did for Annenberg School of Communication, I’ve spent around nearly $500 on random stuff that I saw and felt as a good deal.

One another such this is this Creative Vado HD 1st Gen Video Recorder at Dell Small Home and Business site for $40 + $3 tax (California tax!!!) with free expedite shipping. To my surprise, I made the order yesterday evening at around 7pm’ish, and today afternoon at 1pm I got the camera. What a speed of delivery, I guess Dell is all prepared to dispose of these older generations of Creative Video Recorders.
Opening the camera’s battery compartment was giving me a tough time as I dint know on how much force had to be put in. Finally after struggling for nearly 30mins, I found out that its a soft plastic and it deforms a little to enable us open the compartment. After that I had put it to charge for 7hours straight as said in the manual.
But then, when I pressed the start button, nothing happened, I was irritated as I couldn’t figure it out at all. Then after nearly 4 hours later, I just then noticed that the camera turns on when I connect it on usb and doesn’t when i remove it. So I just made myself believe that I have to charge the battery again. But this time, when I connected it to usb, it showed the same charging display on screen. But then, this time, the battery was getting hotter and hotter giving me the information that the camera is charging.
Good that it finally worked and nothing was a problem. Shot few videos, kinda satisfied with the output. Have to try capturing more videos to get a better idea and on what all this camera can do.
Posted in Uncategorized | Leave a comment

Sennheiser HD448 has arrived

Yaay… Yet another Yaay!!!

Finally the Sennheiser HD448 has arrived safely to my house. I was surprised to see that the open-box item was completely brand new. This made me suspicious on why the previous customer returned this product. Then after careful searching, I found out that it was the size of the headphones. These are actually smaller and since I’m being a small person, I found the most comfortable fit for me :D
Rest aside, I’m not an audiophile, but I listen to a lot of songs and because of this, In-Earphones were getting painful when I was listening to them for long hours. So this my try into the Headphones area.
After listening to 2-3songs with my HD448, I found that my laptop was giving out full volume at its maximum output rating, but the headphones were sounding normal. This means that this baby can be driven a lot more, but then, this means that this baby needs more output to sound better. So if my laptop cannot deliver the same, then my Ipod can never deliver so much output.
This is now leading me into either investing on a Headphone amplifier or returning this product. As far as I’ve been so far, I’ve never returned a product to the seller. So this is what is going to happen again I guess, so I need to search and figure out on what Headphone amplifier I need to buy.
Posted in Uncategorized | Leave a comment

Finally got the ALFA AWUS036H Usb Wifi for War-driving, Creative Vado HD and Sennheiser HD 448 headphone

Finally after a lot of thought on whether to buy the Alfa AWUS036H at $30+tax+shipping, I was able to get a decent offer where I had to pay $20+tax and no shipping.

Would be getting it in another 2 days time.
Another surprise was that, yesterday evening I was browsing thru’ slickdeals.net and saw the offer for the 1st/2nd Generation Creative Vado HD camcorder for $40+tax and free expedite shipping on Dell small home supplies site. This was also something on which I was eyeing upon for nearly over a year after I had used the Flip Camcorder. To my surprise, this got delivered today morning. The quickest delivery that I’ve ever received till date :)
Have put the camcorder to charge up the rechargeable battery. Will test it and will post some videos.
I also got a good offer on the Sennheiser HD448 headphones. These retail at around $99+tax+shipping(mostly free many times). I got a good price on the open-box items on Shorelinemusic.com for $49 including tax and shipping. Good price rite? I personally am not a audiophile and so have no idea on these babies. Hope it turns out to be well. Read some reviews online where they have mentioned that I need to use a Headphone amp along with this baby to make it sound great and awesome. I’ll get it first, then try it without the amp and will post some reviews.
Posted in Alfa AWUS036H, Creative Vado HD, Sennheiser HD448 | Leave a comment

Port 465 is blocked on GoDaddy shared hosting

GoDaddy Shared hosting has most of the ports blocked.

I stumbled upon this problem when I was trying to send mails using PEAR’s SMTP mail modules, i.e. I was trying to use the mail module to login to my Gmail account and send an email. I was getting this error:
Connection refused
errno: 25
If you are also getting the same error, then it means that your service provider has blocked the SMTP outgoing port no.: 465.
To solve this, search for free hosting providers that have the 465 port open, so that you can host your mail modules there and just send a curl request to that PHP file, thereby sending mails off that server, but your user will never feel the difference.
This method has its disadvantage, being that you will not be able to secure the To-email id, subject, body details, etc. But then, it works if you just doing Developmental work :)
I’ve got the entire thing working like I’ve mentioned above, will post the code for the same and some links where they give free hosting with 465 port open.
Posted in Uncategorized | Leave a comment

Boost C++ Libraries – A must see

http://www.boost.org/

Posted in Uncategorized | Leave a comment