Skip to content

Instantly share code, notes, and snippets.

@wantonbe
wantonbe / 1-準備.md
Last active March 10, 2020 22:26
Dockerハンズオン

mkdir docker-handson && cd docker-handson mkdir src laravel

@wantonbe
wantonbe / composer.json
Created February 4, 2014 19:00
fuelPHP 1.7 用の composer.json
{
"name": "fuel/fuel",
"type": "metapackage",
"description": "The FuelPHP framework",
"keywords": ["framework"],
"homepage": "https://github.com/wantonbe/",
"license": "MIT",
"authors": [
{
"name": "FuelPHP Development Team",
git config --global user.name "your name"
git config --global user.email "your@email.com"
git config --global color.status auto
git config --global color.diff auto
git config --global color.branch auto
git config --global color.interactive auto
git config --global color.grep auto
git config --global alias.co 'checkout'
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "web" do |web|
web.vm.box = "CentOS-6.4-x86_64"
web.vm.box_url = "http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130427.box"
web.vm.network :private_network, ip: "172.16.1.200"
@wantonbe
wantonbe / find
Last active December 22, 2015 15:38
# 特定のディレクトリを除外しつつ、ファイルを表示する
find . -type d \( -name '.git' -o -name '.gitkeep' \) -prune -o \( -type f -a -print \)
$ PERL_CARTON_MIRROR=http://cpan.metacpan.org/,http://backpan.perl.org/ carton install