I hereby claim:
- I am vmitchell85 on github.
- I am vmitchell85 (https://keybase.io/vmitchell85) on keybase.
- I have a public key ASCpH2TzP0-9sTr4x784uJcOBwJ86TUag1ySF--oAqFRwAo
To claim this, I am signing this object:
| nukecomposer() { | |
| find . -name "vendor" -type d -maxdepth 2 -print0 | | |
| while IFS= read -r -d '' vendorDir; do | |
| lockfile=${vendorDir/vendor/"composer.lock"}; | |
| if test -f $lockfile; then | |
| echo 'Deleting vendor directory: ' $vendorDir | |
| rm -rf $vendorDir | |
| fi | |
| done |
| alias nukenodemodules="find . -name "node_modules" -exec rm -rf '{}' + " |
| <?php | |
| Route::get('/streams', 'StreamController@index'); // List of all streams | |
| Route::post('/streams', 'StreamController@store'); // Creates a new stream - If a stream starts now, it could do the logic for that as well | |
| Route::get('/streams/{stream}', 'StreamController@show'); // Shows an existing stream | |
| Route::get('/streams/{stream}/edit', 'StreamController@edit'); // Shows the page to edit a stream | |
| Route::patch('/streams/{stream}', 'StreamController@update'); // Route where edits are saved for a stream |
| # Shutdown the laravel app | |
| php artisan down | |
| # Pull down changes | |
| git pull | |
| # Install new composer packages | |
| composer install --no-dev --prefer-dist | |
| # Cache boost configuration and routes |
| <?php | |
| class User extends Authenticatable | |
| { | |
| use Notifiable; | |
| /** | |
| * The attributes that are mass assignable. | |
| * | |
| * @var array |
I hereby claim:
To claim this, I am signing this object:
Moved to vmitchell85/wallpapers
| tell application "System Events" to tell process "Jump Desktop" | |
| activate | |
| click menu item "Computers" of menu 1 of menu bar item "Window" of menu bar 1 | |
| click menu item "Find" of menu 1 of menu bar item "Edit" of menu bar 1 | |
| keystroke "SERVER" | |
| keystroke tab using {shift down} | |
| keystroke return | |
| end tell |
| hs(){ | |
| cd "/c/Users/vlm/Homestead" | |
| vagrant up | |
| vagrant ssh | |
| } | |
| hsp(){ | |
| cd "/c/Users/vlm/Homestead" | |
| vagrant provision | |
| } |
| hsp(){ | |
| cd "/c/Users/vlm/Homestead" | |
| vagrant provision | |
| } | |
| hsadd(){ | |
| curfolder=${PWD##*/} | |
| echo "192.168.10.10 ${curfolder}.dev" >> "/c/Windows/System32/drivers/etc/hosts" | |
| sed -i "/sites:/a \ \ \ \ - map: ${curfolder}.dev\r\n\ \ \ \ \ \ to: /home/vagrant/code/${curfolder}/public" "/c/Users/vlm/.homestead/Homestead.yaml" | |
| sed -i "/databases:/a \ \ \ \ - ${curfolder}" "/c/Users/vlm/.homestead/Homestead.yaml" |