| free hosting image hosting hosting reseller online album e-shop famous people | ||
![]() ![]() |
||

Python
- Psychedelic Colour Therapy -
Here is a little something i did for an Internet Programming excersize. Enjoy
File(colortherapy,"The page where its at!, you can get the sources there too")
Dependencies (Java Runtime Environment)
- Monitor Thingy
Its usually against my belief to call something thingy, but in this case I couldnt think of anything else. This program reads a windows monitor.inf file and retrieves information about a monitor driver. This is usefull if you have *nix and no idea what your monitor specs are for the X config file. All you need to do is go the windows inf folder and copy all the monitor[n].inf from the directory, and then change the code to read the monitor file of your choice.
Files(monitorthingy.py,"The script that does everything")
Dependencies (Python 2.4.2)
- pygmIRC -
These scripts connect mIRC and Python Scripts and allows you to catch mIRC events in a threaded manner. The reason I wrote this script was mostly as an experiment. It uses TCP/IP and exchanges data in such a way that you can write python scripts for mIRC. Flow control was the first obvious issue when creating this script, but I have seemed to solve that problem(I havent stress tested it yet). You may connect multiple scripts to mIRC. Note this script can pose a huge security threat, so be very very carefull what you do with it. Theoretically someone can remotely connect a python script and control you mIRC with it. Be warned. If you have any suggestions on how to implement simple and effective security please email me. Enjoy!!!
Files(
(pyBase.py,"Contains the object class to connect to mIRC"),
(TTcpClient.py,"The threaded TCP Client class"),
(example.pyw,"An example of how to do commands, get identifiers/variables and capture events"),
(pyIntegration.mrc,"The mIRC script that interacts with the python scripts"))Dependencies (Python 2.4.2,mIRC 6.16)
Installation: Load the mIRC script pyIntegration.mrc, copy all the python scripts to a pyScripts directory in your mirc directory, restart mIRC and use /py.call example.py in your status window to test it. Note that you might want to change the example to read an existing variable value, I would do this, but there is no way of knowing which variables exist in your mirc installation.
- BondEdit -
BondEdit is a Text editor similar to notepad, the difference is that is geared towards all developers in addition to people who just want to edit text files. It has a "pipe to" feature that allows you to execute a command with the file your editing. I have used bondedit to compile java apps, its really simple. All you do is select pipe to and type "javac -verbose "%file". Wherever you put %file, it will be replaced by the file your editing. You can also grab the output form a command. This saves you from having to open a shell just to do stuff like that. Bondedit works pretty well under win32, but has some trouble under GTK. This is due to differences in the GTK text control. You can also visit the sourceforge page, which is much more likely to contain an up to date version of the application. It also has a windows binary distribution with an NSIS installer, making it really easy to use and install without needing python or wxpython.Files(BondEdit.pyw, "The main window and everything else" )
Dependencies (Python 2.4.2, wxPython 2.6)
- PyFreezer -
PyFreezer is an interface to cx Freeze, which is an application that allows you to create binaries from your python source files. This is really usefull if you want to hand your binaries to people who dont have python or wxpython. PyFreezer is just an interface, and therefore youll need to download cx freeze, and then copy PyFreezer into the cx Freeze folder. I have not tested it in *nix yet, but I'm sure it should work :).
Files(PyFreezer.pyw, "The windowed Python Script")
Dependencies (Python 2.4.2, wxPython 2.6,cx Freeze)
- V-Netstat -
This is yet another simple program. It opens a pipe to the netstat command and shows the information in a nice listbox. I don't intend on further developing it, so you have carte blanche with the code. I would rather pursue the *nix version called V-Sockstat. Some ideas i had in mind is to add a portlist file, that shows the name of all services, and an analasys that shows potential dangerous ports. But thats all up to you, if you wish to enhance it. Please send me any modified code.
Files(Vnetstat.pyw, "The windowed Python Script")
Dependencies (Python 2.4.2, wxPython 2.6)
- V-Sockstat -
Here is the *nix version of V-Netstat. It simply pipes the sockstat command to a list control for easy viewing.
Files(sockstat.pyw, "The windowed Python source File")
Dependencies (Python 2.4.2, wxPython 2.6)
- makedoc -
This little script will create an index of all the html files in /usr/share/doc directory. It looks for index.html files and then looks for the title tag in each of those files, writes an docindex.htm file that contains the titles of all the index.htm.documents of the /usr/share/doc directory. I wrote this utility for FreeBSD and would like to adapt it a bit in the future. It uses the glob module. makedoc also supports the use of cascading stylesheets. This is an incomplete program idea for unifying documentation on FreeBSD into a single centralized documentation source. The problem is that many documents are still .txt files or postscript and some are even pdf, and excratcting a title from a pdf document could be too complex.
Files(makedoc.py, "The python command line script" )
Dependencies (Python 2.4.2)
- vidcardinfo -
This scipt was written for FreeBSD. It shows information about your videocard in a small window. The sizers make this program ugly, but it works fine. Do with it what you will!
Files(vidcardInfo.py, "The windowed python script")
Dependencies (Python 2.4.2, wxPython 2.6)
- Backupreminder -
This is a small program that reminds you when to backup by checking the size of a directory repeatedly until it reaches the size limit that you specify. This program can be extended to be more user firendly, at the moment though, you'll have to edit the source code to get it to work for you, also youll need to put it somewhere in a startup folder or script.
Files(
(BackupReminder.pyw,"The main program"),
(FSIndex.py,"The module that recursively peeks into the directory"),
(MessageBox.py,"The module that allows the silent program to show an info message"))Dependencies (Python 2.4.2, wxPython 2.6)
- TCP modules -
These TCP modules I wrote are threaded, but only with their reading methods, an error function can also be specified to each allowing you to read error data from the socket. This is the simplest way that i could think of implementing python sockets, because the python interface is already so simple, all this module does is incorporate threads into the program allowing you too bind functions to be executed by the thread in an event driven manner, I have provided a client and a server module, and examples to allow you to explore both.
Files(
(TTCPClient.py, "The tcp client module")
(client.py, "An example client" )
(TTCPServer.py, "The TCP server/listener module")
(example.py, "The example server application")
(License.txt, "The license to all these files"))Dependencies (Python 2.4.2)
C++
note: Please enable popups and javascript for this page. It's required for the buttons to work;
NameDescription: Size TextFile.h Loads a text file into a vector for easy access 7.86 KBHtmlWriter.h Simple class that uses TextFile to write to HTML, mainly just an example of the above class 2.19 KBStrTok.h Simplifies the C string tokenizer 877 bytes