Skip to content

Instantly share code, notes, and snippets.

View docker_network.md

What You Will Learn

Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code, runtime, system tools, system libraries – anything that can be installed on a server. This guarantees that the software will always run the same, regardless of its environment. By default, containers isolate applications from one another and the underlying infrastructure, while providing an added layer of protection for the application.

View cross-browser-qrcode.markdown
@Hyunho
Hyunho / gdb.md
Created Nov 13, 2015
gdb commands
View gdb.md

watchpoint 설정

  • watah [변수명] : 변수의 값이 써질때 브레이크가 걸린다.
  • rwatch [변수명] : 변수의 값이 읽혀질 때 브레이크가 걸린다.
  • awatch [변수명] : 변수의 값이 읽혀지거나 쓰이는 모든 경우에 대해 브레이크가 걸린다.
View example.sh
echo "DJMP1/mmdb/telcobase_scripts/backupDB" | cpio -pdm upsf_config/
@Hyunho
Hyunho / firewalld_direct_message.sh
Last active Oct 29, 2015
iptables_rule(only allow ssh connection)
View firewalld_direct_message.sh
# using firewalld utility
firewall-cmd --direct --add-rule ipv4 filter INPUT 0 -p tcp -m tcp --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT
firewall-cmd --direct --add-rule ipv4 filter OUTPUT 0 -p tcp -m tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT
firewall-cmd --direct --add-rule ipv4 filter OUTPUT 1 -p tcp -m multiport --dports 200:65535 -j DROP
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
View SVN_Git_Mirror.md

Create Git Mirror from SVN Repository

This guide will demonstrate how to mirror an SVN into a Git repo. You're the target audience if you're an SVN user, just getting started with Git and need to coax your project team over to Git.

The branching scenario has been simplified for clarity.

References

@Hyunho
Hyunho / README.md
Last active Aug 29, 2015
print TPS and number of tuples for transactions
View README.md

transaction 기록 출력 문서

실행방법

아래의 명령어를 실행하도록 합니다.

% ./print_dbtps