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
// ==UserScript== | |
// @name PR Checks ready | |
// @namespace AdEspresso | |
// @version 1 | |
// @grant none | |
// @include /^https://github.com/adespresso/adespresso/pull/\d+/ | |
// @require https://code.jquery.com/jquery-latest.min.js | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// @require https://raw.githubusercontent.com/ttsvetko/HTML5-Desktop-Notifications/master/dist/Notification.min.js | |
// ==/UserScript== |
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 Logger | |
{ | |
public function __construct(\PDO $pdo) | |
{ | |
$this->pdo = $pdo; | |
} | |
public function log($message) |
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
Verifying that +giorrrgio is my blockchain ID. https://onename.com/giorrrgio |
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 Acme\Controller; | |
class FooControllerTest extends \PHPUnit_Framework_TestCase | |
{ | |
public function testHook() | |
{ | |
$_SERVER['HTTP_HOST'] = 'localhost'; | |
$_SERVER['HTTP_USER_AGENT'] = 'Foobar Agent'; |
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
{ | |
"require": { | |
"symfony/dom-crawler": "*", | |
"symfony/css-selector": "*" | |
} | |
} |
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
#!/bin/bash | |
php -dxdebug.remote_autostart=On -didekey=PHPSTORM -dremote_host=localhost $* |
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 MyNamespace\CoreBundle\Test; | |
use Symfony\Bundle\FrameworkBundle\Client; | |
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase as SymfonyWebTestCase; | |
use Symfony\Component\Process\Process; | |
abstract class WebTestCase extends SymfonyWebTestCase | |
{ |
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 | |
include('php-kml/lib/kml.php'); | |
$jsonFile = file_get_contents("data.json"); | |
$json_a = json_decode($jsonFile, true); | |
$a = new kml_Document(); | |
$a->set_id('uid000000111'); |
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
#open ~/.zshrc with your favourite editor | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="kolo" | |
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | |
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ |
NewerOlder