This is an example for a personal MacbookAir, to connect github.com.
ssh-keygen -t rsa -f ~/.ssh/id_rsa,github.com -C "github,macbookair_perso"
chmod 600 ~/.ssh/id_rsa,github.com
Init a vagrant box with vagrant init
, and update Vagrantfile
to base your future one on your favorite Debian 6 32 or 64 bits box.
Then: vragrant up
, vagrant ssh
and let's go.
Add PuppetLabs apt sources:
cat /path/to/my/image.jpg | openssl base64 | tr "\n" -d |
{ | |
"require": { | |
"react/socket": "0.2.*" | |
} | |
} |
require "rubygems" | |
require "sinatra" | |
require "json" | |
# Configure this with the directory path for the Web server's clone of the Git repo | |
git_dir = '/var/www/origin.git' | |
# Configure the mappings between Git branches and Web document roots | |
branch_to_working_directory = { | |
'www' => '/var/www/www.example.com', |
<?php | |
protected function flushQueue() | |
{ | |
$container = $this->getContainer(); | |
$transport = $container->get('mailer')->getTransport(); | |
$spool = $transport->getSpool(); | |
$spool->flushQueue($container->get('swiftmailer.transport.real')); |
<?php | |
use Sami\Sami; | |
use Sami\Version\GitVersionCollection; | |
use Sami\Parser\Filter\TrueFilter; | |
use Symfony\Component\Finder\Finder; | |
$iterator = Finder::create() | |
->files() | |
->name('*.php') |
<?php | |
use Sami\Sami; | |
use Sami\Version\GitVersionCollection; | |
use Sami\Parser\Filter\TrueFilter; | |
use Symfony\Component\Finder\Finder; | |
$iterator = Finder::create() | |
->files() | |
->name('*.php') |
<?php | |
// src/Foobar/Controller/FooController.php | |
namespace Foobar\Controller; | |
class FooController | |
{ | |
public function helloAction($request) | |
{ |
{ | |
"name": "rezzza/myproject", | |
"description": "myproject", | |
"authors": [ | |
{ | |
"name": "Chuck norris", | |
"email": "[email protected]" | |
} | |
], | |
"licence": "MIT", |