env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pip install psycopg2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LDFLAGS='-L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib' pipenv run pip install psycopg2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| appcode | |
| charm | |
| idea | |
| rubymine | |
| phpstorm | |
| pstorm | |
| pycharm | |
| webstorm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def ignore_psycopg2_warnings(): | |
| import warnings | |
| warnings.filterwarnings("ignore", message="The psycopg2 wheel package will be renamed from release 2.8;") | |
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.
Add sudo user in Ubuntu:
adduser username
usermod -aG sudo username
Enable git credentials store:
git config --global credential.helper store
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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) |