I hereby claim:
- I am ffernand on github.
- I am ffernand (https://keybase.io/ffernand) on keybase.
- I have a public key whose fingerprint is 39CA 1C1F A896 A1B8 3B1A 389F CB36 BAAE FDC1 176A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#System Design Cheatsheet
Picking the right architecture = Picking the right battles + Managing trade-offs
##Basic Steps
#!/usr/bin/env bash | |
# Read https://github.com/diafygi/acme-tiny before using this script | |
# This scripts expects: | |
# 1. letsencrypt account.key is present $ACCOUNT_KEY dir (Step 1.) | |
# 2. CSR to generated (files: domain.key and domain.csr) (Step 2.) | |
# domain.csr should be present in $DOMAIN_ROOT/$DOMAIN | |
# (eg. /home/letsencrypt/acme-tiny/mapilary.com/domain.csr) | |
# Resulting cert chained.pem will be stored in $DOMAIN_ROOT/$DOMAIN/chained.pem |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
# Update, upgrade and install development tools: | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install build-essential git-core curl libssl-dev \ | |
libreadline5 libreadline5-dev \ | |
zlib1g zlib1g-dev \ | |
libmysqlclient-dev \ | |
libcurl4-openssl-dev \ | |
libxslt-dev libxml2-dev |
- name: ensure github.com is a known host | |
lineinfile: | |
dest: /root/.ssh/known_hosts | |
create: yes | |
state: present | |
line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}" | |
regexp: "^github\\.com" |
# Modify this file accordingly for your specific requirement. | |
# http://www.thegeekstuff.com | |
# 1. Delete all existing rules | |
iptables -F | |
# 2. Set default chain policies | |
iptables -P INPUT DROP | |
iptables -P FORWARD DROP | |
iptables -P OUTPUT DROP |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
Below are my build instructions for GnuPG 2.2.1, released on September 19th, 2017. These instructions are built for a headless Ubuntu 14.04 LTS server (and have also been tested on Ubuntu 15.10/16.04/16.10/17.04).
If you prefer, you may use the below install script to install GnuPG 2.2.1 by running the following commands:
curl -OL "https://gist.githubusercontent.com/vt0r/a2f8c0bcb1400131ff51/raw/b303568fad4dec72c62104f8f60bf5b076df70dc/install-gnupg22.sh" && sudo -H bash ./install-gnupg22.sh