==Astrophysics== N: Coala L: Python U: SOAR Telescope Integral Field Unit data simulator. A complete data simulator for the IFU spectrograph. Simulates all aspects of data output for testing and planning purposes. Please refer to Coala's page for full information. F: coala I: coala.jpg N: Lumin L: C U: Integrates an elliptical galaxy luminosity profile (Sersic's ou de Vaucouleurs') to obtain the total extrapolated galaxy luminosity. Astronomers interest only. F: lumin_04.c F: lumin.h N: Elldisc L: C U: Galaxy Dynamics -- elldisc simulates the projected mass of and arbitrary ellipsoid (a model of an elliptical galaxy) in an arbitrary direction, so projected and intrinsic properties can be compared. Remember: astronomers only see the projected quantities. Full documentation inside. F: Elldisc-0.93.tgz I: elldisc.jpg N: Ellipsis L: C U: Calculates semi-axes lengths, inclination angle and ellipticity of an ellipse. Only for those acquainted with elliptical galaxies, maybe. F: ellipsis.c N: Fotomultiplier-Magnitude L: C U: In early days (:-) we used to calculate a star magnitudes using counts from a photomultiplier in telescope's focus. This little program does the calculations. You are not interested in it, no? F: fotomultiplier-magnitude.c N: NED-Phot L: Perl U: Searches a NED photometry batch job result and separates data by galaxy and for type. Astronomers use only (or Perl Regexp students)... F: NED-phot.pl F: NED-ponfot.dat.gz N: Classif L: Perl U: It reads the IRAF/Nfit1d output and rearranges the output values. If you don't know what IRAF is, you not likely to need this, although you could learn some Perl in it. F: classif.pl N: Prugniel-Slicer L: Perl U: Organizes the data from Prugniel A&AS 1998, 128, 299-308. Astronomers... F: prugniel-slicer.pl N: Solar-Atmos L: C U: Calculates a solar atmosphere model, based on Eva Novotny, Stellar Atmospheres. F: solar-atmos.c ==Image Processing== N: SinMax L: C U: Creates a FITS image with a 3D sin() pattern in it. It was created to test other software. Uses cfitio library. F: sinmax.c F: sinmax.Makefile N: TransPolar L: C U: Makes an image transformation from cartesian to polar coordinates, i.e., from (x,y) to (rho,phi). Useful for making image Fourier transforms. F: transpolar.c I: estrutura.jpg I: estruturapolar.jpg I: ildo.jpg I: ildolar.jpg N: Ascii2fits L: C U: Converts a text data file on a FITS image file. Maybe useful mostly for astronomers. F: ascii2fits.c F: ascii2fits.Makefile N: Bmp L: C U: Simple program to read the graylevels from a BMP image file. F: bmp.c I: af.jpg I: af3d.jpg ==Instrumentation/Interface== N: Motor-Passo L: C/Linux U: An evolution from led-menus. This one controls a stepper motor through the parallel port. Now in Linux. The stepper motor it is not included in the distribution. F: motor-passo.c F: motor-passo.h F: motor-passo.Makefile N: Led-Menus L: C/DOS U: It drives leds connected to the parallel port on and off on animated sequences. You can make you computer control your christmas tree in a very akward way. Made to test parallel port control under DOS :( F: led-menus.c N: Serial Read L: C U: Reads the serial port on Linux with both cannonical and non-cannonocal methods. It was written to interface a multimeter. Based on Serial Programming HOWTO F: serial_read_canon.c F: serial_read_not_canon.c F: serial_read.Makefile ==Utilities== N: Imobil L: Php, MySQL U: A database driven webpage designed to manage houses and apartments sells and rents. Permits including imagens, descriptions, etc... Written in Php and MySQL. Complete. F: FFerrari-ImobilDB.tgz N: Agenda L: Perl U: A simple shell address book, with names, addresses, etc. Simple and useful. It stores the data in a simple textfile. Exports in HTML. Also useful to learn some Perl tricks with FORMAT for example. Includes a X version with Perl/Tk. F: agenda_0.21.pl F: xagenda.pl N: Backup-System L: Tcsh U: A set of shell scripts to make system backup with a CDRW drive. Put in your crontab and sleep well :-) F: FFerrari-backup-cdrw.tgz N: Consumo-Carro L: C U: Calculates the average car fuel consumption. More didactic than anything else. F: consumo-carro.c F: consumo-carro.pdf N: Espacios L: Perl U: Travels in the current directory tree replacing all spaces and strange characters form filenames by underscore ('_'). F: espacios.pl N: TeXplate L: Tcsh U: This script creates a skeleton of a LaTeX file with all needed to start typing: documentclass, usepackages, document, title, author... F: texplate N: Cplate L: Tcsh U: The same as TeXplate but for C, instead. F: texplate N: SwapNetWin L: WinNT shell U: Utility script to change the network configuration on a Windowze system. It uses netsh utility that comes with Win 2000/XP to change the network config with a .bat file. Before using it, edit the end of the files config-casa.txt ('casa' means home) and config-trabalho.txt ('trabalho' means work), where IP address are defined. It also comes with an auto.bat script to activate the interface via DHCP. F: swap-net-win.zip N: Convertejpg L: Tcsh script U: It converts a set of JPG images in the current directory to lower resolutions. Damn simple, but useful F: convertejpg.csh N: Bateria L: Perl U: It reads the acpi command line output and warns the user in the shell. Useful if defined as 'periodic' in the TCSH shell. F: bateria.pl N: publicar.pl L: Perl U: Generates the page you are reading from a description file. F: publicad.pl F: descricao.txt ==Example Code== N: Exponential L: C U: Compares the math.h exp() function with one of its own, calculated by series expansion. Interesting to those who believe in all the numeric built in functions blindly. F: exponential.c N: Malloc_martiz2d L: C U: Example of dinamic matrix allocation in C. It is here so I can consult it now and then. F: malloc_matriz2d.c N: Mesma_linha L: C U: Silly progress indication in the shell using |/-\ characters. F: mesma_linha.c N: Pilha L: C++ U: A simple C++ stack implementation example. (I was learning C++ :-) F: pilha.cpp