Popular recipes by Gian Mario Tagliaretti http://code.activestate.com/recipes/users/1969985/2004-08-12T17:21:25-07:00ActiveState Code RecipesConnect to an IRC server and store messages into a file (Python)
2004-08-12T05:08:32-07:00Gian Mario Tagliarettihttp://code.activestate.com/recipes/users/1969985/http://code.activestate.com/recipes/299411-connect-to-an-irc-server-and-store-messages-into-a/
<p style="color: grey">
Python
recipe 299411
by <a href="/recipes/users/1969985/">Gian Mario Tagliaretti</a>
(<a href="/recipes/tags/network/">network</a>).
</p>
<p>You want to connect to an IRC server, join a channel and store private message into a file on your hard disk for future reading.
I haven't tried but I think you can execute this code from an hosting always connected to the internet and read the message through a web browser.</p>
Root access required to run a script (Python)
2004-08-12T17:21:25-07:00Gian Mario Tagliarettihttp://code.activestate.com/recipes/users/1969985/http://code.activestate.com/recipes/299410-root-access-required-to-run-a-script/
<p style="color: grey">
Python
recipe 299410
by <a href="/recipes/users/1969985/">Gian Mario Tagliaretti</a>
(<a href="/recipes/tags/network/">network</a>).
Revision 2.
</p>
<p>You don't want that a user can run a particular script, just add this two lines at the beginning of your code.</p>
Backup all your config files in once (Python)
2004-08-11T17:43:37-07:00Gian Mario Tagliarettihttp://code.activestate.com/recipes/users/1969985/http://code.activestate.com/recipes/299271-backup-all-your-config-files-in-once/
<p style="color: grey">
Python
recipe 299271
by <a href="/recipes/users/1969985/">Gian Mario Tagliaretti</a>
(<a href="/recipes/tags/sysadmin/">sysadmin</a>).
Revision 2.
</p>
<p>You want to always keep a copy of your config files, just in case...</p>