- 2007/6/25の記事 http://thinkit.co.jp/free/article/0706/21/1/
- MRTG: ネットワークの負荷を監視するツール
- RRDTool: MRTGのバックエンドとして利用される、グラフ作成と再サンプリングを行うツール。
APSIS の Pound によって ロードバランシングされた Web システムを構築する。 また Web サーバには Apache を用いる。
仮想環境上に複数台の CentOS を用意して構築に当たる。
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
// -*- coding:utf-8-unix; mode:c; -*- | |
// | |
// get the active window on X window system | |
// | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <locale.h> | |
#include <X11/Xlib.h> // `apt-get install libx11-dev` |
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
# A sample script for 'yammer' rubygem | |
# You must do the followings to execute this script | |
# * `gem install yammer` | |
# * get consumer_key and consumer_secret from https://www.yammer.com/client_applications/new | |
# * get access_token from https://developer.yammer.com/api/sandbox.html | |
require 'rubygems' | |
require 'yammer' | |
client = Yammer.new |
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
# -*- coding:utf-8; mode:ruby; -*- | |
t = Thread.new do | |
select nil, nil, nil, 1 | |
puts 'timeout select(2)' | |
end | |
open '/dev/uinput', 'w' do |f| | |
f.syswrite 'foo' # block | |
end |
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
import java.util.HashMap; | |
import java.util.Map; | |
public class App | |
{ | |
public static void main( String[] args ) throws Exception | |
{ | |
Map<?, ?> m = new HashMap<Object, Object>(); | |
((HashMap<String, Long>) m).put("foo", 1L); |
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
t = Thread.new do | |
File.read '/dev/null' | |
end | |
file = open '/dev/uinput', 'w' | |
file.sync = true | |
file.write 'foo' # block | |
t.join |
- http://k-ui.jp
- Graphviz 対応
- File Uploader
- 検索機能
- スクレイピングしたものの紹介記事
- rbindkeys
git grep TODO
しろ
- knavi のリファイン・coffeescript化
- ページ上の音楽コンテンツ順再生するプラグイン公開
- 名前決めろ
OlderNewer