Architecture and Modes of Cisco 1841 Router
Understand the external components of Cisco 1841 Router and learn three different modes User EXEC, Previleged and Global Configuration modes.
Understand the external components of Cisco 1841 Router and learn three different modes User EXEC, Previleged and Global Configuration modes.
I started my blog “hellocoding.wordpress.com” in 2013. WordPress.com provides the basic functionality of posting the post for free. It does not give the way to embed JavaScript and does not offer much control over your blog.
Today i was working on a project where i required to add the invisible button. I tried different methods like making button transparent, adding the image in the button. But then i came to know about this solution. I think that this is probably the best solution.
Let’s use ImageMagick tool. Normally it is installed in Ubuntu. If you need to install it then run:
sudo apt-get install imagemagick
While learning Python in the beginning, i skipped the portion of the chapters on Decorators. After i worked on Flask and Django, I was introduced with the Decorators.
Let us consider a simple flask app example:
Sometimes you may find deleting the commit history of your github project repository useful. You can easily delete the commit history by following the procedure below.
It is always useful to keep the backup of your repository in your computer before removing all the commit history.
Create folder ’templates’ inside ‘shortenersite’ and then inside ’templates’ create folder ‘shortenersite’.
Inside “shortenersite/templates/shortenersite/” create ‘base.html’ and ‘index.html’. So now paste the following to them.
Now we will be working with our actual URLs and Views of our site.
Open up your “urlshortener/urls.py” and add the following code to it:
[urlshortener/urls.py]
Now, Let us create a Django app. From your project’s root directory run this command
django-admin startapp shortenersite
Creating a Django project
django-admin startproject urlshortener
Now you will see new directory “urlshortener”. Now our folder structure looks something like: