Home Home Archive Archive



JAN 21ST, 2004
Embedding Ruby in C++

Introduction Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, extensible, and portable. This class embeds the Ruby interpreter in a C++ application. Usage examples RubyEval& ruby = *RubyEval::instance(); ruby.eval("puts 'hello ruby'"); assert( NUM2INT( ruby.eval("1+1") ) == 2 ); assert(RubyEval::val2str(ruby.eval("'Regexp'.gsub(/x/, 'X')")) == "RegeXp"); Download Source tgz Class documentation Public Methods ~RubyEval () Read on


SEP 8TH, 2003
rawtest

rawtest is a tool to test throughput to raw devices. A raw device is an alternative interface to a block device where the linux kernel will not buffer anything. See raw(8) for more info. To create a raw device first make an empty partition that is at least $BLOCKS large (see fdisk(8), cfdisk(8)). Then attach the raw device to that partition (see raw(8)). Finally run rawtest on it. ALL THE DATA ON SUCH A DEVICE WILL BE DESTROYED! Read on


SEP 8TH, 2003
Tuning Linux for a Toshiba Satellite 1800-712

Overview Here are infos on how to tune Linux for better performance on the following hardware. It should apply to other machines than the specific Toshiba modell provided that some of your HW is the same. It is meant as a supplement to Enrico Segre’s page and jxh’s page that describe general configuration more in detail. Toshiba maintains quite good Linux pages. Useful tools are Jonathan Buzzard’s Toshiba Utilities, klaptop and apm. Read on


AUG 18TH, 2003
trickle

Trickle is a userspace bandwidth shaper. Debian’s unstable version can be found here. Below you can find trickle and the libevent library that it requires, compiled and build for the Debian “woody” release. The sources to trickle can be found at one of the two links above - no changes to the Debian version were required apart from a rebuid. trickle_1.06-1_i386.deb libevent0_0.6-5_i386.deb libevent-dev_0.6-5_i386.deb Enjoy! Tomas Pospisek Read on


AUG 14TH, 2003
C++ Selected Links & Notes

Language C++ Quick Reference (Original version in ASCII-Format) C++ Language Summary C++ Programming Style Guide (from C and C++ Style Guides) KDE App Programming Guidelines The KDevelop Programming Handbook: Programming C++?? : A Critique of C++ (3rd Ed.) Libraries CppUnit - Unit test framework for C++ Design Patterns (ZIP) The Standard Template Library GUI Toolkits for The X Window System Software Doxygen KDevelop Resources Cetus Links on Object-Orientation: C++ Oli’s C/C++-Links Read on
← Older Blog Archives Newer →

    Recent Posts

  • Qgiscloud Db Connection Error
  • How to configure unattended-upgrades of packages from third party deb package repos
  • Updating company-wide and your own hosts with apt-dater
  • Executing Tasks in docker-compose Containers From ansible

    Archive

  • 2025 5
  • 2024 5
  • 2023 7
  • 2022 6
  • 2021 8
  • 2020 6
  • 2019 10
  • 2018 3
  • 2017 3
  • 2016 4
  • 2015 7
  • 2014 9
  • 2013 17
  • 2012 13
  • 2011 29
  • 2010 26
  • 2009 17
  • 2008 9
  • 2007 4
  • 2006 18
  • 2005 2
  • 2004 8
  • 2003 22
  • 2002 5
  • 2001 6

    Categories

  • geo 105
  • linux 74
  • postgis 2
  • programming 36
  • qgis 69
  • qgiscloud 15

Copyright © 2001-2025 Sourcepole AG