- Table of Contents
- System Overview
- Service Overview
- Contributing Applications, Daemons, and Windows Services
- Hours of Operation
- Execution Design
- Infrastructure and Network Design
- Resilience, Fault Tolerance and High-Availability
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
#Reference | |
#https://devnotcorp.wordpress.com/2012/08/21/usage-examples-of-rubys-openssl-lib/ | |
#!/usr/bin/ruby | |
require 'openssl' | |
require 'date' | |
require 'time' | |
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
#!/bin/sh | |
# first, create overlay network to make all of your nodes can to talk to each others. | |
docker network create -d overlay mariadb-network | |
# then, create primary node, make sure you create the service with only 1 replica | |
docker service create \ | |
--name mariadb-master \ | |
--replicas 1 \ | |
--mount target=/var/lib/mysql,source=/vol/mariadb-master,type=bind \ |
Via brew or other method
In order to work on every connection and on any TLD, dnsmasq
needs to be the first DNS resolver receving the query.
And since dnsmasq
is a local process, all DNS queries need to go to 127.0.0.1
On macOS, /etc/resolv.conf
is automaticaly created, depending on a variety of things (network settings, etc), so it cannot be edited.
Esta semana dí una plática para WDT Colima sobre PostgreSQL
Aquí les dejo algunos recursos útiles:
- https://www.postgresql.org
- http://postgresapp.com La forma más fácil de instalara PostgreSQL en macOS
- https://eggerapps.at/postico/ cliente de PostgreSQL para macOS
- http://www.postgresguide.com
- https://pgexercises.com
- https://www.pgcasts.com
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
@Grab(group='org.gperfutils', module='gbench', version='0.4.3-groovy-2.4') | |
String a = 'The quick brown fox' | |
String b = 'jumps over the lazy dog' | |
int x = 1 | |
double y = 2 | |
benchmark { | |
'simple concat' { | |
String concat = a + ' ' + b + ' ' + x + ' ' + y |
SSL
- 1-way SSL (a.k.a. Server Authentication)
- Client confirms the server’s identity via the server’s provided certificate by verifying it with a CA (Certificate Authority).
- Then the Public Key contained in the received certificate is used along the Session Key to encrypt all sent/received messages.
- 2-way SSL (a.k.a. Client Authentication, Mutual Authentication)
- Server and Client confirm the other’s identity after each share their own public certificate by verifying it with a CA.
- Then the Public Key contained in the received certificate is used along the Session Key to encrypt all sent messages.
Keystore
OlderNewer