Skip to content

Instantly share code, notes, and snippets.

View gist:77e31d6bb572a8a32e92c4da885a7dfc
Symfony\Component\DependencyInjection\Exception\RuntimeException : Cannot autowire service "App\Scanner\FileScanner": argument "$fs" of method "__construct()" references class "League\Flysystem\Filesystem" but no such service exists. You should maybe alias this class to the existing "default.storage" service.
View gist:6f92f91f1f1c35ab677f635a8d18e1ee
yarn install
yarn install v1.19.1
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
✨ Done in 14.48s.
╭─ chartjes@grumpiermbp   ~/Sites/opencfp    ch-laravel    4  PHP 7.3.10     10728  17:21:47 
╰─ yarn run watch
yarn run v1.19.1
View gist:74db424013e90b46a884510d78c4563b
Problem 2
- Installation request for hhvm 4.28.1 -> satisfiable by hhvm[4.28.1].
- wouterj/eloquent-bundle 1.0.2 conflicts with hhvm[4.28.1].
- Installation request for wouterj/eloquent-bundle 1.0.2 -> satisfiable by wouterj/eloquent-bundle[1.0.2].
View gist:b0c8497a4e399706cb3611dbad8fde61
/usr/local/bin/php -dxdebug.remote_mode=jit ./vendor/bin/phpunit /Users/chartjes/Sites/opencfp-central/vendor/phpunit/phpunit/phpunit --configuration /Users/chartjes/Sites/opencfp-central/phpunit.xml --filter "/(::testExample)( .*)?$/" Tests\Feature\HomePageTest /Users/chartjes/Sites/opencfp-central/tests/Feature/HomePageTest.php --teamcity
Could not open input file: ./vendor/bin/phpunit
View gist:a462fa4d581f153e9c329797d1ae2eb4
I am using a Vuejs component as a date range picker
https://github.com/dwqs/v2-datepicker
It is being used in a Laravel Blade template like this:
<v2-datepicker-range v-model="event_date_range" format="yyyy-MM-DD" lang="en" default="YYYY-mm-dd"></v2-datepicker-range>
<input :value="event_date_range" name="event_date_range" type="hidden"/>
<v2-datepicker-range v-model="cfp_date_range" format="yyyy-MM-DD" lang="en"></v2-datepicker-range>
<input :value="cfp_date_range" name="cfp_date_range" type="hidden"/>
View grumpy-environment.txt
I work 100% remote for Mozilla as part of the Ecosystem QA group (testing services and other items used internally) and my always-messy desk contains the following:
2016 MacBook Pro 13” laptop with touch bar running closed
Dell P2715Q display
Advantage2 LF Kinesis ergonomic keyboard
Logitech MX Master 2S bluetooth mouse
CR3 Multimedia Monitors as speakers connected through an AudioQuest Dragonfly Black 1.5 (I listen to a lot of Spotify)
Blue Yeti USB mic on a Rode microphone boom arm (I do an irregular podcast and have meetings almost every day at work)
An old pair of Sennheiser 558 headphones that I use when I don’t want to disturb my family members
Logitech HD Pro webcam that sits on top of my monitor for meetings
View form.blade.php
<div class="form-group">
<label for="event_id">Event ID (eg https://opencfp-central.com/myconf2020)</label>
<input type="text" class="form-control" name="event_id" placeholder="myconf2020"/>
</div>
<div class="form-group">
<label for="event_title">Event title</label>
<input type="text" class="form-control" name="event_title" placeholder="My Conference 2020"/>
</div>
<div class="form-group">
<label for="event_date_range">Event date</label><br>
View gist:188cf3946238436f060758ea1adc1168
Casualties of War
Roalesk, Apex-Hybrid
The Elderspell
Role Reversal
Spark Double
Narset's Reversal
View php-artisan-error.txt
> @php artisan package:discover
Warning: require(): Filename cannot be empty in /Users/chartjes/Sites/opencfp-central/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 72
Fatal error: require(): Failed opening required '' (include_path='.:/usr/local/Cellar/php/7.3.3/share/php/pear') in /Users/chartjes/Sites/opencfp-central/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 72
PHP Warning: require(): Filename cannot be empty in /Users/chartjes/Sites/opencfp-central/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 72
PHP Fatal error: require(): Failed opening required '' (include_path='.:/usr/local/Cellar/php/7.3.3/share/php/pear') in /Users/chartjes/Sites/opencfp-central/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 72
View gist:1f7ede88f8051b446e3829264e4d99f4
Dungeon World -- Season 1, Episode 1
It started with the dreams.
The ancient elf was always sitting across from you in a chair made of some weird metal and fabric mesh you could never
quite identify. He always mentioned you by name...but never mentioned his own name.
He reminded you of the battle over a thousand years ago where the forces led by the HordeKing won their battle against the
elves and their allies, opening a portal that blasted the landscape with magical energy and pulled almost the entire Great
Allied Army through the gate.