Skip to content

Making Life Simple

Tech Tips and Tricks

Menu

Primary menu

  • Home

Author Archives: lalit

oracle XE “cannot access http://127.0.0.1:8080/apex”

Posted on December 26, 2008 by lalit — 1 Comment ↓

I had installed oracle XE on CentOS and was not able to connect to web admin for past two days. Finally after a long two days of search, found this. Thanks!

Posted in linux, oracle | Tagged oracle | 1 Reply

Recover MySQL root password

Posted on December 26, 2008 by lalit — No Comments ↓

You can recover MySQL database server password with following five easy steps. Step # 1: Stop the MySQL server process. Step # 2: Start the MySQL (mysqld) server/daemon process with the –skip-grant-tables option so that it will not prompt for Continue reading Recover MySQL root password→

Posted in mysql | Tagged mysql | Leave a reply

Oracle XE Tuning

Posted on December 4, 2008 by lalit — 2 Comments ↓

In order to use Oracle XE under normal load, database sessions and processes need to be increased. This could be some as follows: SQL> show parameters sessions SQL> alter system set sessions=250 scope=spfile; SQL> show parameters processes SQL> alter system Continue reading Oracle XE Tuning→

Posted in oracle | Tagged oracle | 2 Replies

Access parent window from modalDialog

Posted on August 15, 2008 by lalit — No Comments ↓

When you call showModalDialog() you need to pass “self”, without the quotes, as the second argument. You can then access the parent(opener) with: var opener = window.dialogArguments; You can then access any function declared in parent window with: opener.myFunction();

Posted in general web, javascript | Tagged javascript | Leave a reply

Resize image in PHP

Posted on July 27, 2008 by lalit — No Comments ↓

Uploaded images from user can be of any size.  If you need to use these images, they need to be resized upon upload. Here is a helper class to manage resizing of the images. Let me know if you find Continue reading Resize image in PHP→

Posted in php | Tagged php | Leave a reply

Enable register_global through .htaccess

Posted on June 17, 2008 by lalit — No Comments ↓

I would not recommend to enable register_globals, but if you need to enable the register_globals for a particular web folder, you can edit the .htaccess file and append the following to it php_flag register_globals on Restart apache and you are Continue reading Enable register_global through .htaccess→

Posted in apache, php | Tagged apache, php | Leave a reply

Mounted cifs folder does not display images

Posted on June 17, 2008 by lalit — No Comments ↓

To host a test website, I had mounted a folder on my Linux server from my Vista machine.  When I opened the browser and went to the website, I was unable to view the images.  The website worked fine except Continue reading Mounted cifs folder does not display images→

Posted in apache | Tagged apache | Leave a reply

PHPImpact: 30 useful PHP classes

Posted on May 30, 2008 by lalit — No Comments ↓

PHPImpact has posted 30 useful PHP classes here. Which ones do you use? I have used the following: Propel phpDocumentor Securimage Smarty Still a lot more interesting ones which I haven’t tried.

Posted in php | Tagged php | Leave a reply

How to RDP Vista Home Premium with SP1

Posted on May 30, 2008 by lalit — No Comments ↓

Previously I had written a blog entry to enable RDP on Vista Home Premium. After installing SP1, I realized that I could not connect to my machine.  After a little search in google, I found the same group has done Continue reading How to RDP Vista Home Premium with SP1→

Posted in Windoze | Tagged vista | Leave a reply

PHP single quotes Vs double quotes

Posted on May 27, 2008 by lalit — 1 Comment ↓

Any time you put something in “double” quotes, you are asking PHP interpreter to check that content for a variable. So even though the line do not contain variables within the double quotes, PHP will waste precious computing time scanning Continue reading PHP single quotes Vs double quotes→

Posted in php | Tagged php | 1 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