Skip to content

Instantly share code, notes, and snippets.

@DavidMikeSimon
DavidMikeSimon / vim-on-heroku.sh
Created July 15, 2019 21:57 — forked from sfate/vim-on-heroku.sh
vim on heroku
set -e
if [[ ! -d ~/vim ]]; then
echo "Downloading vim..."
mkdir ~/vim
cd ~/vim
# Staically linked vim version compiled from https://github.com/ericpruitt/static-vim
# Compiled on Jul 20 2017
"cards":[{"artist":"Richard Thomas","cmc":5,"colorIdentity":["U"],"colors":["Blue"],"flavor":"These spirits of the air are winsome and wild, and cannot be truly contained. Only marginally intelligent, they often substitute whimsy for strategy, delighting in mischief and mayhem.","id":"926234c2fe8863f49220a878346c4c5ca79b6046","imageName":"air elemental","layout":"normal","manaCost":"{3}{U}{U}","mciNumber":"47","multiverseid":94,"name":"Air Elemental","power":"4","rarity":"Uncommon","subtypes":["Elemental"],"text":"Flying","toughness":"4","type":"Creature — Elemental","types":["Creature"]},{"artist":"Mark Poole","cmc":1,"colorIdentity":["U"],"colors":["Blue"],"id":"aa74b7dc3b30b2e7559598f983543755e226811d","imageName":"ancestral recall","layout":"normal","manaCost":"{U}","mciNumber":"48","multiverseid":95,"name":"Ancestral Recall","rarity":"Rare","reserved":true,"text":"Target player draws three cards.","type":"Instant","types":["Instant"]},{"artist":"Douglas Shuler","cmc":4,"colorIdentity":["U"],"colors":["Bl
<?php
namespace AC\Authentication;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestMatcherInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
<?php
trait Methods
{
public function __call($name, $args)
{
if (property_exists($this, $name)) {
return $this->$name;
}
<?php
trait Methods
{
public function __call($name, $args)
{
if (get_parent_class($this)) {
$x = parent::__call($name, $args);
if (!is_null($x)) { return $x; }
}