Skip to content

Instantly share code, notes, and snippets.

@SouariKarim
SouariKarim / git-aliases.md
Last active June 4, 2025 08:01 — forked from colmarius/git-aliases.md
A list of useful git aliases

Intro

Bellow follows a list of aliases, split between beginner and advanced.

To start using them right away you should place the aliases you like most in a file like ~/.zsh/git. Now all that remains is to add the following line to your ~/.zshrc or ~/.bashrc:

. ~/.zsh/git # git aliases
@SouariKarim
SouariKarim / README.md
Created March 8, 2022 18:50 — forked from hofmannsven/README.md
Git Cheatsheet
@SouariKarim
SouariKarim / npmcrashcourse.md
Last active March 3, 2022 21:39 — forked from bradtraversy/npmcrashcourse.txt
NPM Crash Course Commands

GET VERSION

npm -v (or --version)

GET HELP

npm help npm

CREATE PACKAGE.JSON

npm init npm init -y (or --yes)

@SouariKarim
SouariKarim / ssh.md
Created February 15, 2022 17:03 — forked from bradtraversy/ssh.md
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh [email protected]

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@SouariKarim
SouariKarim / vscode_shortcuts.md
Created February 15, 2022 17:01 — forked from bradtraversy/vscode_shortcuts.md
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

@SouariKarim
SouariKarim / vsc_js_snippets.json
Created February 15, 2022 17:01 — forked from bradtraversy/vsc_js_snippets.json
VSCode JavaScript Snippets
{
"Console Log": {
"prefix": "cl",
"body": "console.log($1);",
"description": "Console Log"
},
"Named Function": {
"prefix": "nfn",
"body": ["function ${1:functionName}($2) {", " $3", "}"],
"description": "Named Function"
@SouariKarim
SouariKarim / devcamper_specs.md
Created February 15, 2022 16:59 — forked from bradtraversy/devcamper_specs.md
Specs for Devcamper Udemy course project

DevCamper Backend API Specifications

Create the backend for a bootcamp directory website. The frontend/UI will be created by another team (future course). The html/css template has been created and can be used as a reference for functionality. All of the functionality below needs to be fully implmented in this project.

Bootcamps

  • List all bootcamps in the database
    • Pagination
    • Select specific fields in result
    • Limit number of results
  • Filter by fields
@SouariKarim
SouariKarim / typescript-crash.ts
Created February 15, 2022 16:59 — forked from bradtraversy/typescript-crash.ts
Basic intro to TypeScript (From YouTube Crash Course)
// Basic Types
let id: number = 5
let company: string = 'Traversy Media'
let isPublished: boolean = true
let x: any = 'Hello'
let ids: number[] = [1, 2, 3, 4, 5]
let arr: any[] = [1, true, 'Hello']
// Tuple

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@SouariKarim
SouariKarim / docker-help.md
Last active November 23, 2021 12:03 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info