Tarek February 16, 2019 Total Views: 205 Read Time: 6

Deploy your django project to digital ocean

<p style="margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(119, 119, 119); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 23.4px;"><span style="font-size: 18px;">You will need a&nbsp;</span><a href="https://m.do.co/c/032fccc00205" style="color: rgb(51, 122, 183);"><span style="font-size: 18px;">DigitalOcean</span></a><span style="font-size: 18px;">&nbsp;</span><span style="font-size: 18px;">account to follow along. You will get 10$ for going into the</span><span style="font-size: 18px;">&nbsp;</span><a href="https://m.do.co/c/032fccc00205" style="color: rgb(51, 122, 183);"><span style="font-size: 18px;">link</span></a><span style="font-size: 18px;">&nbsp;</span><span style="font-size: 18px;">. By this you can host your website for about 2 months with 5$/month droplet.</span></p><blockquote style="padding: 10px 20px; margin-bottom: 20px; font-size: 17.5px; border-left: 5px solid rgb(238, 238, 238); color: rgb(119, 119, 119); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;"><p style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-size: 18px;">Creating a Droplet</span></p></blockquote><p style="margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(119, 119, 119); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 23.4px;"><span style="font-size: 18px;">Select the One-Click apps bar and select django. Automatically it will ...</span></p>

Tarek February 16, 2019 Total Views: 166 Read Time: 4

Python CheatSheet - 1

<p><font color="#777777" face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size: 18px;"><b>There are lots of python tutorials over the internet and python code is self explanatory. So I am thinking to build a python cheat-sheet&nbsp;which may help for revising knowledge over python.</b></span></font></p><blockquote class="blockquote"><h2 style="font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; line-height: 1.1; color: rgb(119, 119, 119); margin-top: 20px; margin-bottom: 10px; font-size: 30px;">String</h2></blockquote><pre><pre style="font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; padding: 9.5px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; overflow-wrap: break-word; background-color: rgb(241, 241, 241); border: 1px solid rgb(204, 204, 204); border-radius: 4px;"><code style="font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; padding: 0px; background-color: transparent; border-radius: 0px; white-space: pre-wrap;">string1 = "Toptechschool" # Single or double quote , assigning value to a string variable named string1 print(string1) # Output Toptechschool ...</code></pre></pre>

Tarek February 22, 2019 Total Views: 163 Read Time: 4

How to make a scheduler with crontab

<p>This tutorial is just to demonstrate how to use crontab to schedule a task in Django. So I am taking a simple django&nbsp;<a href="https://github.com/prime7/django_cron_tutorial" target="_blank">project</a>&nbsp;and focus more on information to automate with crontab.</p><p>There are many ways to use crontab to automate a python script. If we use virtualenv then ...</p>

Tarek April 13, 2019 Total Views: 67 Read Time: 6

Django autocomplete with jquery ajax

<p></p><p>In this post we are going to learn how to add autocomplete function in django with the help of jquery ajax. I am not going to put some code here and leave you to understand, instead I will make a short application which will take names as input and after ...</p>

Tarek February 16, 2019 Total Views: 188 Read Time: 2

How to make email signature

<p style="margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(119, 119, 119); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 23.4px;"><span style="font-size: 18px;">An&nbsp;</span><span style="font-weight: 700; font-size: 18px;">email signature</span><span style="font-size: 18px;">&nbsp;</span><span style="font-size: 18px;">is a block of text appended to the end of an email message which often contains the sender's name and contact information. An email signature often contains a name, business contact information, email address a website URL, etc.</span></p><p style="margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(119, 119, 119); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 23.4px;"><span style="font-size: 18px;">Most email clients can be configured to ...</span></p>

Tarek April 15, 2019 Total Views: 58 Read Time: 3

Top VSCode extensions for Front End Web Developer

<p>I personally develop my projects in&nbsp;<a href="https://code.visualstudio.com/Download" target="_blank">VS Code</a>&nbsp;which is a free open source code editor developed by Microsoft. I love this code editor because there are tons of extensions which makes my work very easy. I am going to list all of them below, this list will be updated ...</p>

Tarek April 04, 2019 Total Views: 84 Read Time: 2

Difference between Mean,Mode,Median

<p>Suppose we have an array of 8 numbers -&gt; 15,19,4,11,8,3,17,12</p><h1>Mean</h1><p>Mean is the usual average. So add them all and divide by the total number.</p><p>15+19+4+11+8+3+17+12 = 89</p><p>89/9 = 11.125</p><p>so mean value for ...</p>

1 2 Next Last