Skip to content

Instantly share code, notes, and snippets.

@piccagliani
piccagliani / gist:35d28fffca0ab86e2a99
Last active August 29, 2015 14:13
Vagrant provisioning: CentOS6.5 + Docker + Jenkins
config.vm.provision "shell", inline: <<-SHELL
sudo cp -p /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
sudo sh -c 'echo ZONE=\"Asia/Tokyo\" > /etc/sysconfig/clock'
sudo sh -c 'echo UTC=\"false\" >> /etc/sysconfig/clock'
sudo sh -c "source /etc/sysconfig/clock"
sudo yum update -y
sudo yum install -y wget
sudo rpm -ivh http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/i386/epel-release-6-8.noarch.rpm
@piccagliani
piccagliani / FunctionalHelper.php
Created June 12, 2014 07:28
Codeception x Laravel FunctionalHelper
<?php
namespace Codeception\Module;
// here you can define custom actions
// all public methods declared in helper class will be available in $I
class FunctionalHelper extends \Codeception\Module
{
/** @var Laravel4 */
private $module;
zend_extension="C:\php\ext\php_xdebug-2.2.3-5.4-vc9.dll"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.profiler_output_dir="C:\php\tmp"
xdebug.max_nesting_level=250
alias ls='ls -hF --color=tty --show-control-chars'
export LS_COLORS="di=01;36"
export PS1='\[\033[00;32m\]\u@\h\[\033[00;33m\] \w\[\033[01;35m\]$(__git_ps1) \n\[\033[00;37m\]\$\[\033[00m\] '
@piccagliani
piccagliani / composer.json
Created July 3, 2013 03:43
composer.json
{
"name": "vendor/study",
"description": "description",
"authors": [
{
"name": "user.name",
"email": "user.email"
}
],
"autoload": {