pts.blog
2011-11-18
Measure your reaction time using Python
›
Run this in a terminal window (without the leading $ ): $ python -c 'import random, time; time.sleep(2 + 8 * random.random()); \ prin...
1 comment:
2011-11-13
Announcing Portable MariaDB: Small, portable binary MariaDB distribution for Linux
›
Portable MariaDB is a small, portable binary distribution of the SQL server MariaDB (Monty's fork of MySQL) for Linux i386 (32-bit). On...
6 comments:
2011-11-10
How to simply compress a C++ string with LZMA
›
This blog post explains how to simply compress C++ with LZMA compression, using liblzma. Use the following functions: #include <stdlib....
2011-10-27
Long standby time for Cyanogenmod 7.1 on ZTE Blade phones
›
This is a testimonial of the Cyanogenmod 7.1 Android spinoff operating system on the ZTE Blade phone. I've recently installed Cyanogenm...
1 comment:
2011-10-18
Getting started with IntelliJ to write Android applications on Linux
›
This blog post gives instructions to get started with Android application development with IntelliJ on Linux. Install the Java runtime env...
2011-10-06
Named return value optimization in gcc
›
This blog post demonstrates that GCC 4.1 does Named return value optimization , i.e. it omits creating a temporary object in a function retu...
1 comment:
2011-10-04
How to initiate and receive voice and video calls from within Gmail?
›
This blog post explains how to set up Gmail so it will be able to initiate and receive voice and video calls. Download and install the Goo...
2011-10-02
How to fix the adb no permissions error on Ubuntu Lucid
›
This blog post explains how to fix the no permissions error the Android Debugger displays when running the adb devices command Linux. The ...
49 comments:
2011-09-09
How to install kradview on Ubuntu Lucid
›
This blog post explains how to install and run kradview on Ubuntu Lucid. Compiling and installing: $ sudo apt-get install libqt3-headers ...
1 comment:
2011-08-06
How to set up Skype notifications on Linux to be non-distruptive
›
This blog post presents my Skype notification setup on Linux. This setup contains no audio notifications and only a few visual notifications...
How to set up a compact desktop theme on Ubuntu Lucid
›
This blog post explains how to set up a compact GNOME desktop theme on Ubuntu Lucid, i.e. such a theme which consumes little screen real est...
3 comments:
How to set up nicely hinted default fonts on Linux
›
This blog post explains how to set up a per-user default font configuration under Linux (tested on Ubuntu Lucid), which contains easy-to-rea...
1 comment:
How to set up English search in Google Chrome
›
This blog post explains how to set up the default search engine to Google in English language in Google Chrome. By default, if Google is th...
2 comments:
2011-08-04
How to disable cursor blinking in GNOME applications
›
This blog post explains how to make the cursor not blink in text input and text area widgets in GNOME applications (including GNOME Terminal...
How to write hello-world in both Java and C++
›
This blog post explains hwo to write a hello-world program which compiles in both Java and C++. The following solution makes use of the lan...
2011-06-24
Python 3.2 binaries released in StaticPython for Linux
›
This blog post is to announce that StaticPython , a binary distribution of Python, has just released Python 3.2 binaries for Linux. (Previou...
1 comment:
2011-06-05
PTetriS/HTML: A minimalistic, but correct Tetris-clone in HTML + JavaScript
›
This blog post is to announce PTetriS/HTML , a minimalistic, but correct Tetris-clone in HTML + JavaScript. Play PTetriS/HTML here , with a ...
2011-06-04
How to download a https:// page in Ruby 1.8
›
This blog post shows an example low-level implementation of downloading a https:// page in Ruby 1.8. The reason why is this blog post was bo...
1 comment:
2011-05-19
jtty-builder: easy-to-install JSP web server for Unix
›
This blog post is an announcement for jtty-builder , an easy-to-install, lightweight webserver with a JSP container for Unix. More specifica...
2011-04-27
How to write a simple echo and chat server in Ruby 1.8
›
This blog post is an introduction to TCP socket server programming and thread programming in Ruby 1.8. It also illustrates how compact and e...
2011-04-09
python-xattr-compat: portable Python module to query and set POSIX extended attributes of files
›
This blog post is an announcement of python-xattr-compat , a portable Python 2.x module to query and set POSIX extended attributes of files....
2011-04-03
How to install CyanogenMod onto the ZTE Blade
›
This blog post explains how I managed to install CyanogenMod to a ZTE Blade phone (both Gen 1 and Gen 2). Please note that there can be mu...
5 comments:
2011-03-25
How to automatically synchronize the shell history between terminal windows
›
This blog post explains how to automatically synchronize the Unix shell command-line history between multiple shell instances running on the...
5 comments:
2011-02-16
How to dump the full /etc/passwd and /etc/group files when NIS (YP) or LDAP is used
›
This blog post explains how to dump the flattened version of /etc/passwd and /etc/group files on a Unix system when some user and group en...
2 comments:
2011-02-01
How to run Syncless on Linux without installing it?
›
This blog post explains how to run asynchronous, coroutine-based client and server I/O libraries like Syncless, gevent and Concurrence on Li...
2011-01-21
How to implement the C printf function in C++ in a typesafe way?
›
This blog post explains how to implement the C printf() function in C++ in a typesafe and convenient way. The most important advantage of ...
3 comments:
2011-01-06
How to drop caches on Linux?
›
This blog post explains how to drop in-memory cache of data on disk (pagecache, dentries, inodes) on Linux. Dropping the cache is useful if ...
1 comment:
‹
›
Home
View web version