Skip to content

Instantly share code, notes, and snippets.

View dasxgo's full-sized avatar
🎯
Focusing

d a s dasxgo

🎯
Focusing
View GitHub Profile
@dasxgo
dasxgo / docker-help.md
Created August 5, 2023 12:52 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@dasxgo
dasxgo / vscode_shortcuts.md
Created August 5, 2023 12:51 — 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

@dasxgo
dasxgo / mysql_cheat_sheet.md
Created August 5, 2023 12:50 — forked from bradtraversy/mysql_cheat_sheet.md
MySQL Cheat Sheet

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

@dasxgo
dasxgo / django_crash_course.MD
Created August 5, 2023 12:49 — forked from bradtraversy/django_crash_course.MD
Commands for Django 2.x Crash Course

Django Crash Course Commands

# Install pipenv
pip install pipenv
# Create Venv
pipenv shell

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@dasxgo
dasxgo / python_mysql.py
Created August 5, 2023 12:47 — forked from bradtraversy/python_mysql.py
Python & MySQL crash course for beginners
import mysql.connector
from mysql.connector import errorcode
config = {
'user': 'root',
'password': '',
'host': 'localhost',
'database': 'acme'
}
@dasxgo
dasxgo / terminal-commands.md
Created August 5, 2023 12:46 — forked from bradtraversy/terminal-commands.md
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen