There was an unexpected error (type=Internal Server Error, status=500). Exception parsing document: template=

There was an unexpected error (type=Internal Server Error, status=500). Exception parsing document: template= I had this annoying error above today while playing around with thymeleaf. The thing is IntelliJ Idea creates html files that does not close the meta tags

Read More There was an unexpected error (type=Internal Server Error, status=500). Exception parsing document: template=

Weird White Block Appears and Disappears When Click on TextArea

I was seeing this weird white block appearing and disappearing on my page when I click a textarea inside a bootstrap modal popup. Apparently, this is caused by Grammarly’s Chrome add-on.  Open the developer tools of chrome and observe the

Read More Weird White Block Appears and Disappears When Click on TextArea

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

Python SimpleHTTPServer

python-simplehttpserver

Python’s SimpleHTTPServer is very lightweight and very useful. If you want to share files from your localhost or if you want a quick web server without messing with setting up apache or something similar SimpleHTTPServer is here for you. All you

Read More Python SimpleHTTPServer

Links inside widgets, SEO juice, Unnatural links

widget link seo

A couple of days ago I was reading this post named A reminder about widget links. There they said stuff that sounded like your site might get penalized for having a link from your widgets back to your site. Check out

Read More Links inside widgets, SEO juice, Unnatural links

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

Difference between window.onload and $(document).ready()

Do you think $(document).ready() and window.onload are the same thing? Do you use one for the other? Do you use them interchangeably? If you do so, you are wrong. $(document).ready() and window.onload are not the same thing. What did you

Read More Difference between window.onload and $(document).ready()

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 – ‘int’ object has no attribute ‘keys’

django-int object has no attribute keys

Being new to Django, sometimes I face interesting problems. If it is very late and you are very tired, It may not always be easy to see the problem looking at the displayed error message like this int’ object has no attribute

Read More django – ‘int’ object has no attribute ‘keys’