This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
--require spec_helper |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
extension Date { | |
static func ISOStringFromDate(date: Date) -> String { | |
let dateFormatter = DateFormatter() | |
dateFormatter.locale = Locale(identifier: "en_US_POSIX") | |
dateFormatter.timeZone = TimeZone(abbreviation: "GMT") | |
dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS" | |
return dateFormatter.string(from: date).appending("Z") | |
} | |
# Generate Random Passwords | |
curl 'https://www.random.org/passwords/?num=2&len=24&format=plain&rnd=new' | |
# Create deploy user | |
sudo adduser deploy | |
sudo adduser deploy sudo | |
su deploy | |
cd ../deploy/ | |
# Generate ssh keys |
set ignorecase | |
set smartcase | |
set scrolloff=3 " 3 lines above/below cursor when scrolling | |
" Emulated Plugins | |
set surround | |
" Copy to system clipboard as well | |
set clipboard+=unnamed |
Running bash on ⬢ paycertify-crm-validate... up, run.5339 (Hobby) | |
/app/.apt/opt/datadog-agent/bin/agent/agent: error while loading shared libraries: libdatadog-agent-rtloader.so.1: cannot open shared object file: No such file or directory | |
Starting Datadog Agent on bb2d0c43-f9a3-46f3-8eff-4ed593a3f0ba | |
Starting Datadog Trace Agent on bb2d0c43-f9a3-46f3-8eff-4ed593a3f0ba | |
~ $ Command "start" is deprecated, Use "run" instead to start the Agent | |
2019-10-17 21:43:30 UTC | CORE | INFO | (cmd/agent/app/start.go:124 in StartAgent) | Starting Datadog Agent v6.14.1 | |
2019-10-17 21:43:30 UTC | CORE | INFO | (cmd/agent/app/start.go:152 in StartAgent) | Hostname is: bb2d0c43-f9a3-46f3-8eff-4ed593a3f0ba | |
2019-10-17 21:43:30 UTC | CORE | INFO | (pkg/api/security/security.go:135 in FetchAuthToken) | Saved a new authentication token to /app/.apt/etc/datadog-agent/auth_token | |
2019-10-17 21:43:30 UTC | TRACE | INFO | (pkg/util/log/log.go:482 in func1) | Loaded configuration: /app/.apt/etc/datadog-agent/datadog.yaml | |
2019-10-17 21:43:30 |
sentry
SENTRY_SECRET_KEY
to random 32 char stringdocker-compose up -d
docker-compose exec sentry sentry upgrade
to setup database and create admin userdocker-compose exec sentry pip install sentry-slack
if you want slack plugin, it can be done laterdocker-compose restart sentry
9000
https://mastersofscale.com/ | |
https://changelog.com/podcast | |
https://spec.fm/podcasts/developer-tea |
Table of Contents generated with DocToc
# | |
# CORS header support | |
# | |
# One way to use this is by placing it into a file called "cors_support" | |
# under your Nginx configuration directory and placing the following | |
# statement inside your **location** block(s): | |
# | |
# include cors_support; | |
# | |
# As of Nginx 1.7.5, add_header supports an "always" parameter which |