Skip to content

Instantly share code, notes, and snippets.

View chartjes's full-sized avatar

Chris Hartjes chartjes

View GitHub Profile
Casualties of War
Roalesk, Apex-Hybrid
The Elderspell
Role Reversal
Spark Double
Narset's Reversal
> @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
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.
rmdir : Cannot remove item C:\Users\chartjes\vagrant-ubuntu\.vagrant\machines\default\hyperv\Virtual Hard
Disks\precise64.vhdx: Access to the path 'precise64.vhdx' is denied.
At line:1 char:1
+ rmdir .\vagrant-ubuntu\
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (precise64.vhdx:FileInfo) [Remove-Item], UnauthorizedAccessException
+ FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
rmdir : Directory C:\Users\chartjes\vagrant-ubuntu\.vagrant\machines\default\hyperv\Virtual Hard Disks cannot be
removed because it is not empty.
At line:1 char:1
Went 1-4 in MTGO league
0-2 PO Storm
0-2 Landstill
2-1 Lavinia Hate Bears
0-2 Grixis Thieves
1-2 DPS
no idea how to play against Landstill
early JTMS wrecked me and always had the answer for a threat.
def terminated_iter(v1):
for item in v1.list_pod_for_all_namespaces(watch=False).items:
for container in item.status.container_statuses:
terminated = container.state.terminated
if isinstance(terminated, client.V1ContainerStateTerminated):
yield terminated
"
" MAIN CUSTOMIZATION FILE
"
"
set nocompatible
syntax on
set encoding=utf8
filetype off
" Load our plugins
@chartjes
chartjes / snippet.py
Created October 24, 2018 16:12
How to make this more ideomatically pythonic
while test_completed is False:
ret = v1.list_pod_for_all_namespaces(watch=False)
for i in ret.items:
container_status = i.status.container_statuses
for container in container_status:
if isinstance(container.state.terminated, client.V1ContainerStateTerminated):
if container.state.terminated.reason == 'Completed':
bar.finish()
test_completed = True
if container.state.terminated.exit_code == 0:
server {
server_name cfp.sitename.com;
root /var/www/opencfp/web;
listen 80;
index index.php index.html index.htm;
access_log /var/log/nginx/access.cfp.log;
error_log /var/log/nginx/error.cfp.log;
location / {
public function sortOrderUsingDoubles()
{
// Arrange
$expectedRoster = unserialize(file_get_contents(__DIR__ . '/fixtures/mad_roster.txt'));
$newSelect = Mockery::mock(Aura\SqlQuery\Common\Select::class);
$newSelect->shouldReceive('cols->from->where->orderBy->bindValue')->once();
$newSelect->shouldReceive('cols->from->where->bindValue')->once();
$newSelect->shouldReceive('getStatement');
$newSelect->shouldReceive('getBindValues');
$db = Mockery::mock(QueryFactory::class);