This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias q='exit' | |
alias c='clear' | |
alias h='history' | |
alias cs='clear;ls' | |
#nav | |
alias ..='cd ..' | |
alias ...='cd ..; cd ..' | |
alias ....='cd ..; cd ..; cd ..' | |
alias root='cd /' | |
alias home='cd ~' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE SCHEMA movies_db_schema CHARATER SET = utf8; | |
CREATE SCHEMA IF NOT EXISTS movies_db_schema; | |
CREATE DATABASE IF NOT EXISTS movies_db_database; | |
-- Create | |
USE "movies_db_database"; | |
CREATE TABLE actors (name VARCHAR(50) NOT NULL); | |
CREATE TABLE movies (title VARCHAR(200) NOT NULL, year INTEGER NULL); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TYPES | |
define("NAME", "copycut"); // const | |
$int = 1; | |
$float = 1.1; | |
$bool = true; | |
$string = "hello"; | |
$array = array(); | |