Linux
Fractal Mountain Generation with Qt and OpenGL
Midpoint Displacement Formula
Data encryption in Linux using Truecrypt
Personal data security is often overlooked by many computer users today. As people use their computers more, they never stop to think about how much personal data is accessible on their hard drive. I have been looking for a safe and convenient way to deploy cryptology in Linux. So far Truecrypt has been the best choice. It is very convenient and cross platform. This story will show how to use it on Ubuntu Linux along with some basic data safety principals.
A quick word about data in Linux
One of the first things that fascinated me about Linux is devices are treated as files. For example if you have an IDE hard drive, it is located at /dev/hda or a SCSI hard drive is located at /dev/sda. This is true about all devices in Linux including serial ports /dev/ttyS0 and sound cards /dev/dsp.
You could output the data from these devices as they where any other file, for example you could redirect the data from your hard drive to the standard output using
Basic Stamp tokenizing and flashing from the Linux CLI
For those of you who aren't familiar with the Basic Stamp, its a small microcontroller available from Parallax. It runs at a whopping 20Mhz and has a full 2K of storage on board for instructions. Although it may not sound like much, its more than enough to program the stamp to do some interesting things. The Basic Stamp is programmed in PBASIC, parallax's version of BASIC the stamp interprets.
Rather than waste your time explaining the coolness of the Basic Stamp, (if you've found this page you're probably already interested) I want to focus on how it can be utilized under linux. Currently, Parallax has a very nice PBASIC IDE but its available for windows only. It can however be run under Wine, and with the proper font settings it doesn't look too horrible and is quite functional. But what is the fun in that?


