Add sudo user in Ubuntu:
adduser username
usermod -aG sudo username
Enable git credentials store:
git config --global credential.helper store
| #!/usr/bin/env bash | |
| # | |
| # Bootstrap script for setting up a new OSX machine | |
| # | |
| # This should be idempotent so it can be run multiple times. | |
| # | |
| # Some apps don't have a cask and so still need to be installed by hand. These | |
| # include: | |
| # | |
| # - Twitter (app store) |
Add sudo user in Ubuntu:
adduser username
usermod -aG sudo username
Enable git credentials store:
git config --global credential.helper store
wget -r -p -U Mozilla --adjust-extension --wait=10 --limit-rate=35K //example.com
-r recursive
-p
--page-requisites
This option causes Wget to download all the files that are necessary to properly display a
given HTML page. This includes such things as inlined images, sounds, and referenced stylesheets.
| def ignore_psycopg2_warnings(): | |
| import warnings | |
| warnings.filterwarnings("ignore", message="The psycopg2 wheel package will be renamed from release 2.8;") | |
| appcode | |
| charm | |
| idea | |
| rubymine | |
| phpstorm | |
| pstorm | |
| pycharm | |
| webstorm |
| LDFLAGS='-L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib' pipenv run pip install psycopg2 |
env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pip install psycopg2| -- Code copied from | |
| -- https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.html#Appendix.PostgreSQL.CommonDBATasks.PostGIS | |
| -- And slightly altered by me (drop if exists etc.) | |
| create extension if not exists postgis; | |
| create extension if not exists fuzzystrmatch; | |
| create extension if not exists postgis_tiger_geocoder; | |
| create extension if not exists postgis_topology; | |
| alter schema tiger owner to rds_superuser; |