$ crontab -l > crontab.back$(date '+%y%m%d_%H%M%S')
$ crontab .crontab.back
This file contains hidden or 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
var jq = document.createElement('script'); | |
jq.src = 'https://code.jquery.com/jquery-2.1.3.min.js'; | |
document.getElementsByTagName('head')[0].appendChild(jq); | |
jQuery.noConflict(); // Option |
This file contains hidden or 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 | |
ini_set('error_reporting', E_ALL); | |
ini_set('display_errors', 1); | |
function fputcsv2($fp, $fields, $delimiter = ',', $enclosure = '"', $mysql_null = false) { | |
$delimiter_esc = preg_quote($delimiter, '/'); | |
$enclosure_esc = preg_quote($enclosure, '/'); | |
$output = array(); |
This file contains hidden or 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 | |
// app/routes.php | |
Route::get('/', function() | |
{ | |
$artist = new Artist; | |
$artist->name = 'Eve 6'; | |
$artist->save(); |
This file contains hidden or 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
{ | |
"require-dev": { | |
"phpunit/phpunit": "4.6.*" | |
}, | |
"autoload": { | |
"psr-4": { | |
"Namespace\\": "" | |
} | |
} | |
} |
This file contains hidden or 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
.room { | |
width: 200px; | |
float: left; | |
margin-right: 145px; | |
} | |
.room-msg { | |
top: -20px; | |
left: 190px; | |
height: 100% !important; |
This file contains hidden or 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
・企画 書 | |
・全体像( オーバービュー) | |
・利用 する 実装 技術 | |
・実現 し たい こと 一覧( 要求 一覧) | |
・行動 シナリオ 一覧 | |
・行動 シナリオ | |
・ワーク セット 一覧 | |
・概念 データモデル | |
・ラフイメージ または モックアップ | |
・画面 遷移 図 |
brew install tesseract
tesseract time.png result -l eng
dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /Applications/XAMPP/xamppfiles/lib/libJPEG.dylib in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
- solve
http://stackoverflow.com/questions/24941078/ffmpeg-and-php-on-mac-doest-work
This file contains hidden or 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 | |
$app->map('/abc', '\App\Controller\UserController:abc') | |
->via('GET', 'POST') | |
->name('abcname'); | |
if ($this->app->request()->isPost()) { | |
$this->app->flash('err', 'message!!!'); | |
$this->app->redirect($this->app->urlFor('abcname')); | |
} |