www.leniwiec.org

This time I will show you my quick way to proceed with ssl certificate from the request at the CA (Certificate Authority) to the installation on apache.

[ Czytaj dalej → ]

In the last days I had a lot of work and, as you probably know, a lot of work means a lot of stress… In order to relieve this stress, I have been playing the Sauerbraten game ;-) . It is the best free linux game and it is open source, so we have the access to the source code of the whole application / game, and hence we can modify it.

[ Czytaj dalej → ]

scaler.c #include <gtk/gtk.h> #include <gdk-pixbuf/gdk-pixbuf.h> #define MID_WIDTH 1024 #define SMALL_WIDTH 120 int main(int argc, char **argv) { GdkPixbuf * pb, *s_pb, *m_pb; int width, height, m_height, s_height; g_type_init(); pb = gdk_pixbuf_new_from_file(argv[1], NULL); width = gdk_pixbuf_get_width(pb); height = gdk_pixbuf_get_height(pb); m_height = (int)(1.0 * height * MID_WIDTH / width); s_height = (int)(1.0 * height * SMALL_WIDTH / [...]

[ Czytaj dalej → ]