Examples
Here is some examples made during the studies. These will be mainly programs.
- SAS programming
- Linux network server
- Relational databases
- Ball grabbing game
- Tetris clone
- EDIFACT UBL transformation
- Role playing game
- Captcha image
- PizzaXML
- Simple text editor
- Saastalaskuri
- Password generation
- Kalibri
- Salax
Packages were virusfree when I uploaded them.If some criminal attacks them, it is not my fault. Programs are provided as-is and without any warranty. I recommend using virusscanner all the time and everywhere. Also it's advisable to check the MD5 checksum. You can use MD5 GUI for checking the checksum.
SAS Programming
Really rare opportunity to learn something useful came in summer 2009 when TUAS arranged a two week intense course on Base SAS programming.
During the course vast amounts of things were looked at. But thinking the whole of SAS it was just scratching the surface. Here are the notes of those things I managed to understand and memorize.
Document is available in PDF-format and can be redistributed using
license, mentioning Jari Kärkkäinen as author in bibliography reference.
Document: SAS_notes.pdf (233 KB)
Linux Network Server
Installing a test server using normal ADSL line and DDNS-service. Described in document are HTTPD, MySQL, PHP, SSH, VSFTPD, Virtual Hosts, HTTPS, SSL, creating certificates FTPES and quick glimse to monitoring the server.
Document is available in PDF-format and can be redistributed using
license, mentioning Jari Kärkkäinen as author in bibliography reference.
Document: linux_network_server_en.pdf (265 KB)
Relational databases
Small project document about database application design.
Document is available in PDF-format and can be redistributed using
license, mentioning Jari Kärkkäinen as author in bibliography reference.
Document: relational_databases_doc.pdf (380 KB)
Ball grabbing game
A small JavaScript game. Grab all the balls.
- Program: jsbilla.zip Contains everything needed
- MD5 sum: d5a4fe0fc8116bc223a9053ea1a26d3d
- Readme
- MIT license
- Game demo
- Fun demo
- Language: JavaScript and PHP 5
- Date: February 2009
Tetris clone
Classic game created with javasript. Uses JQuery for ajax functionality.
It is recommended not to use IE. Works with Firefox 3.5 and is usable with Opera 10.
- Program: tetrisclone.zip Contains everything needed
- MIT licence
- Play the game
- Language: JavaScript and PHP 5
- Date: Sometime 2007-2008
EDIFACT UBL transformation
Systems integation course final work was a project plan for EDIFACT message to UBL transformation. Project plan is very limited and does not contain any program for transformation. Universal Business Language v1.0 standard, among with many others, can be downloaded at http://www.oasis-open.org/specs/
Project plan is designed for Finnish environment, so you can guess what that means.
- Original EDIFACT message J-KESKUSLIIKE ORDERS911.EDI.TXT
- Transformet example message UBL jauhaja_ubl.xml
- Project planloppuprojektinsuunnitelma.pdf
- Date: December 2008
Role playing game
A small text based role adventure.
- Program and source: ARoleGame.zip Contains "Release" folder with windows binary and "src" folder with source files
- MD5 sum: 85c5f52cb0f6d9eec8610f9015bbcd62
- Language: C++
- Date: November 2008
CaptchaImage
Captcha can be used for example on forums and blogs to fight automated spambots. There are already several methods to do captcha, but here is yet an other. Here is also RandomString class which can be used to create passwords, see password generation.
- Program: kapsa.php
- Source: class_CaptchaImage.php
- Source: class_RandomString.php
- Source: kapsa.php
- Source: image.php
- Language: PHP5 with gd2
- Date: October 2007
PizzaXML
PizzaXML is sort of pizza price counter that uses xml-files as database. Program was done as a part of Programming language C# course.
Licenced under Creative Commons Attribution 1.0 Finland. Licence text in english
- Program: pxml.zip (146 kB, extracted about 248 kB).
- MD5 sum: d643ecfe7903f323aa1e41b79f35d8f9
- Start: Klikkaa PizzaXml.exe
- VS project (includes everything) PizzaXml.zip (415 kB, extracted about 1,1 MB).
- MD5 sum: b2a25571f59b1a8d5f99207d0a14ec9c
- Language: C#
- System requirements: .NET 2 or newer or equivalent
- Date: May 2007
Simple text editor
Simple text editor is very fastmade program, basicly a test of Eclipse Visual Editor plugin. Dev-time was in total some 15-17 hours. Visual editor regardless of language seems to be useful working with GUI's. Actual application logic it can not produce yet. Anyhow, it was fun and I'll propably continue using it.
Program package includes javadocs and a simple usermanual.
- Program: SimpleTextEditor.zip (69 kB, extracted about 390 kB).
- MD5 checksum: 6e3c2c58cc9a9afb31a21b71503b43c0
- Start: java -classpath bin editor.EditorStarter
- Language: Java
- System requirements: Java JRE 1.5 or newer or compatible
- Date: February 2007
Password generation
Password can be hard to come up with, so why not make it completely random? Program idea came to me on Introduction to Internet Technology classes. Program is fairly simple, but can be useful
- Program: salasanalistanluonti.php
- Source: Look at source
- Language: PHP
- System requirements: Internetbrowser
- Date: Autumn 2006
Saastalaskuri
Saastalaskuri is inspired purely by laziness. In Environmental Chemistry teamworks we were supposed to calculate some emissions of regular fuels. I made the program so we did not have to calculate them manually.
Program calculates CO2 and SO2 emissions of few common fuels when given amount of energy is produced. Calculations are simplified: it is assumed that burning is pure and full and no other carbon or sulphur combounds is formed.
Program is in Finnish only.
Download the program and extract it to a folder in which you have write permissions.
Program is started
with command java -classpath bin saastalaskuri.SaastaLaskuri. For Windows users there is also readymade
batch-file SaastaLaskuri.bat.
- Package: SaastaLaskuri.zip (12 kB, extracted about 23-40 kB).
- MD5 checksum: 72c1a389ea8f6ae4383d4c43f3765a56
- Start: java -classpath bin saastalaskuri.SaastaLaskuri
- Language: Java
- System requirements: Java JRE 1.5 or newer or compatible
- Date: Autumn 2006
Kalibri
Kalibri was made during summer of 2006. Its purpose is to help keeping track of machine maintenaces and validations.
Kalibri uses hsqldb as a database.
The program and all the documentation is in Finnish only.
- Package: Kalibri.zip (1,5 MB).
- MD5 sum: 6548839bb72d199ba464d5735cdec10a
- Start Win: java -classpath lib/hsqldb.jar; bin kalibri.KalibriStart or KalibriStart.bat
- Start Linux: java -classpath lib/hsqldb.jar:bin kalibri.KalibriStart or KalibriStart.sh
- Language: Java
- System requirements: Java JRE 1.5 or newer or compatible
- Date: Summer 2006
Salax
Salax was made at spring 2006 as a part of mathematics course unit Matrices and software design course unit Logical structures.
The basic idea is to crypt and decrypt text using matrix calculations. This is an examble of mathematics used in something semi-useful.
Program manages 100-200 lines long texts without considerable difficulties. Longer texts are not advised to be used.
Program is in Finnish only. Download the program and extract it to a folder in which you have write permissions. Program is started with command java -classpath bin salax.SalaxStart. For Windows users there is also readymade batch-file SalaxStart.bat. In Linux "Tietoja Ohjelmasta" might be empty because of some character encoding issues.
- Package: Salax.zip (23 kB, extracted about 50-70 kB).
- MD5 checksum: 7ebfacd8510717d8dc12edd06600ac6a
- Start: java -classpath bin salax.SalaxStart
- Language: Java
- System requirements: Java JRE 1.5 or newer or compatible
- Date: Spring 2006

