August 24, 2006

[Utils] Scott Hanselman’s 2005 Ultimate Developer and Power Users Tool List

Filed under: Links to note — HanaDaddy @ 11:57 pm

Many of the utilities introduced in this site is related Microsoft .NET development. However, you may find very interesting power utilities such as Notepad2 , Windows Desktop Search, TaskSwitchXP , and SysInternals .

http://www.hanselman.com/blog/ScottHanselmans2005UltimateDeveloperAndPowerUsersToolList.aspx

[Util] Web Developer Debugger using Browser

Filed under: Links to note — HanaDaddy @ 11:56 pm

Internet Explorer Developer Toolbar
http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en

For FireFox
Venkman Javascript Debugger
http://www.mozilla.org/projects/venkman/

WebDeveloper Extension
http://chrispederick.com/work/webdeveloper

[shell] sed replace to \n

Filed under: Programming — HanaDaddy @ 11:55 pm

sed is utility to replace particular text with new text in files.

s/// doesn’t work with \n
use y/// for \n replacement

sed 'y/ /\n/g'

Or you can use ‘tr’

$> tr -s '~' '\n' < inputfile > outputfile

[shell] removing ^M : Dos text to unix

Filed under: Programming — HanaDaddy @ 11:52 pm
tr -d '\015' < inputfile > outputfile

Detecting ^M (\r\n)

Note that “^M” is “Cntrl+V and Enter” Key

#!/bin/sh
 
if grep "^M" $1 > /dev/null
then
   echo $1 contains DOS Carriage Return
fi

[shell] find command

Filed under: Programming — HanaDaddy @ 11:50 pm

Check $path folder for the files that are older that 7 days and delete them.

 find $path 2>>$DLOG -mtime +7 ! -exec rm -rf {} \;

check man page

Page 3 of 8«12345»...Last »
 

41 queries. 0.393 seconds. Powered by WordPress