Skip to content

Instantly share code, notes, and snippets.

View enjoy2000's full-sized avatar

Đào Minh Hạt enjoy2000

View GitHub Profile
@enjoy2000
enjoy2000 / setup.sh
Created July 12, 2023 09:18 — forked from bradp/setup.sh
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install
@enjoy2000
enjoy2000 / 00-packages.config
Created September 27, 2017 05:10 — forked from keeth/00-packages.config
Django, Postgres 9.6 and Celery on Elastic Beanstalk - ebextensions
packages:
yum:
libjpeg-turbo-devel: []
libpng-devel: []
libcurl-devel: []
commands:
01_install_rhel_pg:
command: "(yum repolist |grep -q pgdg96) || sudo yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-ami201503-96-9.6-2.noarch.rpm -y"
02_install_pg_devel:
@enjoy2000
enjoy2000 / gist:2f087ea1b8714f83cb09
Created October 22, 2015 18:11 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat