Get visibility and insights across your whole organization, powering actions that improve security, reliability and innovation velocity.
What is JBehave? JBehave is a framework for Behaviour-Driven Development (BDD). BDD is an evolution of test-driven development (TDD) and acceptance-test driven design, and is intended to make these practices more accessible and intuitive to newcomers and experts alike. It shifts the vocabulary from being test-based to behaviour-based, and positions itself as a design philosophy. The five-step over
Simian identifies duplication in source code Within minutes, Simian can save thousands of dollars in time spent performing maintenance, debugging, and re-factoring. Get Started Simian can analyze any human readable file, vintage and modern. It’s like having another pair of eyes to improve the quality of software. Java, JSP C#, C, C++ COBOL Ruby Python ASP PHP Visual Basic Node.js JavaScript TypeSc
直近の仕事でそこそこの規模のインフラを構築する機会ができたこともあり、以前からちょっと気になっていたChefを試してみた。 ChefはPuppetと同じようなインフラの構成管理ツール。現行のバージョンは0.9.8。 Puppetと同じように管理対象となる各マシンにはChefのクライアントを入れ、構成を管理するために一台Chefサーバーを立てるという運用をする。 このサーバーのインストールがけっこうしんどかった。 セットアップには主に以下のページを参照。 Installation – Chef – Opscode Open Source Wiki Chefクライアントのインストール RubyとRubyGemsが入っていればgemでさくっと入る。 必要なRubyのバージョンは1.8.6以上。 $ sudo gem install chef Debian、Ubuntuならばapt-getで、Ce
These directions explain installing chef-client or chef-solo on hosts that you would like to manage using Chef. Chef Client is a Chef agent that runs on your nodes. Chef-client connects to a Chef Server to be told what to do on the node. Chef Solo is a standalone version of Chef that runs locally on your node, detached from a Chef server. This means that all the information and Cookbooks requir
Installing using native Ubuntu or Debian ensures that Chef is installed in the same way as other software on your system. These instructions use the Opscode APT repository. Opscode maintains the packages in this APT repo, as well as the packages that get included in Debian and Ubuntu's repositories. The following distributions are supported within the Opscode APT repository: Ubuntu 11.10 oneirc U
jQuery Mobileでは、ページ遷移の際に自動的にajaxが利用されています。特に何もしなくても遷移先のページをajaxで取得してアニメーションをつけて遷移するというのがjQuery Mobileの大きな特徴のひとつになっています。 しかしながら、巷では、何か問題があるとすぐにこのajaxを無効にするという対処方法が蔓延しているようです。ちなみにajaxを無効にする方法というのは、以下のようなものを指します。 a要素やform要素に data-ajax="false" を指定する。 グローバル設定で $.mobile.ajaxEnabled = false; を設定する。 もちろん、このajaxの挙動を理解した上で、ajaxを無効にするという方法を取ることは何ら問題ないのですが、とにかく困ったらajaxを無効にするということが多いようです。 具体的には以下のようなケースが挙げられるで
au、SBのiPhone4sで別キャリアのSIMを使いたい場合はこちらのアダプターでOK!【日本発送】禁断ツール!iPhone4S(iOS5.1対応)用SIMロック解除アダプター 送料無料 iOS5.1に対応したiPhone4S用SIMロック解除アダプターです。 今回の新アダプターはau,SB両方に対応しているユニバーサルタイプです。 海外で日本のSIMカードをローミングで使う場合かなりの通信料金がかかりますね。 現地のキャリアのSIMを使い料金を節約したい。しかしSIMロックが・・・ そんなときこのSIMアダプターがあればロックが掛かったキャリア以外の現地SIMカードも利用可能に! 新バージョンの使い方は簡単な手順が必要となります。 1.iPhoneの電源をOFFにし、付属のSIMカードトレイに解除アダプターをセットし、さらに付属のGPPカードを乗せ iPhoneに挿し電
HOME有料アプリ超便利なランチャーアプリ「Launch+」はアプリの起動だけじゃない!! ミュージックコントローラーや明るさ調整バーを備え、よく行う操作を効率よく出来ます♪
そこそこのトラフィックのあるWebサーバー上で、アプリケーションから出力されるいくつかのログファイルを収集するためにFluentdを導入しました。 セットアップはこんな感じ。 fluentdのバージョンは0.10.15, rvmが1.10.3, rubyが1.9.3p125 です。 Webサーバーは20台で、一番多いサーバーで800万req/dayくらいの規模です。 各Webサーバー上ではin_tailで3つのファイルをtailし、out_roundrobin & out_forwardで計4台の集計用サーバーに流して、そこでレコメンデーションやKPIの集計を行っています。 Webサーバー上のagentとして動くFluentdの設定ファイルはこんな感じ。 この3つのファイルは、それぞれdailyでローテートされてて、1日当たり 460万行、640万行、370万行くらいです。 起動は以下のス
何周遅れか分かりませんが調べてみました。僕の理解は浅いので間違っている可能性大ですが自分用にメモしておきます。 malloc とは? C 言語ではmallocという関数を使って、使いたいメモリを実行中に割り当てることができます。例えば Wikipedia によればこんな感じ(適当に main 足してます)。 #include <stdlib.h> int main() { /* 10個のintの配列のためのメモリを確保 */ int *ptr = malloc(sizeof (int) * 10); if (ptr == NULL) exit(EXIT_FAILURE); /* メモリを確保できなかったので、exit */ /* 確保成功 */ } malloc – Wikipedia これを素朴に gcc でコンパイルすると、glibc(libc.so.6)が動的にリンクされます(ここら
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く