Application Setup on Google App Engine

Run your web apps on Google’s infrastructure. Easy to build, easy to maintain, easy to scale. https://cloud.google.com/console#c=l 1) Register a free account here https://appengine.google.com/. 2) Create an Application here https://appengine.google.com/start/createapp. 3) Download Google App Engine SDK for Java from here http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_Java. 4) Unzip appengine-java-sdk-1.4.2.zip in your favorite drive like “D:\appengine-java-sdk” 5) Now download apps svnmedia.zip … Read more

Backup mysql database to amazon S3

Below is the simple code to create sql script of database on Amazon EC2 server using “mysqldump”… then upload this sql script to Amazon S3 bucket using command line S3 tool “s3cmd”… <?php $sqlbackup=”/usr/bin/mysqldump -v -u root -h localhost -r /var/www/html/backup/”.date(“Y-m-d-H-i-s”).”_db.sql -pdbusername  databasename 2>&1″; exec($sqlbackup, $o); echo implode(“<br /> “, $o); $file = “/var/www/html/backup/”.date(“Y-m-d-H-i-s”).”_db.sql”; $bucket = “s3bucketname”; exec(“/usr/bin/s3cmd  put –acl-public –guess-mime-type  –config=/var/www/html/.s3cfg   “.$file.”  s3://”.$bucket.”  2>&1″, $o); echo implode(“<br /> “, $o); ?> 0 */12 * * * env php -q /var/www/html/s3bkup/s3bkup.php > /dev/null 2>&1 (per 12 … Read more

Get Mobile Information Header

The User Agent Profile (UAProf) is used for capturing capability and preference information for wireless devices. This information can be used to detect various types of HTTP headers and other properties for visitor’s mobile device. Apache provide some useful HTTP X Header information for WAP… which detect user-agent and other hardware/software information. Source: http://en.wikipedia.org/wiki/UAProf http://code.google.com/p/mobiledevicedetector/ … Read more

Contact

Thank you for visiting www.svnlabs.com/blogs, If you have any questions regarding the contents published in www.svnlabs.com/blogs then kindly contact us, we appreciate your feedback and promise you better services… I’m an Entrepreneur. I’m proud to work as Blogger, LAMP Programmer, Linux Admin, Web Consultant, Cloud Manager, Apps Developer, Searcher. Mobile: +919928673578 Skype: svnlabs Twitter: http://twitter.com/svnlabs … Read more

Work

I’m an Entrepreneur. I’m proud to work as Blogger, LAMP Programmer, Linux Admin, Web Consultant, Cloud Manager, Apps Developer, Searcher. In simple words we can say Entrepreneurship is “My Work is My Life” Concentrate > First think about applications of your knowledge! Observe > Second find latest trends around us! Imagine > Third pick good … Read more

About

  I’m an Entrepreneur. I’m proud to work as Blogger, LAMP Programmer, Linux Admin, Web Consultant, Cloud Manager, Apps Developer, Searcher. What is an Entrepreneur? Putting up a new enterprise may sound very hard but for the entrepreneur, nothing is impossible to achieve. Innovation, creativity, leadership, being a risk-taker and having the right inner drive … Read more