Syntax Highlighting with Google code-prettify and bootstrap

Google Code Prettify automatically detects your source code and highlights it accordingly. It’s quite simple to setup. 1. Put the below style links in your head section. <link href=’http://cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.css’ rel=’stylesheet’ type=’text/css’/><link href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css” rel=”stylesheet” integrity=”sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u” crossorigin=”anonymous”> 2. Now, place this script…

Read More

Simple Hello World page with django 1.9 in Ubuntu / Linux Mint [Beginners] [Part – 2]

In the First part of this tutorial we created an app named helloworld and added it to the setting.py file. Now let’s continue further towads our journey to make a ‘Hello World’ page with django. Urls Let’s define our url…

Read More