Skip to content

Making Life Simple

Tech Tips and Tricks

Menu

Primary menu

  • Home

Access AWS with Putty

Posted on July 22, 2011 by lalit — No Comments ↓

When accessing EC2 amazon cloud, you would receive a .pem file to login to the shell. Putty does not use .pem file and you would need to convert that file to .ppk file which putty uses. In order to convert Continue reading Access AWS with Putty→

Posted in linux | Tagged aws, linux | Leave a reply

MySQL export/import database

Posted on June 9, 2011 by lalit — No Comments ↓

The easiest way to export is use syntax in command prompt (cmd): mysqldump -u USER -p PASSWORD DATABASE > filename.sql To import the same file, the syntax is: mysql -u USER -p PASSWORD DATABASE < filename.sql

Posted in mysql | Leave a reply

Enable XDebug on WAMP using Eclipse

Posted on June 7, 2011 by lalit — No Comments ↓

For Windows machine running WAMPServer: 1) Install PDT plugin on your eclipse 2) Download XDebug to match your php 3) Install XDebug – save XDebug dll to wamp_path/bin/php/php5.3.5/ext folder 4) Enable XDebug – update php.ini file 4a) comment zend debugger Continue reading Enable XDebug on WAMP using Eclipse→

Posted in apache, php, Windoze | Leave a reply

MySQL server has gone away

Posted on March 3, 2011 by lalit — No Comments ↓

While importing a mysql dump file, I was receiving an error “MySQL server has gone away”. The reason is that the maximum allowed packet size was less than the dump file size. Edit “my.ini” file and update the value for Continue reading MySQL server has gone away→

Posted in mysql | Leave a reply

CSV to Excel – keep leading zeros

Posted on February 9, 2010 by lalit — No Comments ↓

When opening a csv file in excel, leading zero’s are displaced as below: if the CSV file has “010101”, when opened in excel, it becomes “10101”. To overcome this issue, store data in CSV file as =”010101″ (add ‘equals’ sign Continue reading CSV to Excel – keep leading zeros→

Posted in Windoze | Leave a reply

Generate SSL certificate for Tomcat

Posted on January 21, 2010 by lalit — No Comments ↓

Following are the steps to create an real SSL certificate (verified by VeriSign/Thawte etc.) for Tomcat: 1. Creation of keystore keytool -genkey -alias XXX -keyalg RSA -keystore ./XXX.keystore 2. Generation of CSR keytool -certreq -alias XXX -file XXX.csr -keystore ./XXX.keystore Continue reading Generate SSL certificate for Tomcat→

Posted in general web, java | Leave a reply

List of Countries

Posted on January 20, 2010 by lalit — No Comments ↓

In case you need a list of countries, here is the file

Posted in general web | Leave a reply

Integrate Apache 2 with Tomcat 6

Posted on January 18, 2010 by lalit — No Comments ↓

I have been trying to configure apache/tomcat is such a way that apache comes on the front-end so that I can have all the features of apache like URL rewriting, virtual hosts, PHP etc. and forward only certain requests to Continue reading Integrate Apache 2 with Tomcat 6→

Posted in apache, general web, java, linux | Leave a reply

Increase maximum limit of open files per user

Posted on January 15, 2010 by lalit — No Comments ↓

If you want to increase the limit of open files for the current session, simply run ulimit -n 2048 If you want to increase it by default, edit /etc/security/limits.conf and add *    hard     nofile     2048 *    soft     nofile     2048 Continue reading Increase maximum limit of open files per user→

Posted in linux | Leave a reply

IE 6 bug in window.location

Posted on January 13, 2010 by lalit — No Comments ↓

There is a bug in IE 6 where following code does not work var newUrl = “http://www.google.com/”; window.location = newUrl; // This also doesn’t work! // window.location.href = newUrl; After a scratching head for couple of hours, found the solution Continue reading IE 6 bug in window.location→

Posted in general web, Windoze | Leave a reply

Post navigation

← Older posts
Newer posts →

Primary Sidebar Widget Area

Recent Posts

  • Unable to run metrics-server in K8 cluster
  • Switched to Ubuntu from Windows
  • Enable minimize on click
  • Enable Mate desktop with vnc
  • SHA Collision

Recent Comments

  • kinogo on How to check GMail RSS/Atom feed
  • http://activeedgenutrition.com on How to check GMail RSS/Atom feed
  • tester on How to check GMail RSS/Atom feed
  • Sweety Mehta on How to create RoR app with PostgreSQL support
  • lalit on Oracle XE Tuning

Archives

  • April 2021
  • August 2020
  • January 2020
  • December 2019
  • July 2019
  • July 2018
  • March 2016
  • May 2015
  • March 2015
  • September 2014
  • July 2014
  • April 2014
  • November 2013
  • October 2013
  • August 2013
  • July 2013
  • June 2013
  • March 2013
  • October 2012
  • August 2012
  • May 2012
  • January 2012
  • November 2011
  • August 2011
  • July 2011
  • June 2011
  • March 2011
  • February 2010
  • January 2010
  • September 2009
  • July 2009
  • January 2009
  • December 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • June 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006

Categories

  • apache
  • css
  • general web
  • git
  • hibernate
  • java
  • javascript
  • kubernetes
  • linux
  • mysql
  • news
  • oracle
  • php
  • python
  • RoR
  • struts
  • Uncategorized
  • Windoze

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2025 Making Life Simple. All Rights Reserved.
Theme: Catch Box by Catch Themes
Scroll Up