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 Demo; | |
use League\Flysystem\Filesystem; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Helper\ProgressBar; | |
use Symfony\Component\Console\Input\InputArgument; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; |
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
$context = stream_context_create([], ['notification' => $callback]); | |
$resource = fopen($source, 'r', null, $context); |
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
Hi {{ first_name }}, | |
We're sorry to inform you that we didn't select one of your proposal(s) to speak at {{ conference }}. | |
Here's a discount coupon, though: [XYXYXY](https://tickets.someconf.com/buy?coupon=XYXYXY) | |
Hope to see you at {{ conference }} in {{ month }}! | |
Cheers, | |
John Doe |
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
composer config github-oauth.github.com ${GH_TOKEN} |
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
/** | |
* Sends a PSR request | |
* | |
* @param \Psr\Http\Message\RequestInterface $request | |
* @param array $options | |
* | |
* @return \Psr\Http\Message\ResponseInterface | |
*/ | |
public function sendRequest(RequestInterface $request, array $options = []); |
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
$client = new \Http\Adapter\Client($adapter); | |
$psrResponse = $client->get('https://api.github.com/users/hannesvdvreken'); |
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
07:00 - 4498 - Yannick Vanceulebroeck | |
07:01 - 107 - Steven Gerard De Vlieger | |
07:01 - 10943 - Paul Mertens | |
07:01 - 4395 - Wim Spiessens | |
07:02 - 3911 - Christian Clauwaert | |
07:02 - 4376 - Bart Van Nijlen | |
07:02 - 9660 - Ivo Cesar Steyaert | |
07:03 - 1647 - Jan Vandekerckhove | |
07:03 - 189 - Martino Corneillie | |
07:03 - 6961 - stef nullens |
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 Importer | |
{ | |
/** | |
* @return $this | |
*/ | |
public function setBaseUrl($url) | |
{ | |
$this->baseUrl = $url; |
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 | |
interface ImmutableContainer | |
{ | |
/** | |
* @param string $key | |
* @param callable $resolver | |
* | |
* @return static | |
*/ |
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
# Show graph of commits with abbreviated hashes and commit messages | |
git log --oneline --decorate --all --graph | |
# Show entire repo's changes one at a time to decide which to stage and which not. | |
git add -p | |
# Record conflict resolving. https://git-scm.com/blog/2010/03/08/rerere.html | |
git config --global rerere.enabled true | |
# Merge, but always add an extra merge commit instead of just moving the branch reference. |