I hereby claim:
- I am jeffturcotte on github.
- I am jeffturcotte (https://keybase.io/jeffturcotte) on keybase.
- I have a public key ASA0SppfmcWq8sF9QAgJgAsuHzGUJWqCDD-IdaBTqA6xtgo
To claim this, I am signing this object:
# clone repo | |
git clone https://github.com/imarc/laravel-echo-example | |
cd laravel-echo-example | |
# install php dependencies | |
composer install | |
composer run-script install-tasks | |
# install npm dependencies and build | |
npm install |
I hereby claim:
To claim this, I am signing this object:
<?php | |
class Exclamation | |
{ | |
private static $exclamations = [ | |
'TIGHTSKI!', | |
'HOLY SMOKES!', | |
'HOLY MOLY!', | |
'GOOD GOLLY!', | |
'GREAT GOOGELY MOOGELY!', | |
'SWEET JEEZ!', |
#!/bin/bash | |
function copyfacl() { | |
getfacl $1 | setfacl --set-file=- $2 | |
} |
hamburgers.txt | |
Seventeen State Street | |
Five Guys | |
The Port Tavern | |
Lexi's | |
Loretta's | |
Port City |
<?php | |
include 'vendor/autoload.php'; | |
use Handlebars\Handlebars; | |
use Handlebars\Helpers; | |
use Handlebars\Loader\FilesystemLoader; | |
$helpers = new Helpers(); | |
$helpers->add('data', function($template, $context, $args, $source) { |
<?php | |
class Word {} | |
class NotAWord { } | |
trait SayTrait { | |
function say(Word $word) { | |
echo 'word?'; | |
} | |
} |
<?php | |
/** | |
* Register a dependency. The following formats are allowed: | |
* | |
* 1. Fully qualified class (or interface) name with factory closure: | |
* $injector->register('Fully\Qualified\ClassName', function { .... }); | |
* | |
* 2. Fully qualified class (or interface) name with instance of said class: | |
* $injector->register('Fully\Qualified\ClassName', $instance); | |
* |
<!doctype html> | |
<html> | |
<head> | |
<title>{{ title|title }}</title> | |
<link rel="stylesheet" href="/styles/common.css" /> | |
<link rel="stylesheet" href="/styles/layout.css" /> | |
</head> | |
<body> | |
{{ include('header.html') }} |
#logo { | |
background-image: url('/images/my_image.png'); | |
} | |
@media all and (-webkit-min-device-pixel-ratio: 1.5) { | |
#logo { | |
background-image: url('/images/[email protected]'); | |
background-size: 200px 100px; | |
} | |
} |