Skip to content

Instantly share code, notes, and snippets.

View lewislarsen's full-sized avatar

Lewis lewislarsen

View GitHub Profile
@lewislarsen
lewislarsen / aliases.txt
Last active June 29, 2024 12:56
Bash aliases
## CUSTOM ALIASES
alias gst='git status'
alias push='git push'
alias models='php artisan ide-helper:generate && php artisan ide-helper:meta && php artisan ide-helper:models'
alias dev='npm run dev'
alias mf='php artisan migrate:fresh'
alias mfs='php artisan migrate:fresh --seed'
alias art='php artisan'
alias grst='git reset --hard HEAD'
alias tpl='php artisan test --parallel'
@jakebathman
jakebathman / remove_laravel_comments.php
Last active February 19, 2024 10:28
Remove comments from fresh Laravel files
<?php
/*
|--------------------------------------------------------------------------
| Remove Laravel Comments
|--------------------------------------------------------------------------
|
| Just made a new Laravel project, but don't want all those big
| comment blocks? Put this in the root of your project and run
| "php remove_laravel_comments.php"
|