Tags » Code Snippet

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

html: add a mouse hover "tooltip" to a link.

Here’s a little code snippet you can add to a link so that when someone hovers their mouse over the link, a “tooltip” is displayed, giving them more information. 255 more words

Code Snippet