Skip to content

Instantly share code, notes, and snippets.

View ggnam's full-sized avatar
😄

GG Nam ggnam

😄
View GitHub Profile
@ggnam
ggnam / countries.sql
Created December 27, 2018 07:33 — forked from adhipg/countries.sql
Sql dump of all the Countries, Country Codes, Phone codes.
CREATE TABLE IF NOT EXISTS `country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
@ggnam
ggnam / debian-mysql-client-8.sh
Last active February 1, 2019 03:05 — forked from stepankuzmin/debian-mysql-client-8.sh
Install mysql-client 8 on Debian
wget https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb
dpkg -i mysql-apt-config_0.8.10-1_all.deb # choose OK
apt update
apt install mysql-client
@ggnam
ggnam / karabiner.sh
Created February 2, 2019 18:50 — forked from yukiyan/karabiner.sh
share karabiner settings
cp ~/Library/Preferences/org.pqrs.Karabiner.plist ~/Dropbox/Apps/karabiner
cp ~/Library/Application\ Support/Karabiner/private.xml ~/Dropbox/Apps/karabiner
ln -sf ~/Dropbox/Apps/karabiner/org.pqrs.Karabiner.plist ~/Library/Preferences/org.pqrs.Karabiner.plist
ln -sf ~/Dropbox/Apps/karabiner/private.xml ~/Library/Application\ Support/Karabiner/private.xml
@ggnam
ggnam / install-psycopg2
Created January 6, 2020 08:02 — forked from prakashanantha/install-psycopg2
Installing psycopg2 on a mac
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install postgresql
sudo pip install psycopg2
@ggnam
ggnam / job_control_zsh_bash.md
Created December 15, 2020 01:42 — forked from CMCDragonkai/job_control_zsh_bash.md
CLI: Job Control in ZSH and Bash

Job Control in ZSH and Bash

All processes in ZSH/Bash under job control are in 3 states: foregrounded, backgrounded and suspended.

# run command in the foreground
command
# run commend in the background
@ggnam
ggnam / Brewfile
Created April 27, 2021 13:53 — forked from ncrash/Brewfile
맥 신규 셋팅할때 사용하는 Brewfile, 2번째 Brewfile 파일은 맥앱스토어 한국계정에 구입이력이 있는 프로그램 설치, Brewfile - https://github.com/Homebrew/homebrew-bundle 링크참고
# Preparation
# > xcode-select --install
# how to install
# > brew bundle
# tap brew
#tap "homebrew/cask-cask"
tap "homebrew/cask-versions"
tap "homebrew/cask-fonts"
@ggnam
ggnam / gist:cc1e5f793ef937da4f054bcedbd6926c
Created December 8, 2021 04:42 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@ggnam
ggnam / tmux-cheatsheet.markdown
Created December 10, 2021 09:21 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@ggnam
ggnam / 01.bash_shortcuts_v2.md
Created December 13, 2021 09:34 — forked from tuxfight3r/01.bash_shortcuts_v2.md
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@ggnam
ggnam / Mac Keyboard Symbols.md
Created December 14, 2021 05:16 — forked from Zenexer/Mac Keyboard Symbols.md
List of Mac/Apple keyboard symbols

Common symbols

Columns in the tables:

  • Sym: The symbol representing the key
  • Key: The common name of the key
  • CrossPlat?: Whether the symbol is cross-platform. If "No", then the symbol is unlikely to render properly outside the Apple ecosystem.
  • Alt: An alternate symbol used in some contexts (e.g., legacy)
  • Alt CrossPlat?: Whether the alternate symbol is cross-platform