Skip to content

Instantly share code, notes, and snippets.

View mathcodes's full-sized avatar
💭
🧮 💻 🎵 🧮 💻 🎵 🧮 💻 🎵

Jon Christie mathcodes

💭
🧮 💻 🎵 🧮 💻 🎵 🧮 💻 🎵
View GitHub Profile
@angelabauer
angelabauer / sheety.py
Created April 13, 2023 10:50
Solution for sheety.py for the Flight Club project
import requests
import os
BEARER = os.getenv("API_Bearer_Sheety_Repl.it")
USERNAME = os.getenv("API_Username_Sheety")
PROJECT = "flightDealsUsers"
SHEET = "users"
base_url = "https://api.sheety.co"

Blog.Git.Live

5 Ways To Undo Mistakes In Git

Written by Agnieszka Stec

Sep 2, 2021




Tip #1

@mathcodes
mathcodes / createyourownsnippets
Created December 26, 2021 03:38
Another 2to5 minutes of well spent time with quick but useful and up to date lessons on coding in today's world! We keep up to date with current tech trends and release videos weekly to keep our content fresh! Got any suggestions or want to present an idea on our channel?
# Creating Your Own Snippets
Another 2to5 minutes of well spent time with quick but useful and up to date lessons on coding in today's world!
We keep up to date with current tech trends and release videos weekly to keep our content fresh! Got any suggestions or want to present an idea on our channel? Contact Jon now using the links and info [below](#contact)!
## Directions:
Today we are going to go over a very useful and overlooked feature VS Code offers right out the box: the ability to make your own snippets. Here are the steps:
## Step 1 - Open The json File You Need
Go to `User Snippets` under `Code` > `Preferences` > `User Snippets`:
@mathcodes
mathcodes / django_architecture
Created December 12, 2021 03:42
basics of python and django architecture
# Django Project Layout and Different Files Structure in Root Directory
In this Django tutorial, we will be learning about the layout of a Django project and files inside the Django project. As we learned in the previous tutorials that Django is a “Batteries- Included” framework which is made for rapid development with a pragmatic design.
When you create a Django project, the Django framework itself creates a root directory of the project with the project name on it. That contains some files and folder, which provide the very basic functionality to your website and on that strong foundation you will be building your full scaled website.
# Django Project Layout & Files Structure
## Files in the Django Project Root Directory
By root directory, we mean about the directory which contains your manage.py file. Additional files like db.sqlite, which is a database file may be present when we will be migrating our project.
Django root directory is the default app which Django provides you. It contains the files whi
@mathcodes
mathcodes / nosqlvssql.md
Last active August 2, 2022 23:32
NoSql vs Sql

NoSQL vs SQL Databases

Description

The following information is straight from source: https://www.mongodb.com/nosql-explained/nosql-vs-sql

TLDR: NoSQL (“non SQL” or “not only SQL”) databases were developed in the late 2000s with a focus on scaling, fast queries, allowing for frequent application changes, and making programming simpler for developers. Relational databases accessed with SQL (Structured Query Language) were developed in the 1970s with a focus on reducing data duplication as storage was much more costly than developer time. SQL databases tend to have

  • rigid
  • complex, tabular schemas

Split Screen Components

The following tutorial walks you through creating a split screen component using layout components.

Dependencies:

  "dependencies": {
    "@testing-library/jest-dom": "5.14.1",
    "@testing-library/react": "11.2.7",
    "@testing-library/user-event": "12.8.3",
 "react": "^17.0.2",

gist for Jon? Whatcha want on here?

Here are some things:

Contact

Github profile image

Jon Christie