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
#!nginx -p . -c cocproxy.nginx.conf | |
error_log /dev/stderr debug; | |
daemon off; | |
events { | |
worker_connections 48; | |
} | |
http { |
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
// | |
// Created by Yogesh Swami on 2/24/12. | |
// Copyright (c) 2012 __MyCompanyName__. All rights reserved. | |
// | |
// | |
// clang -Wall -Wextra -Wall -o mach_semaphore mach_semaphore.c | |
// | |
// using mach semaphore for mutually signalling between two threads. |
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
#!/bin/bash | |
base_dir=`pwd` | |
git clone [email protected]:taku910/mecab.git | |
cd mecab/mecab | |
./configure --enable-utf8-only | |
make | |
make check | |
sudo make install |
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
sudo apt-get install build-essential zlib1g-dev | |
cd /usr/local/src | |
sudo wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.76.tar.gz | |
sudo tar zxvf kyotocabinet-1.2.76.tar.gz | |
cd kyotocabinet-1.2.76 | |
sudo ./configure | |
sudo make | |
sudo make install |