Nice little program to print a nice ascii artwork and a message in your terminal.

The Cowsay program is very useful for printing information in your terminal. There are quite a few cow files allowing many useful avatars to print in your terminal. Install this today. jason@Yog-Sothoth » ~ » $ sudo apt install cowsay Then run this command to list all the available *.cow files. jason@Yog-Sothoth » ~ » … Read more

Get information about your root filesystem on Linux very easily. This is very useful.

Get information about the creation date of your root filesystem on Linux The Linux stat(1) utility will print information about your root filesystem. The Birth entry shows when the filesystem was created. This was the start of the Arch Linux installation procedure. ┌──[[email protected]]─[~/Desktop] └──╼ ╼ $ stat / File: / Size: 4096 Blocks: 8 IO … Read more

Cool C programs and some very useful code snippets to make programming even more fun.

A very obfuscated C program. typedef unsigned char t;t*F="%c",l[]="|\\/=_ \n](.\0(),*(.(=(}*.)[[*.",N=’\n’,* r;typedef(*H)();extern H Ar;Q(a){return(a|-a)>>31;}H S(c,a){return(H)(a&~c|(int )Ar&c);}extern t*ist;V(t*u){*u^=*u&2^(*u>>7)*185;}Z(t*u,t n){*u-=n;}e(t c,H h){ R(h,Q(* r^c));} I(){r=l +7-4*Q( getchar ()^*l); }R(H h, int c){Ar=S (c,h);- main() ;}P(){r ++;}z() { O(&N);} O(t*c){ printf( F,+*c); }T(){r= "This is not a function\n" ;}w(U){ U=Z(r,8 ); r-=~Q(* r/8-4); return 0; }M(){r= ist-68; } h(){t … Read more

How to set the correct time with the command-line on Debian.

Setting the system time with Debian Linux is very simple, using the date command, you may display the current date/time, then copy this to the date -s “” command and then edit it to the proper value. This is the easiest technique to set the Linux system time. This is the existing date. root@deusexmachina:/home/neo# date … Read more