Skip to content

Instantly share code, notes, and snippets.


Vince Mitchell vmitchell85

View GitHub Profile
vmitchell85 /
Last active Apr 27, 2020
How to play Clubs Trump

Clubs Trump

The Deck

The standard 52-card pack is used.

Rank of Suits

The club suit is always trump.


A (high), K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3, 2.

vmitchell85 / pip.js
Created Mar 17, 2020
Chrome PIP Bookmarklet
View pip.js
javascript:(function () { document.querySelector('video').requestPictureInPicture() })()
View imagePreview.html
<script src="" defer></script>
<link href="^1.0/dist/tailwind.min.css" rel="stylesheet">
function imageData() {
return {
previewUrl: '',
updatePreview() {
var reader, files = document.getElementById('thumbnail').files;
vmitchell85 /
Created Jan 9, 2020
A little function to delete all your vendor folders where a composer.lock file exists
nukecomposer() {
find . -name "vendor" -type d -maxdepth 2 -print0 |
while IFS= read -r -d '' vendorDir; do
if test -f $lockfile; then
echo 'Deleting vendor directory: ' $vendorDir
rm -rf $vendorDir
alias nukenodemodules="find . -name "node_modules" -exec rm -rf '{}' + "
vmitchell85 / StreamRoutes.php
Created Jun 23, 2018
Larastream 2.0 sample routes
View StreamRoutes.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
vmitchell85 /
Last active May 15, 2018 — forked from sahibalejandro/
Deploy script for Laravel projects.
# 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
View laraboost-sample.php
class User extends Authenticatable
use Notifiable;
* The attributes that are mass assignable.
* @var array

Keybase proof

I hereby claim:

  • I am vmitchell85 on github.
  • I am vmitchell85 ( on keybase.
  • I have a public key ASCpH2TzP0-9sTr4x784uJcOBwJ86TUag1ySF--oAqFRwAo

To claim this, I am signing this object:

You can’t perform that action at this time.