Skip to content

Instantly share code, notes, and snippets.

View 1983shiv's full-sized avatar
🏠
Working from home

Shiv Srivastava 1983shiv

🏠
Working from home
View GitHub Profile
@1983shiv
1983shiv / docker_wordpress.md
Created December 24, 2020 02:57 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@1983shiv
1983shiv / scrapy.md
Created May 20, 2021 13:41 — forked from bradtraversy/scrapy.md
Scrapy commands and code

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

@1983shiv
1983shiv / Artisan.php
Created May 15, 2022 10:19 — forked from almokhtarbr/Artisan.php
Laravel Cheat Sheet
php artisan --help OR -h
php artisan --quiet OR -q
php artisan --version OR -V
php artisan --no-interaction OR -n
php artisan --ansi
php artisan --no-ansi
php artisan --env
// -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
php artisan --verbose
https://quickadminpanel.com/blog/list-of-21-artisan-make-commands-with-parameters/
sublime 3211
----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
@1983shiv
1983shiv / typescript-crash.ts
Created January 8, 2023 07:18 — 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