1 DireTide 2 First Floor 3 Kill All Humans! 4 GUARDIAN ANGELS 5 The Lost Cartel 6 Acts of Vengeance 7 Black Lotus 8 Best Of The Best Of The Best
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
| <?php | |
| namespace Acme\Services; | |
| use Doctrine\Common\Cache\ArrayCache; | |
| use Doctrine\Common\Cache\Cache; | |
| use Doctrine\ORM\EntityRepository; | |
| use Kunstmaan\AdminBundle\Entity\User; | |
| use Acme\Entity\Profile; |
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
| <?php | |
| class AclModeratorsUpdater | |
| { | |
| /** | |
| * @var MutableAclProviderInterface | |
| */ | |
| private $provider; | |
| public function __construct(MutableAclProviderInterface $provider) |
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
| Training times and costs: | |
| Level 1 | |
| 30 minutes | |
| Gun Show:100 | |
| Gems:27 | |
| Level 2 | |
| 1 hour | |
| Gun Show:250 |
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
| <?php | |
| namespace Nassau\CartoonBattle\Services\Farming\Chores; | |
| use Nassau\CartoonBattle\Entity\Game\Farming\UserFarming; | |
| use Nassau\CartoonBattle\Services\Farming\FarmingChore; | |
| use Nassau\CartoonBattle\Services\Game\Game; | |
| class WatchAdsChore implements FarmingChore | |
| { |
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
| #!/bin/bash | |
| export_diff() { | |
| declare project=$1 period=$2 hash=$3 | |
| local person="$(git -C "$project" show --format="%an" -s "$hash")" | |
| local target="output/$period/$person/${project#projects/}/$hash.html" | |
| mkdir -p "$(dirname "$target")" |
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
| #!/bin/bash | |
| SOURCE=${SOURCE:-cartoon-dev} | |
| TARGET=${TARGET:-cb-live} | |
| FILES=(cards.xml cards_finalform.xml cards_mythic.xml levels.xml combos.xml missions.xml) | |
| ENDPOINT="http://%s.synapse-games.com/assets/%s" | |
| get_diff() { | |
| declare file=$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
| version: "3" | |
| services: | |
| www: | |
| build: .docker/php | |
| command: gulp browser-sync --proxy http://backend | |
| working_dir: /app | |
| ports: | |
| - 3000:3000 |
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
| EXECUTABLES = php aws curl awk | |
| K := $(foreach exec,$(EXECUTABLES),\ | |
| $(if $(shell which $(exec)),,$(error "No $(exec) in PATH"))) | |
| all: vendor app.php | |
| php app.php > conferences.ical | |
| aws s3 cp --acl public-read --content-type "text/calendar" conferences.ical s3://polish-it-conferences/conferences.ical --profile polish-it-conferences | |
| vendor: composer composer.json composer.lock | |
| ./composer install |
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 findUpcomingForPatient(Patient $patient): ?Visit | |
| { | |
| - return $this->cache->fetch($patient->getId()) | |
| - ?: $this->visits->findUpcomingForPatient($patient); | |
| + $key = $patient->getId(); | |
| + if ($this->cache->contains($key)) { | |
| + return $this->cache->fetch($key); | |
| + } | |
| + | |
| + return $this->visits->findUpcomingForPatient($patient); |