Tags » Code Snippet

Making a Snoopy calendar in Unix

For those of you who don’t know, the Snoopy calendar is a gimmick of the hacker culture. It basically refers to a line printer calendar for 1969 featuring the iconic beagle from Peanuts, that apparently hangs on the wall of every Real Programmer’s office. 1,179 more words


Build a RESTful Webservice in less than 5 minutes

There are quite some tutorials around about building and exposing a RESTful Webservice, but some of them are outdated and make you wade through complex dependencies and tinkering with deployment descriptors and web.xml files. 236 more words


Dealing with Bad Address On ACD Mount In Linux

Every now and then while attempting to access my mounted Amazon Cloud Drive I would receive the error message “Bad Address”. To fix this issue I copied a script I had found on… 264 more words


BSD Unix hack: adding conditional preprocessing capabilities to calendar

One of the most useful features of the GNU Compiler Collection is the -D option to cpp, which allows you to define macros at the command line. 944 more words


share your email address, but hide it from spammers

Type the following code in your “contact” page or wherever you want your contact information to appear on your website:

Copy the code below, paste it in a text file and edit the content in red: 234 more words


Git basics for beginners

Git is a free and open-source software that is used for version control and for source code management.

For a beginner, it might be a little difficult to grasp the concepts of Git. 460 more words

Code Snippet