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

Tab Redirect

blank.org

Vimium

pages/blank.html

@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"
version: "3.8"
services:
mongodb:
image : mongo
container_name: mongodb
environment:
- PUID=1000
- PGID=1000
volumes:
- /home/barry/mongodb/database:/data/db
/* hides the native tabs */
#TabsToolbar {
visibility: collapse;
}
/* leaves space for the window buttons */
#nav-bar {
margin-top: -8px;
margin-bottom: -4px;
}
@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: