Archive by Author

How to install Ruby 1.9.2 on Ubuntu using RVM

Here’s a quick snippet to install Ruby on your Ubuntu system. RVM = Awesomeness! login as single user, not root. bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bashrc source ~/.bashrc Check out the requirement [...]

Get FTP server running on Ubuntu, quick and easy [vsftpd]

If you are new to linux this might be a little difficult. Once you have some basics nailed, its super easy. Here’s how to get it working without worrying about usergroups etc etc. I just wanted to get it working with my WordPress setup (Apache). First, install vsftpd sudo apt-get install vsftpd Configure your installation. sudo nano /etc/vsftpd.conf or sudo vi /etc/vsftpd.conf You need to have [...]

How to enable ICMP ping requests on EC2 instances. No more “Request Timed Out”

I, recently, switched to the EC2 virtual instance. I wanted to check if the website is online. As usual I used the “ping” command. I thought my server was down (kinda freaked out) but the website on the browser was working fine. All I needed to do was to enable the ICMP requests: 1) Log into AWS account. 2) Click on “Security Groups”. Choose the required security group. 3) Click [...]
Open Sourcing @pushmail – An email app on SMS

Open Sourcing @pushmail – An email app on SMS

Hi all, I’m open sourcing my txtweb app @pushmail – An app that’ll send push email notifications via SMS. I’m still a noob. This is the first time I’m open sourcing my project. Hopefully, someone will review my code and provide some constructive criticism. What is @pushmail It is an SMS app on the txtweb.com platform with which users can get instant email notifications [...]

[WAMP Server] Run PHP in Command line interface

Go to run –> type ‘cmd’ change directory to the PHP folder. You might have a different version. cd C:\wamp\bin\php\php5.3.5 Run your PHP command like “php -l file” etc.

[Solved] Apache2 mod_rewrite not working even after AllowOverride All

I recently moved to an EC2 instance because I needed a little more freedom. Plus, the 1 year free tier looked very attractive. The pretty permalinks on my wordpress installation stopped working. Most Google searches told me to change the AllowOverride None to AllowOverride All. I tried numerous files. Finally, it seems there were 2 occurrences of the same  string in the httpd.conf file. You had [...]
How to Remove Skype’s Click to Call thing from Chrome

How to Remove Skype’s Click to Call thing from Chrome

The inefficiency of Skype’s chrome plugin can be quite annoying at times. There was also no permission prompt to install the Chrome Plugin, that’s not right. And the Plugin doesn’t list in the Extension settings. Anyways, You can disable the Plugin by typing “about:plugins” in the address bar. There, disable the “Skype Toolbar”.

WordPress Hacked – sweepstakesandcontestsinfo.com

Update: It seems a new version of the attack has been made using the .htaccess files. So, this guide might be outdated. <advert>As I’m a freelancer, I also fix wordpress installations. This will cost about $50. Contact me</advert> I was recently hacked by this website “sweepstakesandcontestsinfo.com” which was adding a little javascript just before </body> tag that [...]
A little say cheese moment

A little say cheese moment

Ok, Ok, I didn’t really say cheese but anyways, here goes. For http://suhastech.com/mobile/how-to-manage-emails-with-sms/

How to fetch the new line / paragraph character “n” from a GET / POST request

Here’s a little code that I wrote to correctly fetch the newline character. By URL encoding “n” you get %OA which is not decoded back as a C style new line character “n”. So, we fetch the query string to manually decode it in the correct mechanism. This is a PHP example, the theory hold good for other languages as well. function get_string_parameters($string) { $result [...]
© 2012 Suhas Tech. All rights reserved.
Proudly powered by Wordpress.
Suhas Sharma+