pts.blog

2010-02-20

How to try the GDM login screen in many resolutions

›
This blog post explains how to try the GDM login screen and make screen shots in any, user-specified screen resolution. This can be useful w...
2010-02-19

How to create a Debian/Ubuntu package (.deb) manually

›
This blog post gives some hints how to create a .deb package file (to be used with Debian, Ubuntu and similar Linux distributions). The int...
5 comments:
2010-02-18

How to create a screen shot of the GDM login screen on Ubuntu Hardy

›
This blog pts explains how to create a screen shot of the currently running X11 GDM login screen (the graphics login screen at system startu...
2010-02-11

How to run Firefox 3.6 on Debian Etch

›
This blog post explains how to run Firefox 3.6 32-bit on an old Linux system, such as Debian Etch. First, here is some technical background...
1 comment:
2010-01-31

How to swap two nodes in a doubly linked list

›
This blog post gives example C code how to swap two elements (nodes, items) of a doubly linked list. The code works for both circular and no...
3 comments:
2010-01-30

How to make Midnight Commander exit to its current directory

›
This blog post gives instructions how to make the current directory of the shell calling Midnight Commander be mc's current directory up...
5 comments:
2010-01-16

How to regenerate the Apache SSL key and certificate on Debian Lenny

›
This blog post explains how to regerated the Apache 2 SSL server key and certification on Debian Lenny. The default, self-signed certificat...
2 comments:
2010-01-08

Emulating Stackless Python using greenlet

›
This blog post documents why and how to emulate Stackless Python using greenlet. Stackless Python is an extended version of the Python lan...
9 comments:
2010-01-03

Does string append run in linear time in Python?

›
In Python 2.x, the string append operation ( string1 += string2 ) runs in average linear time (in the length of string2 ) iff there is only ...
2009-12-31

How to fix the Ctrl-Y Ctrl-Z inconsistency in GNOME Terminal with international keyboard layouts

›
This blog post describes and fixes an inconsistency between some keys with or without Ctrl in GNOME Terminal with international keyboard la...
2009-12-19

Experimental HTTP server using Stackless Python

›
This blog post documents my experiment to write a non-blocking HTTP server based on coroutines (tasklets) of Stackless Python . My goal was ...
1 comment:

Minimalistic client for Amazon S3 (AWS) in Python

›
I've written py-mini-s3 , a minimalistic client for Amazon S3 (AWS) in pure Python. It supports the GET and PUT operations. See its sour...
2009-12-15

Sex, Unix style

›
My instruction sequence compilation of the traditional Unix sex theme: date ; touch ; kiss ; grep ; strip ; unzip ; finger ; mount ; fsck ...
1 comment:
2009-12-06

Polynomials in Python with operator overloading

›
This blog post is a fun example for implementing univariate polynomials with operator overloading in Python. It is almost a domain-specific ...
2009-11-17

How fast does 8g in Google Go compile?

›
To get an idea how fast Google Go code can be compiled, I've compiled a big chunk of the Google Go library code with the default 8g comp...

How to write a program with multiple packages in Google Go

›
This blog post explains how to write a Google Go program which contains multiple packages. Let's suppose your software contains multiple...
2009-11-15

FUSE protocol tutorial for Linux 2.6

›
Introduction and copyright This is a tutorial on writing FUSE (Filesystem in UserSpacE for Linux and other systems) servers speaking the ...
1 comment:
2009-11-12

Buffered IO speed test of Google Go

›
This blog post presents the buffered IO speed test I've done with the standard implementation of the programming language Google Go , as...
2009-11-10

How to read a whole file to String in Java

›
Reading a whole file to a String in Java is tricky, one has to pay attention to many aspects: Read with the proper character set (encoding...
1 comment:
2009-11-08

How to convert a Unix timestamp to a civil date

›
Here is how to convert a Unix timestamp to a Gregorian (western) civil date and back in Ruby: # Convert a Unix timestamp to a civil date ([...
2 comments:
2009-11-07

AES encpytion in Python using C extensions

›
This blog post gives example code how to do AES encryption and decryption in Python. The crypto implementations shown are written in C, but ...
‹
›
Home
View web version
Powered by Blogger.