bashでファイルに該当の文字が含まれた時の検知
いつも忘れる script.sh if grep -i "error" LOG; then echo "exit 0" else echo "exit 1" fi
19 search resultsShowing 1~19 results
You need to log-in
いつも忘れる script.sh if grep -i "error" LOG; then echo "exit 0" else echo "exit 1" fi
WD、Raspberry Pi用2.5インチHDD「PiDrive 314GB」 http://pc.watch.impress.co.jp/docs/news/20160315_748265....
Web Pushについて 引用: http://d.hatena.ne.jp/jovi0608/20141204/1417697480 さっくり言うと、HTTP/2のサーバープッシュを用いて実現...
JSON JSONのそもそも The application/json Media Type for JavaScript Object Notation (JSON) RFC4627 IETF...
ドキュメントへのファイルの書き込みを行う方法 saveFile(swift-v2.1) // ドキュメントパス let documentsPath = NSSearchPathForDirect...
*追記:v48のインストールでは下記の手順を行っても起動しないので http://www.macupdate.com/app/mac/36244/chromium ここからv46のダウンロードで...
概要 QuickTimeとSoundflowerを使ってMacで音声付き録画をする 0.SoundFlowerのダウンロード 1.Soundflowerを立ち上げる 以下のように設定する 2.Q...
【前提】 TestFrightが使えなくなるということで Twitterが提供しているfabricのCrashlyticsの導入を進めていました。 https://get.fabric.io/ ...
{ "cmd": ["node","$file","file_base_name"], "working_dir":"${project_path:${folder}}", "selector"...
heroku --verion : heroku-toolbelt/3.9.6 (x86_64-darwin10.8.0) ruby/1.9.3 node -v : v0.10.30 npm -...
heroku --verion : heroku-toolbelt/3.9.6 (x86_64-darwin10.8.0) ruby/1.9.3 node -v : v0.10.30 npm -...
AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback, error: nil) AVAudioSe...
ローカルの変更を元に戻す git checkout . また、一部ファイル、フォルダのみ変更したい場合には、それを指定する git checkout hoge.txt 【参考】 http://t...
Boxen Hubot 方痴民 Git::SVN http://notnil-creative.com/blog/archives/2431 http://lambdasakura.hatena...
テキストフィールド的な rails g scafflod hoge texts:text 改行も含めた表示 <%= simple_format(text) %>
どん詰まりした Incorrect MySQL client library version! This gem was compiled for 5.6.13 but the client l...
gem install rails 4.0 --no-ri --no-rdoc
iTunes 11.1.3 Mac 10.9.1(2010mid) プレイリストを作ってそこに入れればおk あとはそのプレイリストを同期してやればiPhoneに入る
git checkoutしようとした時 「error: The following untracked working tree files would be overwritten by ch...
19 search resultsShowing 1~19 results
Qiita is a knowledge sharing service for engineers.