Skip to content

Instantly share code, notes, and snippets.

View jcsnorlax97's full-sized avatar
🏠
Working from home

Justin Choi jcsnorlax97

🏠
Working from home
View GitHub Profile
@jcsnorlax97
jcsnorlax97 / sql-cheatsheet.md
Created December 11, 2023 01:35 — forked from smarteist/sql-cheatsheet.md
SQL cheat sheet

SQL languages

DDL is short name of Data Definition Language, which deals with database schemas and descriptions, of how the data should reside in the database.

DCL is short name of Data Control Language which includes commands such as GRANT, and mostly concerned with rights, permissions and other controls of the database system.

DML is short name of Data Manipulation Language which deals with data manipulation, and includes most common SQL statements such INSERT, UPDATE, DELETE etc, and it is used to store, modify, delete and update data in database.

DQL is short name of Data Query Language which used for performing queries on the data within schema objects. The purpose of the DQL Command is to get some schema relation based on the query passed to it. SELECT statement is used to retrieve data from the database.

@jcsnorlax97
jcsnorlax97 / top-brew-packages.txt
Created December 7, 2021 23:44 — forked from pmkay/top-brew-packages.txt
Top homebrew packages
node: Platform built on V8 to build network applications
git: Distributed revision control system
wget: Internet file retriever
yarn: JavaScript package manager
python3: Interpreted, interactive, object-oriented programming language
coreutils: GNU File, Shell, and Text utilities
pkg-config: Manage compile and link flags for libraries
chromedriver: Tool for automated testing of webapps across many browsers
awscli: Official Amazon AWS command-line interface
automake: Tool for generating GNU Standards-compliant Makefiles
@jcsnorlax97
jcsnorlax97 / cicd-config-clicker.md
Created April 9, 2021 22:03 — forked from cklanac/cicd-config-clicker.md
CICD: Travis CI and Heroku Instructions: 2 Versions - Point-n-Click and CLI Ninja

Setup Travis and Heroku CICD: Point-n-Click

Continuous Integration with Travis CI

Configure travis.yml

  • Run npm test to ensure tests are working correctly locally
  • Create .travis.yml file in repo
  • Add the following to configure for node

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@jcsnorlax97
jcsnorlax97 / terminal-mysql-uninstall.md
Last active January 3, 2019 18:17 — forked from vitorbritto/rm_mysql.md
Remove MySQL completely from Mac OSX

Terminal - Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

brew remove mysql

@jcsnorlax97
jcsnorlax97 / cheetsheet-jsp.md
Last active January 3, 2019 18:16 — forked from splacentino/jsp.md
A JSP cheat sheet

Java expression evaluated at run time.

Prototype

<%=     %>

Example