Removing last character using javascript – substring, substr, slice methods

javascript-slice-substr-substring

In this post, I would like to present you with 3 different 1-line scripts that are used a lot. These snippets are used to remove the last character from a string. When may you need this? You may be building

Read More Removing last character using javascript – substring, substr, slice methods

Installing Fedora Server and Fedora Workstation Components

After installing Fedora Server, you will be presented with a black shell screen for logging in instead of a graphical login screen. That is because you have installed Fedora Server and not the Fedora Workstation and what you have now

Read More Installing Fedora Server and Fedora Workstation Components

Responsive Table with Divs Using Bootstrap

Responsive Table with Divs Using Bootstrap Yes, this is what I am doing at 00:24 am on Saturday 🙂 There is and have been a trend to create HTML tables using divs instead of classic table, tr and td tags. Actually,

Read More Responsive Table with Divs Using Bootstrap

Linking Jenkins to a Local Git Repository

I wanted to try creating a CI (continuous integration) pipeline using Jenkins at home for fun 🙂 I launched IntelliJ IDEA by jetbrains and created an empty test project. Then I added this project to Git. In case you don’t know

Read More Linking Jenkins to a Local Git Repository

How to Remove Bitnami Banner from Your Discourse Forum Site on GoDaddy

bitnami-godaddy

I recently created a cloud server instance on GoDaddy and installed a Bitnami application (Discourse) on it for one of my domains. Then I realized this Bitnami banner on the lower right corner. After some research and trials, I was

Read More How to Remove Bitnami Banner from Your Discourse Forum Site on GoDaddy

Django – How to Clone a Virtual Environment

clone virtual environment django

I wanted to write 1 more post in 2016 before the year ends. So, here it is 🙂 Let’s talk a little more about Virtual Environments. If you have a virtual environment you can back it up and re-create it later

Read More Django – How to Clone a Virtual Environment

Cannot read property ‘toLowerCase’ of undefined

javascript error undefined

I am finally back with another post after a while. I had this time period where I got busy with other things in life and felt a little tired for coding and blogging. That seems to be over now. Thank

Read More Cannot read property ‘toLowerCase’ of undefined

How to perform an Ajax request in Django

ajax-in-django

Ajax request are everywhere in modern web applications. No matter which platform you are using for development, the main scheme is always the same. You send a request to a server side method using JavaScript, jQuery etc. and server processes

Read More How to perform an Ajax request in Django

Django – Adding a Form to Your Django Site

django-forms

In your Django website you have models. These models represent tables in your database. So, what would you do if you wanted to record new model data into your DB? How would you get user input? Of course, using forms.

Read More Django – Adding a Form to Your Django Site

Django – Capture Arguments in URL Patterns and Pass Them to View Functions

django-capture-arguments-in-urls

As you already know when a request comes to your Django site, it first looks for the url patterns of your site and once a patter is matched related view function is called passing some arguments to that function. But

Read More Django – Capture Arguments in URL Patterns and Pass Them to View Functions