PasteRightIntoKonversation

InfoInfo
Search:    

Home | ComputerStuff > TipsAndTricks | Contact.

  1. Download [WWW]pastie.py, put it in your ~/SCRIPTS/ folder

  2. Add this to your .bashrc

function pastie {
    echo usage: pastie channel code.src msg
    echo debug: 'qdbus org.kde.konversation /irc say 0 $1 $3 $(~/SCRIPTS/ -p $2)'
    qdbus org.kde.konversation /irc say 0 $1 "$3 $(~/SCRIPTS/pastie.py -p $2)"
}
  1. Use like this (click to enlarge):

$pastie channel sourcefile "your message".

pastie.png

Tadaaaaaaaaa

http://www.idealaunch.com/blog/wp-content/uploads/2009/10/fatso_keyboard_cat.gif

____________________________________________________________________________________________________
To comment or ask questions, you may prefere to Contact me directly, as I get no notification when you post a comment in here.

[WWW]Je suis parrain Linux http://i.imgur.com/ui89F.png.

Si vous êtes dans ma région et que avez besoin d'aide pour installer linux, vous pouvez me contacter
Sinon, [WWW]vous pouvez chercher un parrain dans votre région.

Comments:

Note: You must be logged in to add comments

This is a Wiki Spot wiki. Wiki Spot is a 501(c)3 non-profit organization that helps communities collaborate via wikis.