This is tutorial is about simple client-server file updating. This is not blue-green deploy!
Protocol: RSYNC through SSH. Tested on target server: Ubuntu 16.04 x64. (suitable for Ubuntu 14.x).
# This guide will show you how to configure ddclient to dynamically update your DNS at Cloudflare. | |
# This cookbook makes use of a number of online guides - all of which I will reference at the end. | |
# Cloudflare requires ddclient to be version 3.8.2 or you will get a 'cloudflare protocol didn't exist'. | |
# Unfortunately, the package manager at this time makes use of 3.8.1 | |
# My suggestion is to follow the semi-autonomous process, by downloading the out of date package | |
# and then manually update a few files. If you prefer, you can go down the fully manual route manual route. | |
# Installation - Manual (Not Tested: https://www.cloudflare.com/technical-resources/#ddclient) | |
# Installation - Semi-Autonomous (Recommended, follow below) |
<?php | |
/* | |
POST / HTTP/1.1 | |
Host: kinesis.<region>.<domain> | |
x-amz-Date: <Date> | |
Authorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature> | |
User-Agent: <UserAgentString> | |
Content-Type: application/x-amz-json-1.1 | |
Content-Length: <PayloadSizeBytes> |
<?xml version="1.0"?> | |
<!-- | |
dirlist.xslt - transform nginx's into lighttpd look-alike dirlistings | |
I'm currently switching over completely from lighttpd to nginx. If you come | |
up with a prettier stylesheet or other improvements, please tell me :) | |
--> | |
<!-- | |
Copyright (c) 2016 by Moritz Wilhelmy <[email protected]> |
This is tutorial is about simple client-server file updating. This is not blue-green deploy!
Protocol: RSYNC through SSH. Tested on target server: Ubuntu 16.04 x64. (suitable for Ubuntu 14.x).
I was tired of Chrome eating all my laptop resources so I decided to put some limit to it with cgroup.
As I was using Ubuntu 12.04 with support for cgroup, I installed the package cgroup-bin
and add the following group to the file /etc/cgconfig.conf
:
group browsers {
cpu {
# Set the relative share of CPU resources equal to 25%
cpu.shares = "256";
}
{ | |
["outline"] = true, | |
["fontSize"] = 28, | |
["color"] = { | |
[1] = 1, | |
[2] = 0.086274509803922, | |
[3] = 0.11372549019608, | |
[4] = 1, | |
}, | |
["displayText"] = "%c", |
Build the following and make it run as fast as you possibly can using Python 3 (vanilla). The faster it runs, the more you will impress us!
Your code should:
All of that in the most efficient way you can come up with.
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt