Posts

Showing posts from February, 2010

RAW to Jpeg image conversion script for Nautilus Actions Configuration

This script is dependent to UFRaw. Install UFRaw in order to convert. xterm is used to run the UFRaw simply because to show the progress of the conversion. Nautilus-actions parameters: %d "%M" #!/bin/bash export FILE_PATH=$1 export FILE=$2 #Create directory if [ ! -d $FILE_PATH/Converted_JPEGs ];     then mkdir $FILE_PATH/Converted_JPEGs; fi; #Convert RAW image file to Jpeg xterm -e "ufraw-batch \         --wb=camera \         --exposure=auto \         --out-type=jpeg \         --compression=96 \         --overwrite \         --out-path=$FILE_PATH/Converted_JPEGs \         $FILE"

This blog is not being indexed

Image
I wonder what is happening with Blogger or Google these days. I remember last time when i submitted a sitemap for indexing, it took almost instantly for Google to index my older blogs. Sigh. A short search in the internet returns some suggestion but no solid confirmation. One suggestion is to remove the include data="blog" name="all-head-content" tag from the html source to enable the search engines index this blog. Now i have removed it and waiting to see if the blog got index in few days time. Reference: Google Not Indexing Your Blogs ? Remove <$BlogMetaData$> from Blogger Template - Digital Inspiration: My New Site is Still Not Indexed, what should I do next? - Blogger Help:

Winscp to Putty without PuTTY Portable Linker

Running PuTTY from portable WinSCP (with login info passed to PuTTY) would require PuTTY to be manually run at the same time. This will enable the WinSCP to run the PuTTY Portable Linker (PuTTYPortableLinker.exe) to link to PuTTY. To skip the hassle of PuTTY Portable Linker and running PuTTY manually, simply replace the PuTTYPortableLinker.exe with PuTTY.exe and rename it to PuTTYPortableLinker.exe. Note: Location of PuTTYPortableLinker.exe can be found at [Portable Apps Custom Install Path]\PortableApps\PortableApps\WinSCPPortable\App\winscp

Cheking if a named process is running

#!/bin/bash if [ "$(pidof process_name )" ] then      echo " process_name is running" else      echo " process_name is not running" fi References: Bash: Check if a program is running - LinuxQuestions.org