Skip to content

Instantly share code, notes, and snippets.

@pokev25
pokev25 / Svn2Git.md
Created November 7, 2016 02:06 — forked from ikaruce/Svn2Git.md
SVN에서 Git으로 전환하기(브랜치와 태그 보전하면서)
@pokev25
pokev25 / fontpatch.sh
Created October 27, 2016 04:58
powerline font patch
#prepare python env
wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
#fontforge
yum install fontforge
#clone repo
git clone https://github.com/powerline/fontpatcher.git
#run
@pokev25
pokev25 / RedisUserSessionRegistry.java
Created October 19, 2016 04:29
spring-websocket-in-a-tomcat-cluster
import java.util.Set;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.core.BoundHashOperations;
import org.springframework.data.redis.core.BoundSetOperations;
import org.springframework.data.redis.core.RedisOperations;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.data.redis.serializer.StringRedisSerializer;
import org.springframework.messaging.simp.user.UserSessionRegistry;
@pokev25
pokev25 / tmux-cheatsheet.markdown
Created October 19, 2016 04:26 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@pokev25
pokev25 / ALTERNATIVES.adoc
Created October 12, 2016 00:24 — forked from mbbx6spp/ALTERNATIVES.adoc
Super quick list of alternatives to Jira and/or Confluence, Stash, Crucible, etc.
@pokev25
pokev25 / java8.sh
Last active October 19, 2016 04:19
oracle java 8 install
#download rpm
curl -LO -H "Cookie: oraclelicense=accept-securebackup-cookie" \
"http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-linux-x64.rpm"
#install
yum install jdk-8u102-linux-x64.rpm
@pokev25
pokev25 / proxmox_init.sh
Last active October 19, 2016 04:20
init proxmox centos container
#install sshd
yum -y install openssh-server
chkconfig sshd on
service sshd start
#install utils
yum -y git tar wget curl
#install fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
@pokev25
pokev25 / rabbitmq.sh
Last active October 7, 2016 06:21
install rabbitMQ
# CentOS 7
# https://www.rabbitmq.com/install-rpm.html
#pre-install
yum -y install epel-release
yum -y update
yum -y install erlang
#rabbitMQ
rpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
@pokev25
pokev25 / goaccess conf
Last active March 21, 2017 00:37
goaccess 1.2
cd /usr/local/etc
vim goaccess.conf
uncomment
# Apache/NGINX's log formats below.
#
time-format %H:%M:%S
# Apache/NGINX's log formats below.
@pokev25
pokev25 / install-tmux.sh
Last active February 8, 2024 07:22 — forked from rothgar/install-tmux
Install tmux 2.8 on centos 7
# Install tmux 2.8 on Centos
# install deps
yum install gcc kernel-devel make ncurses-devel
# cd src
cd /usr/local/src
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL
curl -LO https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz