Skip to content

Instantly share code, notes, and snippets.

View honux77's full-sized avatar
๐Ÿ 
Working from home

Hoyoung Jung honux77

๐Ÿ 
Working from home
View GitHub Profile
@honux77
honux77 / rm_mysql.md
Created July 7, 2017 01:15 — forked from vitorbritto/rm_mysql.md
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

brew remove mysql

@honux77
honux77 / .gitignore
Created December 25, 2016 09:34 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@honux77
honux77 / presentation-framework.md
Created December 22, 2016 02:31 — forked from benelog/presentation-framework.md
presentation-framework.md

์žฅ์ 

  • ํ•œ ์Šฌ๋ผ์ด๋“œ ๋‚ด์—์„œ ์Šคํฌ๋กค ์ง€์›
  • Asciidoc ์ง€์›
  • ํ”„๋ฆฐํŠธ, PDF๋ณ€ํ™˜ ์ž์—ฐ์Šค๋Ÿฝ๊ฒŒ ๋จ.

๋‹จ์ 

  • Markdown, Asciidoc์„ ์“ธ ๋•Œ ๋ช…์‹œ์ ์œผ๋กœ ํŽ˜์ด์ง€ ๊ตฌ๋ถ„์ž๋ฅผ ๋„ฃ์„ ์ˆ˜ ์—†์Œ.
    • H2 ํƒœ๊ทธ ๊ธฐ์ค€์œผ๋กœ๋งŒ ํŽ˜์ด์ง€ ์ „ํ™˜
@honux77
honux77 / osmc-raspberrypi2.md
Created March 21, 2016 01:09 — forked from inceax/osmc-raspberrypi2.md
raspberry pi 2์— osmc ๋น ๋ฅธ ์„ธํŒ…์„ ์œ„ํ•œ ๊ฐœ์ธ ์„ค์ • ๊ธฐ๋ก

osmc ์„ธํŒ…

  • ๋น ๋ฅธ ์„ธํŒ…์„ ์œ„ํ•œ ๊ฐœ์ธ ์„ค์ • ๊ธฐ๋ก
  • osmc rc3, raspberry pi 2 ๊ธฐ์ค€

ํ•œ๊ธ€ํ™”

์Šคํ‚จ ํ•œ๊ธ€ํ™”

  1. ํฐํŠธ ์„ค์น˜
sudo apt-get install fonts-nanum
sudo cp /usr/share/fonts/truetype/nanum/NanumGothic.ttf /usr/share/kodi/addons/skin.osmc/fonts/
@honux77
honux77 / nodejs
Last active August 26, 2015 07:22
node.js init.d script for CentOS
#!/bin/sh
#
# chkconfig: 35 99 99
# description: Node.js /home/nodejs/sample/app.js
#
. /etc/rc.d/init.d/functions
USER="nodejs"
aws s3api list-objects --bucket %bucketname% --query 'sum(Contents[].Size)' --output json | awk 'BEGIN {total=0}{total+=$0}END{print total/1024/1024/1024" GB"}'
aws s3api list-objects --bucket %bucketname% --query 'sum(Contents[].Size)' --output json | awk 'BEGIN {total=0}{total+=$0}END{print total/1024/1024/1024" GB"}'

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname