MacOSX + Vagrant + CoreOS + Docker + Ubuntuの環境。
2014年6月11日時点での情報。
- Version: CoreOS 343.0.0
- Kernel: 3.14.5
- Docker: 1.0
| <?php | |
| $attributeValues = array( | |
| 'color' => array('Red', 'White', 'Blue'), | |
| 'size' => array(1, 2, 3, 4), | |
| 'fabric' => array('Cloth', 'Silk') | |
| ); | |
| class Cartesian | |
| { |
| language: objective-c | |
| cache: | |
| directories: | |
| - vendor/bundle | |
| - Pods | |
| install: | |
| - bundle install --path=vendor/bundle --binstubs=vendor/bin | |
| - bundle exec pod install | |
| script: | |
| - '[ ! -z $(echo ${TRAVIS_BRANCH} | grep "^release.*$") ] && CONFIG=release || CONFIG=adhoc' |
| require "rubygems/version" | |
| require "rake/clean" | |
| require "date" | |
| require 'time' | |
| require "json" | |
| require "open3" | |
| # Application info | |
| APP_NAME = "Ubiregi2" | |
| SDK = "iphoneos" |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| // Metadata. | |
| pkg: grunt.file.readJSON('package.json'), | |
| // Task configuration. | |
| jasmine: { |
| <?php | |
| App::uses('CakeEmail', 'Network/Email'); | |
| class AppCakeEmail extends CakeEmail { | |
| protected $_emailPattern = null; | |
| /** | |
| * |
| <?php | |
| App::uses('AppController', 'Controller'); | |
| class ApisController extends AppController { | |
| // どの Model も使わないようにする。 | |
| public $uses = false; | |
| public function index() { | |
| $data = array(); |