ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
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
#!/usr/bin/python | |
# - Code by Jioh L. Jung - | |
# - [email protected] | |
# | |
# Python Code for synapsoft test. / just for fun.! yeah! | |
# http://www.synapsoft.co.kr/jsp/recruit/13_apply.html | |
# | |
def c(n,s="ABCDEFGHIJKLMNOPQRSTUVWXYZ"): | |
return (((n-1) < 26) and s[n-1]) or (c((n-1) // 26) + s[(n-1) % 26]) |
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
#!/bin/bash | |
# Code by Jioh L. Jung ([email protected]) | |
NETNS=/var/run/netns | |
mkdir -p ${NETNS} | |
function remove_missed() { | |
# Remove purged record. | |
for f in ${NETNS}/* | |
do |
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
/* | |
* Code by Jioh L. Jung ([email protected]) | |
* This code is for wait until "new docker event comming..." | |
* just do exit when new event comming. | |
* how to build by docker | |
* $ docker run -v /opt/wait/:/opt/wait/ -i -t google/golang \ | |
/bin/bash -c "cd /opt/wait/ && go get github.com/samalba/dockerclient && go build" | |
*/ | |
package main |
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
VER=4.4 && wget https://www.kernel.org/pub/linux/kernel/v4.x/linux-${VER}.tar.gz && tar -xzf linux-${VER}.tar.gz && rm -f linux-${VER}.tar.gz && cd linux-${VER} && make defconfig && time make -j `cat /proc/cpuinfo | grep processor | wc -l` && cd .. && rm -rf linux-${VER} |
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
# Code by Jioh L. Jung ([email protected]) | |
import time, sys | |
dot = [ # from https://github.com/heroku/heroku-cli-util/blob/master/lib/spinners.json | |
"⠋", | |
"⠙", | |
"⠹", | |
"⠸", | |
"⠼", |
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
#!/bin/bash | |
sudo add-apt-repository ppa:kernel-ppa/ppa | |
sudo apt-get update | |
sudo apt-get upgrade | |
#Purge old Kernel | |
sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')") |
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
echo "0 2 * * * rm -r /etc/vmware/license.cfg && cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg && /etc/init.d/vpxa restart" >> /var/spool/cron/crontabs/root | |
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
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh && \ | |
curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` \ | |
-o /usr/bin/docker-compose \ | |
&& chmod +x /usr/bin/docker-compose | |
OlderNewer