|
Updated: August 12 2005 Thanks for dropping by. Things are slowly getting together as I've been adding content and updating code. More to come as I find the time so check back later if you don't find what you need right now. - Benjammin
|
SOURCE CODESome of the sources you will find here are written in pure C and others use elements from GTK, X-LIB and (maybe) SVGA-LIB. Most compile into useful programs but a few will just be here to demonstrate specific function calls that can be implemented into larger programs. More to come as I clean up my drives. ATV ( Another Targa Viewer )
An X-window application for viewing Targa (TGA) files. ATV uses only C and Xlib so its portable and doesn't rely on a specific window manager. While today its only a mildly useful program the sourcecode should help if you want to learn how to open and display images in pure X. GPORTAL ( external page - opens in new window )
This is the first program I wrote when I was looking into automation. It can be used to turn on/off pins 2-9 of a standard printer port. With the right hardware interface you can use it to control lights etc. I haven't updated it in years as the idea eventually morphed into Atomic Linux but it is helpful code to read if you're learning GTK. GPOVINI ( external page - opens in new window )
If you're a POV-Ray user and are tired of hand rolling your INI files then this GTK based program will help make the job easier. More details at the page. BTGA2POV ( external page - opens in new window ) This program will take a Targa (TGA) file as an argument and output a POV-Ray include file that has mapped each of the TGA's pixel colors to a POV primitive. In many ways its similar to other tga2pov utilities but optional arguments allow you to choose the kind of primitive. More details at the page. MACWAC ( gzipped tarball ) This command line utility allows you to change data in the structure of the kernel driver for an ether card by assigning a new MAC address. The inspiration for it comes from a similar utility called changemac. See the README for more info. |
SHELL SCRIPTSHere's a collection of bash scripts and hacks I've come up with or adapted over the years. INDEXER ( gzipped file ) Creates an html page with links to all files in a directory. Handy if you need to index a bunch of text files or random html pages. There's a few variables you'll need to adjust, the comments will guide you. MAN2TXT ( gzipped file ) Convert a "man" page into a printable text file. An old hack I can't claim credit for but I've added a few modifications. It takes either one or two arguments depending if you specify the section as well as the page. Running it without arguments generates a usage message. SUFFIX ( gzipped file ) This script allows you to rename the suffix of multiple files. Gives the total number of files renamed at the end. TOTAL ( gzipped file ) Gives you the total in bytes and kilobytes of files with the extensions you specify. Run it without arguments for a usage message. |
JAVASCRIPTHere's where I put JavaScript information and scripts. NEW WINDOW ( opens in new window ) This page shows how open a new window with a URL you specify using a link you create that changes color/pointer. |
HTMLThis section contains information and links that'll help you create and validate your web pages. The standards are changing with better browsers utilizing more tricks and Internet appliances plus other non computer based machines capable of surfing coming online. Its no longer enough to just know a few basic HTML tags to put up a web page. Now you've got HTML being replaced by XHTML with some DHTML (eg: JavaScript) and using CSS for layout. Then if you're into serving active pages it helps to know a little of PHP or ASP plus SSI. And there's also CGI which can use an interpreted langauge such as PERL or be a compiled executable. Lastly don't forget the bells and whistles like FLASH. All in all there's a lot to know these days if you're into serious site building. As I mentioned above there are more and more machines able to surf than just computers. There are also a fair number of browsers that can render sites differently from one to the next depending on among other things what operating system is being run and what font package is installed. Currently the most popular are Internet Explorer for Windows, Firefox/Mozilla for Linux/Unix and Safari for MacOS. They all seem to do a good job equally displaying a properly written page. Other popular browsers are Netscape Navigator, Opera and Konquerer which I understand do a good job as well (but I don't have them to test with). And of course the browsers that are and will be used on Internet appliances and those that are starting to be used for cell phones etc. Who knows what's in store for the future. As a result some standards have been set as to what constitutes valid Hypertext Markup Langauge and related. This applies to everybody from the writing of web pages to writing browser software to dealing with the server. If standards are adhered to then pages will display as intended and "paying" customers will stick around and/or come back. Give them a bad experience with wonky layout, links that don't work, things that don't display and they'll never return. And yes for the most part a good browser will more or less properly display mangled Hypertext but we're talking large programs with big appetites for memory so the authors can afford to install a dummy check. But they can't or won't catch everything and forget about light weight browsers fixing your errors. W3 SCHOOLS ( opens in new window ) The contents at this link can do a better job than I in teaching you how to use HTML, XHTML, DHTML, CSS, Javascript and more. Its a handy reference that I use all the time. HTML Validator ( opens in new window ) This is a link to the World Wide Web Consortium's html Validator. Checks your pages for valid html tags, syntax etc. An absolute must do if you want your page to be cross browser compatible CSS Validator ( opens in new window ) This is a link to the World Wide Web Consortium's CSS Validator. Checks your Cascading Style Sheet(s) for valid syntax etc. Another must do if you want your pages to display properly across different browsers. |
TUTORIALS & HOWTOSStill working on it ... text text text ... |
|
05552 |
|
|
LINUX LINKS |
||
|
The place to get Linux kernel source code |
||
|
A small C library |
||
|
The Swiss army knife of Linux utilities |
||
|
A nice light server |
||
|
More Linux links than you can shake a stick at! |
||
|
Lots of links to software and info |
||
MY OTHER SITES |
||
|
Turn an old PC into a useful appliance that runs from a floppy disc. Add networked automation or remote control to your home, work, anywhere. |
||
|
Download MP3s - blues, rock, country, classical. |
||
|
"Always a babefest!" The legendary Candadian rock club has its own pages. |
||
|
Tutorials and information on creating animations using the open source ray tracing software POV-Ray. |
||
|
Useful info and downloads for users of Main Concept's video compositing software MainVision. |
||