Hallo,
gestern habe ich unerwartet Post bekommen. Eigentlich hatte ich nur eine Benachrichtigungskarte vom GLS Paketdienst an der Tür das ein Päckchen 3 Zimmer weiter abgegeben worden sei. Eigenartig, eigentlich hatte ich nichts bestellt – achja, und “Herr Meier-Müller-Schmidt” stand auch noch auf dem Infozettel.
Mehr…
private, wohnung
gls, post
Hallo,
wer schonmal im Thunderbird nicht nur das Mailkonto von GMX, sondern auch das von Web.de durchsuchen wollte kennt das Problem. Die Thunderbird Suche (Tastenkombination <Shift+f>) kann nur maximal den Ordner des jeweiligen Mailkontos inklusive dessen Unterordner durchsuchen.
Lösung: Der Artikel Virtuelle Ordner einrichten im Thunderbird Wiki.
Schritt für Schritt geht man dann folgendermaßen vor: Mehr…
linux, windows
suche, thunderbird
Hi,
if you’re writing a kernel module and get the following error:
*** Warning: “symbol_name” [/path/to/module] is COMMON symbol
Than its possible that you simply forgot to mark it as static. Thanks for this fix goes to Brad Aisa from the website KernelTrap.
Bye,
Sven
linux, programming
c, coding
Hi,
today I had a strange happening. I installed Windows XP on a Dell XPS M1530 and after entering the Windows key, keyboard and mouse refused to work.
Luckily I had an usb keyboard/mouse combo from Logitech around which worked but did not reenable the builtin input devices during the installation.
Bye,
Sven
windows
dell, windows xp
Hi,
Task
We have a included struct called counter and we don’t want to assign the initial values in the main function.
Solution
source.c
#include <counters.h>
struct counter_t counter = {
.max_value = 1234,
};
int main(void)
{
return(0);
}
Bye,
Sven
programming
c, coding
Hi there,
Task
We have a Makefile, we have a C file, now we want update a timestamp whenever the C file is compiled.
Solution
Makefile
CFLAGS += -D__TIMESTAMP__=\""$(shell date +%Y/%m/%d\ %H:%M:%S)"\"
source.c
#include <stdio.h>
#ifndef __TIMESTAMP__
#define __TIMESTAMP__ "NO TIMESTAMP DEFINED"
#endif /* __TIMESTAMP__ */
int main(void)
{
printf("my tool (TS: %s)\n", __TIMESTAMP__);
return(0);
}
Output
~$ ./source
my tool (TS: 2008/11/06 09:55:22)
Bye,
Sven
programming
c, coding
Letzte Kommentare