Skip to content

Instantly share code, notes, and snippets.

View ksauzz's full-sized avatar

Kazuhiro Suzuki ksauzz

View GitHub Profile
@kuenishi
kuenishi / gist:4007376
Created November 3, 2012 13:25
erlang-users.jp 新サイト コンテンツ案

このサイトでできるようになると嬉しいこと

  • Erlang/OTPユーザーを増やす (Increase Japanese Erlang/OTP users)
  • Erlang/OTPユーザーを幸福にする (Make Japanese Erlang/OTP users happier)
  • 日本語話者の初心者が最初に見るサイト - いくつも入門サイトはあるが決定版をつくりたい、情報が古かったりする
  • 日本語情報の集約
  • 各種情報のポータル (自動化を信用しない)
  • 日本のErlangコミュニティの歴史を記録する
@voluntas
voluntas / dialyzer.rst
Created December 15, 2012 05:44
Dialyzer コトハジメ
@4ndrej
4ndrej / SSLPoke.java
Last active March 11, 2025 11:10
Test of java SSL / keystore / cert setup. Check the comment #1 for howto.
import javax.net.ssl.SSLParameters;
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import java.io.*;
/** Establish a SSL connection to a host and port, writes a byte and
* prints the response. See
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services
*/
public class SSLPoke {
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active April 28, 2025 00:02
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@ksauzz
ksauzz / chef-note.md
Last active December 13, 2015 23:39
chef notes....

Chef note

using local chef-repo.

setup

git clone git://github.com/opscode/chef-repo.git

Riak 1.3 Release note translation

Riak 1.3.0 リリースノート

Riakの新機能と主な改善点

アクティブ・ アンチエントロピー(Active Anti-Entropy)

Riak 1.3の新機能です。 Riakは今回アクティブ・アンチエントロピー(AAE) サブシステムを組み込みました。これはRiakクラスター全体に渡るデータの検証と修復を行うものです。 AAEシステムはデータの欠落、不一致を確認するために、データレプリカ間で定期的に情報を交換します。不良レプリカが見つかると、これを直すためにAAEはread repairを実行します。AAEは完全に自動化されており、多くのデータ消失シナリオ(ディスク故障、古いバックアップからのリストア、bit不良など)を防ぐ新たなレイヤーとなります。

@nachocab
nachocab / instructions.sh
Last active February 13, 2022 15:45
How to make git diff work perfectly with .docx files in Mac OS X (it even colors by word)
# download docx2txt by Sandeep Kumar
wget -O docx2txt.pl http://www.cs.indiana.edu/~kinzler/home/binp/docx2txt
# make a wrapper
echo '#!/bin/bash
docx2txt.pl $1 -' > docx2txt
chmod +x docx2txt
# make sure docx2txt.pl and docx2txt are your current PATH. Here's a guide
http://shapeshed.com/using_custom_shell_scripts_on_osx_or_linux/
@bpaquet
bpaquet / Haproxy monitoring for collectd
Last active December 26, 2015 12:49
Script for monitoring haproxy status from collect.d
LoadPlugin "exec"
<Plugin "exec">
Exec "haproxy:haproxy" "/usr/local/bin/haproxy-stats" "-p" "10"
</Plugin>
@lukebakken
lukebakken / riak-2-certificate-notes.md
Last active July 5, 2022 13:54
Riak 2 / PAM / Certificates

Testing Notes

At this time only the protocol buffers client supports client certificates. HTTP is not supported.

Setup

Setting up a Root CA

It is necessary to set up a Root Certificate authority to be able to create and sign certificates.