Skip to content

Instantly share code, notes, and snippets.

View claserre9's full-sized avatar
🏠
Working from home

Clifford Laserre claserre9

🏠
Working from home
View GitHub Profile
@claserre9
claserre9 / meta-tags.md
Created October 16, 2020 20:42 — forked from whitingx/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@claserre9
claserre9 / 1.srp.py
Created March 17, 2021 14:11
SOLID Principles explained in Python with examples.
"""
Single Responsibility Principle
“…You had one job” — Loki to Skurge in Thor: Ragnarok
A class should have only one job.
If a class has more than one responsibility, it becomes coupled.
A change to one responsibility results to modification of the other responsibility.
"""
class Animal:
def __init__(self, name: str):