Compdigitec Labs

Linux

Deepen an existing shallow clone with git

Tuesday, January 31st, 2012

In git, the new revolutionary DVCS system, to shallow clone a repository means to check out only the latest snapshot of a git repository, unlike a normal clone which pulls the entire repository. A shallow git repository can save bandwidth and take up less space. However, let’s say that once you checkout the project, compile […]

Operating systems and car dealerships

Friday, November 4th, 2011

An excerpt from the essay In the Beginning was the Command Line (CC BY-SA 2.0) by Michael Foord. The analogy between cars and operating systems is not half bad, and so let me run with it for a moment, as a way of giving an executive summary of our situation today. Imagine a crossroads where […]

Geany 0.21 Debian pacakge for Ubuntu/Debian

Tuesday, October 25th, 2011

The version of Geany provided with the repository in Ubuntu is a bit outdated (0.18) by two years, so we have also decided to produce an updated version (0.21) for use on Ubuntu 10.04 LTS and other versions of Ubuntu. Download Debian package (5.7 MB) RPM package (5.7 MB) Compiling

Updated version of YASM v1.1.0 for Ubuntu

Monday, October 24th, 2011

The version of YASM provided with Ubuntu 10.04 is a bit outdated (0.8, updated in 2009) and is not sufficient enough to compile Mozilla Firefox. Therefore we have decided to compile an updated package of YASM v1.1.0 instead. Download yasm-compdigitec-unofficial_1.1.0-1_i386.deb (Debian Package, 1.8MB) yasm-compdigitec-unofficial_1.1.0-1_i386.rpm (RPM Package, 1.8MB) Compile your own copy

Light build of Mozilla Firefox

Thursday, June 30th, 2011

Most of the time, a stock Firefox installation from Mozilla’s website or the apt repository usually works just fine on most machines. However, if you prefer a more plain and vanilla Firefox install without all the latest bells and whistles, then one can manually compile a build from source code. This has the advantage of […]

Distributing small Java applications (i.e. convert to EXE)

Saturday, April 30th, 2011

Many times it can be said that it is not very friendly getting a .class file to run. Here is a better way to get them to run – it involves first converting it to an executable .jar and then optionally converting to an executable file on Windows. Prerequisites: Java compiler and JRE It is […]

Setting up a ProFTPd port-based VirtualHost

Sunday, February 13th, 2011

ProFTPd is a very powerful FTP server software that is most commonly used on Linux servers to provide a FTP service to the public, Intranet or Web Services. ProFTPd, much like its HTTP counterpart, Apache, contains the ability to host multiple different services on one physical computer by using “Virtual Hosts”, which makes it appear […]

Redirect non-www domain to www in Apache

Monday, January 24th, 2011

Search engines will often consider the non-www and www sites of a domain as separate websites (example.com vs www.example.com). In order to solve this, you will often want to redirect the non-www part of the website (example.com) to the www part (www.example.com). So this way if your visitor types example.com or www.example.com they will wind […]

TilEm, a TI-83 Plus emulator for Linux

Thursday, December 2nd, 2010

Update: If you’re using Debian Jessie or Sid, tilem is now available in the repository. TilEm is a Z80 based emulator for the Linux operating system. It is capable all the Z80 based series of TI graphing calculators with the exception of the TI-81.This little emulator will emulate all the features of the hand-held graphic […]

Converting between int and std::string in C++

Saturday, November 20th, 2010 « Previous Entries Next Entries »