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 | |
namespace App\Model\Table\Restaurant; | |
use Cake\ORM\Query; | |
use Cake\ORM\RulesChecker; | |
use Cake\ORM\Table; | |
use Cake\Validation\Validator; | |
use Cake\I18n\Time; | |
/** |
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
<script src="https://code.createjs.com/easeljs-0.7.1.min.js"></script> | |
<script> | |
var stage; | |
//initialize rectangle | |
var seatReservedBackgroundColor = 'red'; | |
var fontReservedColor = 'white'; | |
var seatNonReservedBackgroundColor = 'grey'; | |
var fontNonReservedColor = 'black'; | |
var seatList = [ | |
{ |
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 | |
namespace App\Controller\Approval; | |
use App\Controller\AppController; | |
use Cake\ORM\TableRegistry; | |
use Cake\I18n\Time; | |
/** | |
* RestaurantReservationsManagesController Controller | |
* |
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/sh | |
# Ubuntu setup from vagrant | |
###### via https://gorails.com/setup/ubuntu/14.04 | |
echo "Packages setting..." | |
sudo apt-get -y update | |
sudo apt-get -y install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev | |
## Ruby | |
echo "Ruby setting..." | |
cd |
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 | |
#==================================================================== | |
# aptのアップデート | |
#==================================================================== | |
yes | sudo apt-get update | |
yes | sudo apt-get upgrade | |
#==================================================================== | |
# 『デスクトップ』『音楽』などの日本語フォルダー名を英語表記にする | |
#==================================================================== |