Archive

Archive for the ‘Uncategorized’ Category

Eclipse tomcat work and deploy folder location

October 30th, 2009

workspace\.metadata\.plugins\org.eclipse.wst.server.core\

pjdc Uncategorized

Extend IBM Websphere Trial Period

October 13th, 2009

How to Extend IBM Websphere Trial Period. This is applicable at least form IBM Webshpere 6.1 and 7.

Simple delete the $WAS_HOME/properties/was.license file. When restarting the WAS server, the file will be recreated and the eval period restarts.

This avoids full reinstall of the product :)

pjdc Uncategorized

Untar a tar.gz file in php script

June 8th, 2009

how to untar a tar.gz file in php script

  1. <?php
  2.  
  3. system("tar -zxvf filename.tar.gz");
  4.  
  5. ?>

pjdc Uncategorized

Run scripts at startup

February 20th, 2009

To run scripts or programs at startup on a linux/unix machine.

create a sh script in /etc/init.d
create a link on rc3.d or rc5.d pointing to the previous created script

pjdc Uncategorized

SeLinux does not Allow Dropbox to work

February 16th, 2009
SELinux is preventing dropboxd from loading
/home/chad/.dropbox-dist/libSDL-1.2.so.0 which requires text relocation.

Fix Command:

chcon -t textrel_shlib_t '/home/chad/.dropbox-dist/libSDL-1.2.so.0'

full fedora bug description here

pjdc Uncategorized

Scrum Cheat Sheet

February 16th, 2009

List of open ports on a linux machine

February 16th, 2009
netstat -an|grep LIST

pjdc Uncategorized

find files on linux / unix

February 16th, 2009

Calculate the index database of yur file sytem with:

updatedb

this may take some time for the first time. So just do the following command to search files. Supports wildcards:

locate filename

pjdc Uncategorized

kill a Windows process from the command line with taskkill

June 26th, 2007

[tag]taskkill[/tag] usage
To kill a process by name:

taskkill /IM notepad.exe

To kill a single instance of a process, specify its process id (PID).
For example, if the desired process has a PID of 827, use the following
command to kill it:

taskkill /PID 853

pjdc Uncategorized, windows

ClearCase – Find view private files

March 16th, 2007

In a VOB dir,
cleartool> ls -recurse -view_only

Technorati Tags:

pjdc Uncategorized