Skip to content

Instantly share code, notes, and snippets.

Seong-Kook Shin cinsk

Block or report user

Report or block cinsk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
cinsk /
Last active Feb 21, 2019
keybase identity proof

Keybase proof

I hereby claim:

  • I am cinsk on github.
  • I am cinsk ( on keybase.
  • I have a public key whose fingerprint is 8B44 C9AA 2A3B E9E8 3A13 97B7 6A2B 450D 5B52 C175

To claim this, I am signing this object:

cinsk /
Created Feb 22, 2018
How to create Dock Emacs/Aquamacs Icon reading bash init scripts and more
# See
# Create an app that runs a shell script that runs, like this:
# 1. use Finder to navigate to /Applications and double-click
# 2. Select the document type “Application” and click “Choose”.
# 3. In the list on the left, select “Library”.
# 4. In the next list, find “Run Shell Script” and drag it into the workflow area on the right.
# 5. In the new shell script, delete the text and replace it with:
cinsk /
Created Jan 25, 2018
Generate flame graphs of JVM, JAVA
# SJK tool need to run as the same user of the target process.
PROGRAM_NAME=$(basename $0)
error() {
cinsk / diffjson
Created Aug 28, 2016
diffjson: compare JSON documents for the differences
View diffjson
PROGRAM_NAME=$(basename $0)
cinsk / private.xml
Created Feb 27, 2016
Karabiner Setting (For UK mac keyboard, IntelliJ settings..)
View private.xml
<?xml version="1.0"?>
<appname>IntelliJ IDEA</appname>
cinsk /
Last active Jul 8, 2019
Check if NFS mounted directory is stale
check-nfs () {
local TMPFILE=/tmp/checknfs.$$ RET=0 ORPHAN SUBSHELLPID
if [ "$#" -eq 0 ]; then
usage: check-nfs NFS-DIRECTORY...
cinsk / chkprocs.rb
Last active Aug 29, 2015
Check the status of the processes (# of processes, # of fds, memory usage, etc.) in Nagios format
View chkprocs.rb
#!/usr/bin/env ruby
require 'timeout'
require 'getoptlong'
"Max cpu time" => Process::RLIMIT_CPU,
"Max file size" => Process::RLIMIT_FSIZE,
"Max data size" => Process::RLIMIT_DATA,
"Max stack size" => Process::RLIMIT_STACK,
cinsk / reboot-abnormal
Last active Aug 29, 2015
force soft reboot Scalr-managed server if abnormal reboot detected
View reboot-abnormal
# reboot-abnormal Force soft-reboot when Scalr event was not received
# chkconfig: 2345 80 10
# description: Force soft reboot when Scalr event was not received
# pidfile: /var/run/
. /etc/rc.d/init.d/functions
cinsk / programming-in-scala.rb
Created Nov 1, 2013
Generate E-book friendly html files from See the comment in the source.
View programming-in-scala.rb
#!/usr/bin/env ruby
require 'rubygems'
require 'fileutils'
# Generate HTMLs for e-book from HTML files of "Programming in Scala".
# Usage:
cinsk / pom.xml
Created Oct 24, 2013
Maven project to embed GIT commit information into the output (.jar or .war) file
View pom.xml
<project xmlns=""
You can’t perform that action at this time.