The main plan was to develop a COVID-19 tracker in Django that shows local data in the Philippines - until the Department of Health hid and disabled page where the stats can be scraped.
Top 5 Resources to Learn Django
I've been using Django for a little less than a year already if I'm not mistaken and I'd like to share the top resources I use when I'm running on a roadblock or if I'm trying to implement something that I haven't implemented yet.
Six Django Template Tags Not Often Presented in Tutorials
During my first day on my internship a couple of months back, I was tasked to work on the scaffold of the company on which I was overwhelmed with the tags on it and never really bothered to research them.
Basic Git Workflow For Beginner Software Developers
ke it a habit to run git status before doing anything on a repository. I just learned this today and wanted to write it down to make it stick on my mind - or get familiar with it.
What are your ten most used terminal commands?
Show your top 10 most used commans including their % usage
Django 2.2 Test Driven Development
I recently stumbled upon the words of Jacob Kaplan-Moss, one of Django's original creators, "Code without tests is broken as designed." this hit me in a way that I know to my self that I suck at designing, which motivated me to learn how to test.
Hacker Rank Challenge: Utopian Tree
For each test case, print the height of the Utopian Tree after n cycles. Each height must be printed on a new line.
The process flow of Model-Template-View design pattern in Django
Model-View-Controller (MVC) Explained – With Legos : https://realpython.com/the-model-view-controller-mvc-paradigm-summarized-with-legos/
Classes and Functions
This very brief introduction to classes and functions only scratches the surface of their full capabilities.
Python If Else and Code Branching
Python, like most programming languages, has an if statement that provides branching in your code.
List, Dictionary & Tuples
Tuples are often used for homogenous data that the programmer doesn't want changed by accident. It's a good idea to use a tuple instead of a list if you have a list of items that should not be changed.
Django Cheat Sheet
Django Cheat Sheet to start a project.
Advantages and Disadvantages of Compiled Languages
Compiled languages are unmanaged languages. They typically have their source code written in a language humans can fully understand.
Terminal cheat sheet
These commands are the commands I've used most in the past and is still using it to date.
Mining Job Vacancies on Craigslist
We are using 3 libraries from Python in mining data and printing the mined data on a csv file.
YDKJS Chapter 1 Challenge
You should define functions for calculating the tax and for formatting the price with a “$” and rounding to two decimal places.
As a general rule of thumb, if you need to store a collection of properties with varying types, use an object. Otherwise, use an array.
Python Twitter Bot
Originally published at http://www.dev.to.