Hello World

This is a demo page to test the features of this blog. Don’t expect much here.

In the software world, everything begins with Hello World. This is the beginning of my blog. Let’s see how this will go. This page stands to test the features of this blog.

This website has been completely designed using GNU Emacs. The static web pages are written in Emacs org-mode and exported to HTML. If you are not yet a GNU Emacs user, give it a try. It’s worth learning. If you are familiar with vim, see Spacemacs. You shall feel home.

To begin with, let’s see how code blocks in different language be handled. This should be pretty smooth, and cool .

Hello World

How about showing some real content? Have a look at a few examples below.

C Programming

Let’s begin with Hello World in C Programming.

#include <stdio.h>

main (void)
  printf ("Hello World!\n");

  /* Implicit in c99+ */
  return 0;

Save the above code into hello.c, then compile and run.

# Compile and run
gcc hello.c -o hello && ./hello

# An alternate way for the same.  If you are
# wondering, no, you don't need any Makefile.
make hello && ./hello

Emacs lisp

Now let’s try this in elisp. The code below will print “Hello World!” to the echo area. To run the program, write the code in GNU Emacs, put the cursor at end of the paren and press C-x C-e .

(message "Hello World!")
;; Put the cursor here  ^