Install git:
sudo apt-get install git
Configure Git:
touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"
git config --global user.email "Your Email"
<?php | |
namespace App\Tests\Browser; | |
use App\Tests\HasDuskBrowser; | |
class ExampleTest extends \PHPUnit_Framework_TestCase | |
{ | |
use HasDuskBrowser; | |
<?php | |
/** | |
* @author Kevin Bond <kevinbond@gmail.com> | |
* | |
* @template T of object | |
* @extends ProxyBuilder<T> | |
*/ | |
final class GhostProxyBuilder extends ProxyBuilder | |
{ |
Install git:
sudo apt-get install git
Configure Git:
touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"
git config --global user.email "Your Email"
<?php | |
// app/AppKernel.php | |
use Symfony\Component\Config\Loader\LoaderInterface; | |
use Symfony\Component\HttpKernel\Kernel; | |
class AppKernel extends Kernel | |
{ | |
public function registerBundles() | |
{ |
<?php | |
Schema::create('visits', function (Blueprint $table) { | |
$table->increments('id'); | |
$table->string('url'); | |
$table->json('data'); | |
// non-nullable timestamps | |
$table->timestamp('created_at')->default(\DB::raw('CURRENT_TIMESTAMP')); | |
$table->timestamp('updated_at')->default(\DB::raw('CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP')); |
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityRepository;
use Doctrine\ORM\QueryBuilder;
use Zenstruck\Porpaginas\Doctrine\ORMQueryIterateResult;
use Zenstruck\Porpaginas\Result;
trait ORMRepository
{
/** @var EntityManager */
if [ "$1" = "5" ]; then | |
sudo ln -sfn /usr/bin/php5.6 /etc/alternatives/php; | |
else | |
sudo ln -sfn /usr/bin/php7.0 /etc/alternatives/php; | |
fi |
<?xml version="1.0" encoding="UTF-8" ?> | |
<project name="[PROJECT_NAME]" default="build" basedir="."> | |
<property environment="env"/> | |
<loadfile property="version" srcfile="${basedir}/VERSION"/> | |
<condition property="bat" value=".bat" else=""> | |
<os family="windows" /> | |
</condition> | |
<target name="test"> | |
<delete dir="${basedir}/build"/> |
Verifying that +zenstruck is my blockchain ID. https://onename.com/zenstruck |
Ensure VirtualBox and Vagrant are installed.
Install Puppet:
$ wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb
$ sudo dpkg -i puppetlabs-release-precise.deb
$ sudo apt-get update
$ sudo apt-get install puppet