Entries from May 2008

May 30, 2008

Monitoring Printer Ink Levels in Ubuntu

I have an EPSON Stylus C45 inkjet printer and I was looking for a tool in Ubuntu to monitor my printer Ink levels and ended up with a nice tool for the GNOME desktop. It is called Inkblot. Inkblot supports almost all inkjet printers of EPSON and HP and Stylus C45 works perfectly. It can [...]

May 26, 2008

Make a way for the new “Ubuntu Hardy Heron”

Many people are afraid of moving to Linux because they are not aware of the power and range of applications the Linux platform will support. Many of my colleagues argue that they couldn’t carry their work with any of the Linux distributions since they are using Microsoft Windows and other native Windows softwares for [...]

May 25, 2008

Self Printing C Code

Have you ever tried writing a C code that prints the source itself. Its a little bit tricky anyway. But the solution is here
#include
char *program = “#include %c char *program = %c%s%c;%c int main()%c{%cprintf(program, 10, 34, program, 34, 10, 10, 10, 10, 10, 10);%c return 0;%c}%c”;
int main()
{
[...]