Skip to content

Instantly share code, notes, and snippets.

View kazupon's full-sized avatar
🐤
Focusing vue-i18n and Intlify

kazuya kawaguchi kazupon

🐤
Focusing vue-i18n and Intlify
View GitHub Profile
@kazupon
kazupon / cocproxy.nginx.conf
Created February 23, 2012 05:43 — forked from hotchpotch/cocproxy.nginx.conf
cocproxy for nginx
#!nginx -p . -c cocproxy.nginx.conf
error_log /dev/stderr debug;
daemon off;
events {
worker_connections 48;
}
http {
@kazupon
kazupon / mach_semaphore.c
Created October 6, 2012 00:52
Using mach_semaphore on Mac OS X to mutually signaling between two threads. This could be extended to work with different processes.
//
// 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.
@kazupon
kazupon / mecab_install.sh
Last active September 23, 2016 01:16 — forked from dtan4/mecab_install.sh
#!/bin/bash
base_dir=`pwd`
git clone git@github.com:taku910/mecab.git
cd mecab/mecab
./configure --enable-utf8-only
make
make check
sudo make install
@kazupon
kazupon / ktserver.patch
Created August 29, 2016 09:25 — forked from dakatsuka/ktserver.patch
Install kyoto cabinet and kyoto tycoon
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