Skip to content

Instantly share code, notes, and snippets.


Gareth Jones symm

Block or report user

Report or block symm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:d8960160cdc031f9a8d42ab46d283047
View ChickenProvider.php
<?php declare(strict_types=1);
namespace Faker\Provider;
use Faker\Provider\Base as BaseProvider;
class ChickenProvider
private static $chickens = [
symm / .gitignore
Last active Jun 29, 2017
Build Symfony project deployable artifact
View .gitignore
View matcher.php
function it_decodes_a_json_export_into_a_collection_of_bookmarks()
$result = $this->parse(__DIR__ . '/../pinboard_export.json');
set -e
# Remove base os docker
apt-get -y remove docker docker-engine
apt-get -y install \
linux-image-extra-$(uname -r) \
fallocate -l 1G /swapfile
ls -lh /swapfile
chmod 600 /swapfile
ls -lh /swapfile
mkswap /swapfile
swapon /swapfile
free -h
echo '/swapfile none swap sw 0 0' | tee -a /etc/fstab
sysctl vm.swappiness=10
View gist:5956f0bf7304ffe734eab7ee96fc2d08
apm install \
project-manager \
editorconfig \
file-icons \
highlight-line highlight-selected \
linter \
pigments \
tree-view-git-status \
last-cursor-position \
tab-foldername-index \
View gist:9e24e361cf7d20fe85c33ad61fa73a17
View gist:aebf3c84b27aeca93d4937a7ba97a699
5addf30ecb46c624fa97bf1e83303ce5d36fabb4525c08c966cbaf0a397fe4c33d8a4ad17fd0f4f509f547947779e1b2db32abc0471e785cacb3e2dde9b8c492 boot9.bin
c3f5044321f1ec5a33e09dd021e1117b1b663e37673222944a06b119ea70af92fc6de8547129582131fb9f8896edef7e9a8ef77295c627e0f1cb360b15b533b4 boot11.bin
View gist:8acf1d7066661f394213223157e640a6
* @beforeScenario
public function createSchema()
$metadata = $this->entityManager->getMetadataFactory()->getAllMetadata();
if (!empty($metadata)) {
$tool = new SchemaTool($this->entityManager);
You can’t perform that action at this time.