Description:
- Nginxのリポジトリを登録する
# rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
| #!/bin/bash | |
| for f in `grep '2008' /var/www/html/ -rls` | |
| do | |
| echo $f | |
| /usr/bin/perl -i -pe 's{2008}{2009}gxo' $f; | |
| done |
| How To Install Apache Strom v0.9.3 | |
| ---- | |
| Description: シングル・マシンでのインストール手順とする。また、以下の作業は、指定がない限り、rootユーザで実施するものとする。 | |
| 1. Apache Stormを取得する。 | |
| <pre> | |
| $ cd /tmp | |
| $ wget http://ftp.jaist.ac.jp/pub/apache/storm/apache-storm-0.9.3/apache-storm-0.9.3.tar.gz | |
| $ tar -zxvf ./apache-storm-0.9.3.tar.gz |
Clang Static Analyzer
Xcode
| (1)目的 | |
| 経験のすくないプログラムディベロッパーでも、テストできる。 | |
| やみくもに行う(モンキーテスト)のではなく、科学的手法に基づいて行うことで、バクの不安から開放される、ハッピー!!。 | |
| プログラムディベロッパーが行う下流工程のテスト手法の紹介なので、取捨選択すること。 | |
| めんどうなテストを、効率的に行う。 | |
| (2)ホワイトボックステスト | |
| プログラムの論理的構造が正しいかテストをする。 | |
| つまり、設計書通りにロジックが組まれているかテストする。 |
| 【最初に】 | |
| Redmineは、使いこなせれば有用なプロジェクト管理ツールですが | |
| 全員がきっちり入力を行ってこそ力が発揮されます。ご協力よろしくお願いします。 | |
| 【Redmine閲覧】 | |
| ・メール通知は「ウォッチもしくは関係している事柄」以上のレベルで常時確認すること | |
| ・できれば「参加しているプロジェクトの全ての通知」を選択推奨 | |
| 【チケット登録】 | |
| ・依頼は、「すぐにチケット化する」こと |
| + (void)runCriticalSection:(void (^)(void))func | |
| { | |
| static dispatch_semaphore_t sema; // The semaphore | |
| static dispatch_once_t onceToken; | |
| dispatch_once(&onceToken, ^{ | |
| // Initialize with count=1 (this is executed only once): | |
| sema = dispatch_semaphore_create(1); | |
| }); | |
| // Try to decrement the semaphore. This succeeds if the count is still 1 |