(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| # -*- encoding: utf-8 -*- | |
| # requires a recent enough python with idna support in socket | |
| # pyopenssl, cryptography and idna | |
| from OpenSSL import SSL | |
| from cryptography import x509 | |
| from cryptography.x509.oid import NameOID | |
| import idna | |
| from socket import socket |
| version: "3" | |
| networks: | |
| kong-net: | |
| driver: bridge | |
| services: | |
| ####################################### | |
| # Postgres: The database used by Kong |
| import socket | |
| hostname, sld, tld, port = 'www', 'integralist', 'co.uk', 80 | |
| target = '{}.{}.{}'.format(hostname, sld, tld) | |
| # create an ipv4 (AF_INET) socket object using the tcp protocol (SOCK_STREAM) | |
| client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| # connect the client | |
| # client.connect((target, port)) |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # This script check a list of websites | |
| # and sends mail when the HTTP status code is not 200 | |
| # | |
| # Used to check wheter all projects are up and running | |
| # (not broken, say for example because a dependency library was removed) | |
| # Author Ando Roots 2012 |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # This script check a list of websites | |
| # and sends mail when the HTTP status code is not 200 | |
| # | |
| # Used to check wheter all projects are up and running | |
| # (not broken, say for example because a dependency library was removed) | |
| # Author Ando Roots 2012 |
| ====== | |
| Videos | |
| ====== | |
| DevOps | |
| What is DevOps? by Rackspace - Really great introduction to DevOps | |
| https://www.youtube.com/watch?v=_I94-tJlovg | |
| Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept) |
| "resources": [ | |
| { | |
| "type": "Microsoft.Logic/workflows", | |
| "name": "[parameters('logicAppName')]", | |
| "apiVersion": "2016-10-01", | |
| "location": "[resourceGroup().location]", | |
| "properties": { | |
| "definition": "[parameters('logicAppDefinition')]", | |
| "parameters": {}, | |
| "state": "Enabled" |
| #!/bin/bash | |
| # Base box setup steps | |
| # Do the steps below as root user | |
| sudo su | |
| # The steps below are based on a clean install on | |
| # CentOS 7 (build 1608) | |
| # http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1608.raw.tar.gz |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |