pts.blog
2014-04-26
How to parse an integer in C++ (and C) with overflow detection
›
This blog post explains how to write C++ code which parses integers, in a type-safe way for any integral type, paying attention to overflows...
9 comments:
2014-04-10
Announcing ssweb: single-shot webserver in Python
›
This blog post announces ssweb , a single-shot HTTP server library in Python 2.x. Single-shot means is that the webserver accepts only a sin...
2014-04-04
How to convert all YouTube links from http:// to https:// in Firefox history
›
This blog post explains how to convert the protocol from http:// to https:// in YouTube URLs in the browsing history of a Mozilla Firefox pr...
2014-01-19
How to run custom code before and after main in GCC?
›
This blog post explains how to register C or C++ code to be run at process startup (i.e. just before *main*) and process exit (e.g. when *ma...
3 comments:
2014-01-15
Announcing mplaylist: Audio playlist player using mplayer, with checkpointing
›
This blog post is the formal announcement of mplaylist , and audio playlist player using mplayer, with checkpointing. mplaylist is Python s...
1 comment:
2014-01-11
How to prevent YouTube from using HTTPS
›
This blog post explains how to configure your web browser (Mozilla Firefox or Google Chrome) to prevent YouTube from redirecting from the ht...
1 comment:
2014-01-10
How to remove almost all files from a Git repository
›
This blog post explains how to remove all files (including their history) from a Git repository, except for files in a whitelist. This can b...
1 comment:
2014-01-05
A short file size comparison of small libc implementations for Linux
›
This blog post gives a short executable file size comparison when the same statically linked, i386 ELF executable was compiled with various ...
Announcing pts-xstatic: A tool for creating small, statically linked Linux i386 executables with any compiler
›
This blog post announces pts-xstatic, a convenient wrapper tool for compiling and creating portable, statically linked Linux i386 executable...
2014-01-02
How to detect integer overflow in C and C++ addition and subtraction
›
This blog post explains how to detect integer overflow (and underflow) in C and C++ addition and subtraction, and it also gives example code...
2013-12-31
How to implement in-place set intersection in C++
›
This blog post shows and explains C++ source code implementing in-place set intersection, i.e. removing each element from a set (or another ...
‹
›
Home
View web version