Description:

Have you ever wished you had a right click send-to-media.

This scripts gives options to send files/folders to media that is mounted.

Send to USB , HDD , CD/DVD ROM any media that is mounted !!



I was hungry for something new and tried this , send to usd or any media that is mounted on the machine , have a look at : sendtomeida

 

Description:

Have you ever wished you had a right click send-to-media.

This scripts gives options to send files/folders to media that is mounted.

Send to USB , HDD , CD/DVD ROM any media that is mounted !!



I was hungry for something new and tried this , send to usd or any media that is mounted on the machine , have a look at : sendtomeida

 

Description:

Have you ever wished you had a right click send-to-media.

This scripts gives options to send files/folders to media that is mounted.

Send to USB , HDD , CD/DVD ROM any media that is mounted !!



I was hungry for something new and tried this , send to usd or any media that is mounted on the machine , have a look at : sendtomeida

 

A mysterious virus , had changed the extensions of *.avi to *.jpeg , in on of friends portable harddisk , know the power of Linux , she asked can you write a small code to change the extensions , i gave it a try this way : 



for i in *.jpg; do j=`echo $i | cut -d . -f 1`; j=$j".avi"; mv $i $j; done


Further tried to make it more generic

#!/bin/bash
old=$(zenity --entry --text="Current extension" --title="Rename")
new=$(zenity --entry --text="New extension or name" --title="Rename")
for i in *.$old; do j=`echo $i | cut -d . -f 1`; j=$j".$new"; mv $i $j; done
zenity --info --text="Done"

Steps in images :

Catfish is a handy file searching tool for linux and unix. Basically it is a frontend for different search engines (daemons) which provides a unified interface. The interface is intentionally lightweight and simple, using only GTK+2. You can configure it to your needs by using several command line options.


Supported backends are find, (s)locate, doodle, tracker, beagle, strigi and pinot.


Dependencies: PyGtk2, Glade2, python-xdg (optional), dbus (for strigi and pinot)


For installation instructions read INSTALL.
For questions about the search backends please read their specific manuals.


You are encouraged to run ’catfish –help’ to check out the various command line options.


To install just paste this in your terminal : sudo apt-get install catfish 



As clear in the image , catfish can do different  search operations like find,locate,track and more.

Catfish is a handy file searching tool for linux and unix. Basically it is a frontend for different search engines (daemons) which provides a unified interface. The interface is intentionally lightweight and simple, using only GTK+2. You can configure it to your needs by using several command line options.


Supported backends are find, (s)locate, doodle, tracker, beagle, strigi and pinot.


Dependencies: PyGtk2, Glade2, python-xdg (optional), dbus (for strigi and pinot)


For installation instructions read INSTALL.
For questions about the search backends please read their specific manuals.


You are encouraged to run ’catfish –help’ to check out the various command line options.


To install just paste this in your terminal : sudo apt-get install catfish 



As clear in the image , catfish can do different  search operations like find,locate,track and more.

‘Chromium’ vs ‘Google Chrome’

Chromium is an open source browser project. Google Chrome is a browser from Google, based on the Chromium project.

This is a build of Google Chrome, released by Google for testing.

Early access release : dev-channel
 Dan Kegel (who admits to being a Chrome developer) writes to point out a post from Mike Smith and Karen Grunberg, Product Managers for Google Chrome, with some good news for non-Windows users who want to play with Chrome { Speaks on SlashDot}
“In order to get more feedback from developers, we have early developer channel versions of Google Chrome for Mac OS X and Linux (for a couple of different Linux distributions), but whatever you do, please DON’T DOWNLOAD THEM! Unless of course you are a developer or take great pleasure in incomplete, unpredictable, and potentially crashing software.”
“How incomplete? So incomplete that, among other things , you won’t yet be able to view YouTube videos, change your privacy settings, set your default search provider, or even print.Meanwhile, we’ll get back to trying to get Google Chrome on these platforms stable enough for a beta release as soon as possible …”
 
So go ahead download and report some bugs :)  

‘Chromium’ vs ‘Google Chrome’

Chromium is an open source browser project. Google Chrome is a browser from Google, based on the Chromium project.

This is a build of Google Chrome, released by Google for testing.

Early access release : dev-channel
 Dan Kegel (who admits to being a Chrome developer) writes to point out a post from Mike Smith and Karen Grunberg, Product Managers for Google Chrome, with some good news for non-Windows users who want to play with Chrome { Speaks on SlashDot}
“In order to get more feedback from developers, we have early developer channel versions of Google Chrome for Mac OS X and Linux (for a couple of different Linux distributions), but whatever you do, please DON’T DOWNLOAD THEM! Unless of course you are a developer or take great pleasure in incomplete, unpredictable, and potentially crashing software.”
“How incomplete? So incomplete that, among other things , you won’t yet be able to view YouTube videos, change your privacy settings, set your default search provider, or even print.Meanwhile, we’ll get back to trying to get Google Chrome on these platforms stable enough for a beta release as soon as possible …”
 
So go ahead download and report some bugs :)  
   Inspired by Scott’s FAST database implemented as a batch file and hasan.diwan@gmail.com bash script , i tired a bit more on it , it’s as below :


#!/bin/bash


fad()
{
echo “$1″ >> ~/.db
echo “Updated at $@”
}


f()
{
grep “$1″ ~/.db
}


fuse()
{
echo “f keyword to search”
echo “f -add or f -a to add “
}


case “$1″ in


-a |-add |–add) fad “$2″
;;

“”) f “$*”
;;

*) fuse
;;


esac

For the input either use bash’s tab completion, which will automatically put in backslashes as appropriate, or the user should quote it.

Sample :

To add
$ f -a “hemanth.hm nerd +919449167054″
$


To search
$ f “nerd”
$ hemanth.hm nerd +919449167054

My sensiour thanks to  \amethyst and greycat , for teaching me best partices :)


To run the script as a command , place the script in /bin.



More graphical approach

                                                                                              

#! /bin/bash

fad()                        
{
echo “$1″ >> ~/.db
notify-send “Database Updated $@”
}

f()
{
res=$(grep “$1″ ~/.db)
echo “$res”
notify-send “$res”
echo “$res” | zenity –text-info
}

fuse()
{
echo “f keyword to search”
echo “f -add or f -a to add “
}

case “$1″ in

-a |-add |–add) fad “$2″
;;

“”) f “$*”
;;


*) fuse
;;

esac
Just  wonder  why not you tweet while coding from terminal , so tired this :
#! /bin/sh

user=”twitter-username”
password=”twitter-password”

echo “You want to tweet about ?”
read message 
curl -u  $user:$password -d “status=$message” “https://twitter.com/statuses/update.xml”

Rather disadvantage if your friend could read your script right ;)
So tired this :

__________________________________________________________________________________

#! /bin/bash
tweet()
{
usr=$(zenity –entry –text=”Username” –title=”Twitt”)
pwd=$(zenity –entry –text=”Password” –title=”Twitt” –hide-text)
msg=$(zenity –entry –text=”Tweet” –title=”Twitt”)

if [ "$usr" = "" ]; then
zenity –info –text=”UserName invalid”
tweet
elif [ "$pwd" = "" ]; then
zenity –info –text=”Invalid Password”
tweet
elif [ "$msg" = "" ]; then
msg=”www.h3manth.com”
fi
}

tweet
URL=”https://twitter.com/statuses/update.xml”
curl -u ${usr}:${pwd} -d status=”${msg}” ${URL} -k -s > /dev/null

if [[ $? = 0 ]];
then
zenity –error –text=”You couldn’t twitt , check if everything is fine ” –title=”Twitt”
exit 0
else
zenity –info –text=”$msg is twitted” –title=”Twitt”
exit 1
fi

__________________________________________________________________________________

Join hands :  twitty

« Previous PageNext Page »