This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" | |
" MAIN CUSTOMIZATION FILE | |
" | |
" | |
set nocompatible | |
syntax on | |
set encoding=utf8 | |
filetype off | |
" Load our plugins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 / { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
bug_data is a dict like {'product': 'Cloud Services', 'version': 'Unspecified'} | |
Is there a better way to do look for specific keys in that dict so I can say | |
"You are missing one of the default fields | |
''' | |
if 'product' not in bug_data: | |
return "Missing 'product' field" | |
elif 'component' not in bug_data: | |
return "Missing 'component' field" | |
elif 'summary' not in bug_data: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In OpenCFP we store the generated name of speaker images that people upload | |
and then assume the path is always '/uploads/<name of file>' | |
I have plans to want to allow OpenCFP to be deployed on Heroku where we could | |
not write image files to the filesystem. I have already played around with | |
Flysystem and have it writing files locally but I want to add the ability to | |
have those files exist on S3 and the app find them. | |
Is there a method where I can ask an adapter "what is your path" and then | |
prepend that to the image name we're storing in the database. |