Skip to content

Instantly share code, notes, and snippets.

View alphaolomi's full-sized avatar
🎯
Focusing

Alpha alphaolomi

🎯
Focusing
View GitHub Profile
@alphaolomi
alphaolomi / awesome_laravel.md
Last active November 8, 2024 14:37
Curated List of Awesome Laravel
@alphaolomi
alphaolomi / columns_cheat_sheet.md
Created September 25, 2019 15:31
Laravel Migration Cheat Sheet

Columns

Available Column Types

The schema builder contains a variety of column types that you may specify when building your tables:

The schema builder contains a variety of column types that you may specify when building your tables:

Command` Description
$table->bigIncrements('id'); Auto-incrementing UNSIGNED BIGINT (primary key) equivalent column.
$table->bigInteger('votes'); BIGINT equivalent column.
@alphaolomi
alphaolomi / vscode_quick.md
Created September 20, 2019 07:45
VSCode Shortcuts

VSCode Shortcuts

List of helpful shortcuts for faster coding

  • For mac, replace "Ctrl" with "cmd" and "Alt" with "option"

Official List of all commands

@alphaolomi
alphaolomi / sublime.json
Last active October 30, 2019 17:39
[Opinionated Sublime Settings] #sublime #setting
{
"added_words":
[
"Laravel"
],
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Default/Mariana.sublime-color-scheme",
"ensure_newline_at_eof_on_save": true,
"findreplace_small": true,
"font_face": "Dank Mono",
@alphaolomi
alphaolomi / wordpress_docker.md
Created September 20, 2019 07:44
Wordpress & Docker

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
@alphaolomi
alphaolomi / docker_cheat_sheet.md
Last active September 20, 2019 07:43
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@alphaolomi
alphaolomi / infyom_generator_quick.md
Created September 20, 2019 07:41
Infyom Generator

Infyom Generator

Examples

php artisan infyom:api $MODEL_NAME

php artisan infyom:scaffold $MODEL_NAME

php artisan infyom:api_scaffold $MODEL_NAME
@alphaolomi
alphaolomi / linux_quick_commands.md
Created September 20, 2019 07:41
Linux Quick Commands

Linux Quick Commands

Add mysql to your PATH

# Current Session
export PATH=${PATH}:/usr/local/mysql/bin
@alphaolomi
alphaolomi / pipenv_cheat_sheet.md
Created September 20, 2019 07:40
Pipenv Cheat Sheet

Pipenv Cheat Sheet

Install pipenv

pip3 install pipenv

Activate

pipenv shell
@alphaolomi
alphaolomi / msql_change_pwd.md
Last active September 20, 2019 07:47
MySQL Cheat Sheet

Change Root Password

sudo /etc/init.d/mysql stop
sudo /etc/init.d/mysqld stop

sudo mysqld_safe --skip-grant-tables &

mysql -u root