This file contains 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
# FIRST: Install Vagrant (http://www.vagrantup.com/) | |
# and VirtualBox (https://www.virtualbox.org/) | |
# | |
# make sure the librarian gem is installed | |
gem install librarian-chef | |
# if you use rbenv you need to execute to make the librarian-chef command available: | |
# $ rbenv rehash | |
# checkout the sandbox from GitHub | |
git clone https://github.com/Kunstmaan/KunstmaanSandbox.git | |
# move into the sandbox folder |
This file contains 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
include_recipe "pivotal_workstation::homebrew" | |
brew_install "pwgen" |
This file contains 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
dmg_package "Alfred" do | |
volumes_dir "Alfred.app" | |
source "http://cachefly.alfredapp.com/alfred_1.3.1_261.dmg" | |
checksum "c951c4dc05ff1091359358d710142cabef2c190be41f799244669f879cff7e80" | |
action :install | |
owner WS_USER | |
end |
This file contains 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
unless File.exists?("/Applications/1Password.app") | |
remote_file "#{Chef::Config[:file_cache_path]}/1password.zip" do | |
source "https://d13itkw33a7sus.cloudfront.net/dist/1P/mac/1Password-3.8.20.zip" | |
owner WS_USER | |
checksum "56aef138f06fc92d641c424742bc40887cd19e6029f20409ec06ad5514b8cff1" # optional | |
end | |
execute "unzip 1password" do | |
command "unzip #{Chef::Config[:file_cache_path]}/1password.zip -d #{Chef::Config[:file_cache_path]}/" |
This file contains 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 | |
if rvm --version 2>/dev/null; then | |
gem install soloist | |
else | |
sudo gem install soloist | |
fi | |
mkdir -p ~/cookbooks; cd ~/cookbooks |
This file contains 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
cookbook_paths: | |
- /Users/roderik/cookbooks | |
recipes: | |
- pivotal_workstation::create_var_chef_cache | |
- pivotal_workstation::xquartz | |
- pivotal_workstation::locate_on | |
- pivotal_workstation::1password | |
- pivotal_workstation::gem_setup | |
- pivotal_workstation::bash4 | |
- pivotal_workstation::bash_it |
This file contains 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
set newline to ASCII character 10 | |
tell application "Mail" | |
using terms from application "Mail" | |
set selectedMails to selection | |
set eachMessage to first item of selectedMails | |
set the selected_message to item 1 of eachMessage | |
set message_id to urlencode(the message id of eachMessage) of me | |
set message_body to content of eachMessage |
This file contains 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
PHPBenelux Conference 2013 25-26 januari http://lanyrd.com/2013/phpbnl13/ | |
Future of Web Apps London 16-17 oktober http://futureofwebapps.com/london-2012/ | |
Future of Web Apps Praag 27-29 november http://futureofwebapps.com/prague-2012/ | |
Symfony Live London 14 september http://london2012.live.symfony.com/ | |
Symfony Live Berlin 23 november http://berlin2012.live.symfony.com/ | |
Dutch PHP Conference 7-9 juni http://www.phpconference.nl/ | |
PF Congres 17 september pfcongres.com | |
Fronteers 4-5 oktober http://fronteers.nl/congres/2012 | |
Smashing Conference 17-19 september http://smashingconf.com/ | |
Arrrcamp 4-5 oktober http://arrrrcamp.be/ |
This file contains 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
#!/usr/bin/env php | |
<?php | |
require 'vendor/autoload.php'; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Yaml\Dumper; | |
use Symfony\Component\Console\Input\InputArgument; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Output\OutputInterface; |
This file contains 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 | |
use Symfony\Component\ClassLoader\ApcClassLoader; | |
use Symfony\Component\HttpFoundation\Request; | |
$loader = require_once __DIR__.'/../app/bootstrap.php.cache'; | |
// Use APC for autoloading to improve performance | |
$loader = new ApcClassLoader('sf2', $loader); | |
$loader->register(true); |