An AVL Tree im plementation in C
Here is an AVL tree implementation, a library called libmavl. You can download the source code as tarball:ftp://ftp.planix.org/pub/planix/libmavl-1.0.0.tgz Also you might want to run tests which requires to install libmutests you can download here:ftp://ftp.planix.org/pub/planix/libmutests-1.2.0.tgz You can browse the sour code via web:https://websvn.planix.org/listing.php?repname=PlanixRsrch.SVN
AC-Tube Open Source CAPWAP AC
Source code is now hosted on planix.org under https://fossil.planix.org/actube.fossil.
Determine default Gateway obtained via DHCP under FreeBSD
So, lets have a FreBSD installation that got an IP address via DHCP using dhclient, and you want to know in a shell script the assigned default gateway for the specific interface. You can use the following little script which prints the IP address of the default gateway to stdout. Assuming you have the script… Read More »
Creating a VirtualBox Machine to Install Plan 9
Creating a VM in VirtualBox to run the Plan 9 operating system is pretty straightforward. Create a new virtual machine of type "Other" and version "Other/Unknown", then click "Next". Select a memory size of your choice. This could be in a range from 32 MB to what your host is able to serve. In our… Read More »
Sudoku Solver Source Code
Here is the source code of one of the most used sudoku solvers. It serves the this online sudoku solver.
How to edit OpenSeSim Source Code in Netbeans
OpenSesim is an open source stock exchange simulator, where you can find the source code on Github here. To work with the source code on OpenSesim it's recommended to use the Netbeans IDE. If you are using Ubuntu 18.04, you can find here instructions to install Netbeans. You can clone the source directly in Netbeans.… Read More »
Install Netbeans 8.2 on Ubuntu 18.04
First you have to install OpenJDK 8 because Netbeans doesn't work with OpenJDK 11 which is installed on Ubuntu 18.04 by default. sudo apt-get install openjdk-8-jdk Next download here the Netbeans installer of your choice for Linux. If you chose Netbeans IDE Java SE you should get the file: netbeans-8.2-javase-linux.sh. Now start the installer, setting… Read More »
Aironet AP IOS Recovery - Flashing an AP 1142N or a Similar Device using TFTP on Ubuntu/Debian
Ok. You want to flash the firmware of a Cisco 1140, Cisco 1130 or any other Aironet AP. So, download here the desired image you want to install, if you haven't already done so. To install the image we have to setup a TFTP server on our Ubuntu/Debian system. We assume you have opened a… Read More »
Bad Coding Style (I)
Look at the following PHP code snipped. It's a function which calculates the product of its two arguments and returns the result if both arguments are of type integer. Otherwise the function returns false. So far so good. The function does what it should do, and I have seen a lot of functions written this… Read More »