Command to redirect nohup output to a different file other than default nohup.out
# nohup somecommand > somefile 2>&1
Wednesday, August 26, 2009
Tuesday, February 17, 2009
Best Practises - Universal context of Computer Programming..
Nice article on Programming best practices.
http://ocpsoft.com/best-practices/universal-context-of-computer-programming
http://ocpsoft.com/best-practices/universal-context-of-computer-programming
Tuesday, January 6, 2009
Install multiple versions of FireFox and Run them simultaneously
Install Multiple versions of firefox in XP
http://www.speedbreeze.com/2008/01/01/install-multiple-versions-of-firefox-on-windows-xp/
Run them at the same time using Windows Shell Scripts.
http://dojotoolkit.org/node/209
Examples of Windows Shell Scripts:
Firefox2_0_0_2.wsf:
----------------------------
<?xml version="1.0"?>
<package>
<job id="Firefox:2.0.0.2:Loader">
<?job debug="true"?>
<script language="javascript">
var shell = WScript.CreateObject("WScript.Shell");
var env = shell.Environment("User");
env("MOZ_NO_REMOTE") = 1;
shell.Exec('C:\\Program Files\\Mozilla Firefox\\firefox.exe -P "FF_2_0_0_2"');
env("MOZ_NO_REMOTE") = 0;
</script>
</job>
</package>
FireFox3_0-5.wsf:
------------------------
<?xml version="1.0"?>
<package>
<job id="Firefox:3.0.5:Loader">
<?job debug="true"?>
<script language="javascript">
var shell = WScript.CreateObject("WScript.Shell");
var env = shell.Environment("User");
env("MOZ_NO_REMOTE") = 1;
shell.Exec('C:\\Program Files\\Mozilla Firefox 3.0.5\\firefox.exe -P "FF_3_0_5"');
env("MOZ_NO_REMOTE") = 0;
</script>
</job>
</package>
http://www.speedbreeze.com/2008/01/01/install-multiple-versions-of-firefox-on-windows-xp/
Run them at the same time using Windows Shell Scripts.
http://dojotoolkit.org/node/209
Examples of Windows Shell Scripts:
Firefox2_0_0_2.wsf:
----------------------------
<?xml version="1.0"?>
<package>
<job id="Firefox:2.0.0.2:Loader">
<?job debug="true"?>
<script language="javascript">
var shell = WScript.CreateObject("WScript.Shell");
var env = shell.Environment("User");
env("MOZ_NO_REMOTE") = 1;
shell.Exec('C:\\Program Files\\Mozilla Firefox\\firefox.exe -P "FF_2_0_0_2"');
env("MOZ_NO_REMOTE") = 0;
</script>
</job>
</package>
FireFox3_0-5.wsf:
------------------------
<?xml version="1.0"?>
<package>
<job id="Firefox:3.0.5:Loader">
<?job debug="true"?>
<script language="javascript">
var shell = WScript.CreateObject("WScript.Shell");
var env = shell.Environment("User");
env("MOZ_NO_REMOTE") = 1;
shell.Exec('C:\\Program Files\\Mozilla Firefox 3.0.5\\firefox.exe -P "FF_3_0_5"');
env("MOZ_NO_REMOTE") = 0;
</script>
</job>
</package>
Subscribe to:
Posts (Atom)