(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
// ---- | |
// libsass (v3.1.0-beta) | |
// ---- | |
$map-one: (color: orange, height: 100px); | |
.block { | |
color: map-get($map-one, color); | |
} |
-- @desc: The fastest, type-agnostic way to copy a Redis key | |
-- @usage: redis-cli --eval copy_key.lua <source> <dest> , [NX] | |
local s = KEYS[1] | |
local d = KEYS[2] | |
if redis.call("EXISTS", d) == 1 then | |
if type(ARGV[1]) == "string" and ARGV[1]:upper() == "NX" then | |
return nil | |
else |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
+Esc
instead of Normal
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
A lot of people run into the problem of running Let's Encrypt's CertBot Tool and an NGINX on the same container host. A big part of this has to do with CertBot needing either port 80 or 443 open for the tool to work as intended. This tends to conflict with NGINX as most people usually use port 80 (HTTP) or 443 (HTTPS) for their reverse proxy. Section 1 outlines how to configure NGINX to get this to work, and Section 2 is the Docker command to run CertBot.
I use Docker Compose (docker-compose) for my NGINX server. My docker-compose.yml file looks something like this: