Skip to content

Instantly share code, notes, and snippets.

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

Lewis Larsen lewislarsen

🏠
Working from home
View GitHub Profile
@lewislarsen
lewislarsen / aliases.txt
Last active March 6, 2025 07:08
Bash aliases
## CUSTOM ALIASES
alias main='git switch main && git pull'
alias gst='git status'
alias pull='git pull'
alias push='git push'
alias models='php artisan ide-helper:generate && php artisan ide-helper:meta && echo "no" | php artisan ide-helper:models'
alias dev='npm run dev'
alias build='npm run build'
alias mf='php artisan migrate:fresh'
alias mfs='php artisan migrate:fresh --seed'
@jakebathman
jakebathman / remove_laravel_comments.php
Last active March 5, 2025 10:57
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"
|