Skip to content

Instantly share code, notes, and snippets.

View HussamAdil's full-sized avatar
😃
We Can Do It Together

Hussam Adil HussamAdil

😃
We Can Do It Together
View GitHub Profile
@HussamAdil
HussamAdil / youtube-dl cheat-sheet
Last active November 19, 2021 07:30
Download youtube playlist with youtube-dl cheat-sheet
## install youtube-dl
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
## To List all available formats before download :
youtube-dl -F playlisturl
@HussamAdil
HussamAdil / How to push New repository to Github
Created May 17, 2020 08:53
easy way to push New repository to Github from command line
create new repository
git init
git add README.md
git add .
git commit -m "first commit"
git remote add origin your-repository-url.git --force
git push -u origin master

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

@HussamAdil
HussamAdil / EloquentCheatSheet.md
Created August 30, 2019 19:51 — forked from avataru/EloquentCheatSheet.md
Eloquent relationships cheat sheet
@HussamAdil
HussamAdil / The Technical Interview Cheat Sheet.md
Created August 30, 2019 19:48 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@HussamAdil
HussamAdil / iterm2.md
Created August 30, 2019 07:59 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)