Skip to content

Instantly share code, notes, and snippets.

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

Jon Christie mathcodes

💭
🧮 💻 🎵 🧮 💻 🎵 🧮 💻 🎵
View GitHub Profile

Public Resource for links, syntax, frameworks and more!

I have created this repo to store and access several links, images, and resources to make them available globally for use on non-commercial projects.

IMAGES

CLICK HERE

SYNTAX

html boilerplate

Blog.Git.Live

5 Ways To Undo Mistakes In Git

Written by Agnieszka Stec

Sep 2, 2021




Tip #1

@mathcodes
mathcodes / css-infinite-autoplay-carousel.markdown
Created January 18, 2022 03:05
[CSS] Infinite autoplay carousel
@mathcodes
mathcodes / ghpagesreactapp.md
Created January 17, 2022 02:44
How to build and deploy a React app to Github pages in less than 5 minutes

Step1: Create the React app: npx create-react-app your-app-name Step2: Go to the project repo: cd your-app-name Step3: Copy the src and public folder from the following repo https://github.com/AnjaliSharma1234/Personal-Advisor-React-App(You can customize the files according to your preferences) and substitute them in the your-app-name folder. Step4: Run your application: npm start

Deployment

Make sure your react app code is already pushed to the GitHub account under some {Github-repo-name}.

Step1: Install the gh-pages package as a “dev-dependency” of the app


Centering Anything, Anywhere


CENTERING LINES OF TEXT

p { text-align: center }
h2 { text-align: center }


Centering a block

p.blocktext {
@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`:

Introduction

SQL Server is a relational database management tool developed by Microsoft. It is available on Windows, Linux, macOS, and as a Docker deployment.

In this tutorial, we will show you how to install SQL Server 2019 as a Docker deployment on macOS Catalina.

How to install SQL Server on macOS Prerequisites

A system running macOS Catalina

@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
@mathcodes
mathcodes / ListsAndListTypes.md
Created December 3, 2021 02:19
List and List Types

React: List and List Patterns

  1. Inside App.js we have two arrays. One with a list of people data and one with a list of products data:
const people = [{
	name: 'John Doe',
	age: 54,
	hairColor: 'brown',
	hobbies: ['swimming', 'bicycling', 'video games'],