xcode-select --install
import { Kind, DocumentNode, OperationDefinitionNode, print } from 'graphql'; | |
import { filter, make, merge, mergeMap, pipe, share, takeUntil } from 'wonka'; | |
import { | |
Exchange, | |
Operation, | |
OperationResult, | |
makeResult, | |
makeErrorResult, | |
} from 'urql'; |
#!/bin/bash | |
brew install zsh zsh-completions | |
# oh-my-zsh | |
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" | |
# Apps | |
brew cask install 1password | |
brew cask install google-chrome |
<?php | |
$stack = HandlerStack::create(); | |
$middleware = new Oauth1([ | |
'consumer_key' => config('services.xero.key'), | |
'consumer_secret' => config('services.xero.secret'), | |
]); | |
$stack->push($middleware); | |
$client = new Client([ |
{{-- | |
INSTRUCTIONS | |
1. On your local/build/deployment system: | |
- Ensure Laravel Envoy is installed on your deployment box (local computer, build server etc - not your production server). | |
(see https://laravel.com/docs/5.2/envoy) | |
- Set up a certificate or ssh config such that you can ssh to your production server without prompt. | |
- Update the @servers array below with your production ssh details or ssh config. | |
- Update the $php variable to represent the php app server for your server. |
{ | |
"require": { | |
"fabpot/goutte": "^3.1", | |
"ucsdmath/pdf": "^1.4" | |
}, | |
"autoload": { | |
"psr-4": { | |
"": "" | |
} | |
} |
/** | |
* A simple plugin to horizontally loop an image from right to left. | |
* Example usage: | |
* | |
* HTML: <div class="myContainer"><img src="//example.com/image.jpg" /></div> | |
* JS: $('.myContainer').scrollify(); | |
* | |
* @author: harryg <[email protected]> | |
*/ |
print_r(DB::getQueryLog()); |
<table class="table"> | |
<thead> | |
<tr> | |
<th>...</th> | |
</tr> | |
</thead> | |
<tbody> | |
... | |
</tbody> | |
</table> |