Forfatterarkiv: ino

GTK hello world in C (Not with Glade)

#include <gtk/gtk.h> /* * This is a callback function. The data arguments are ignored * in this example. More on callbacks below */ static void hello(GtkWidget *widget, gpointer data){ g_print(“Hello World\n”); }; static gboolean delete_event(GtkWidget *widget, GdkEvent *event, gpointer data){ … Læs resten

Udgivet i Knowledge Base, Linux, Old Base, Programmering | Skriv en kommentar

GTK i C og glade

Hvordan man laver et hello world program i c og glade…. (Der er en fejl i koden der gør man kan lave buffer overrun :S) http://writelinux.com/glade/

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

Hvordan sender jeg en e-mail til en mobiltelefon?

For at sende en e-mail til en dansk mobiltelefon, skal du blot kende modtagerens mobiltelefonnummer og udbyder. Bemærk: Pr. 1. maj 2002 er det ikke længere muligt at bruge dette script til at sende SMS til mobiltelefoner på TDC Mobils … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Watch emerge progress

Introduction From Gentoo Forums: http://forums.gentoo.org/viewtopic.php?t=139562 It is possible to get approximate measures of how far emerge has compiled chosen package. The method used is based on file count (compiled/total). [edit] Making the Script Create file /usr/bin/emerge-progress and paste in it … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Watch emerge progress

Introduction From Gentoo Forums: http://forums.gentoo.org/viewtopic.php?t=139562 It is possible to get approximate measures of how far emerge has compiled chosen package. The method used is based on file count (compiled/total). [edit] Making the Script Create file /usr/bin/emerge-progress and paste in it … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Running qmail under Gentoo Linux

Introduction This document gives instructions on how to install, configure, and run qmail on a system running Gentoo Linux. I originally wrote this after I could not find any qmail documentation specific to Gentoo, despite Gentoo offering packages (or “ebuilds”, … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Running qmail under Gentoo Linux

Introduction This document gives instructions on how to install, configure, and run qmail on a system running Gentoo Linux. I originally wrote this after I could not find any qmail documentation specific to Gentoo, despite Gentoo offering packages (or “ebuilds”, … Læs resten

Udgivet i Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar

Vim encrypted files

# vim -x fil

Udgivet i Knowledge Base, Old Base, Vim | Skriv en kommentar

UltraX genvejstaster i LinEAK

emerge linerakconfig og lineakd /etc/lineakkb.def [UltraX] Brandname = “Logitech” modelname = “UltraX” [KEYS] WWW = 178 Mail = 236 Favoritter = 230 PlayPause = 162 Media = 237 [END KEYS] [END UltraX] Man må bare ikke trykke på mute for … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

XMessage [Popup i X]

Lav en popup besked i X # echo “Unifix” | xmessage -file – -center

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar