Prep: 20 minutes. Bake: around 1 hour.
- 380g sugar (2 cups ~ 470mL)
- 300g flour (3 cups ~ 710mL)
- 5g salt (teaspoon)
- 3-8g cinnamon (1-3 teaspoons)
| .DEFAULT_GOAL := stage-3/ld | |
| ELF_BIN := stage-1/elfify | |
| BIN := stage-1/unhexl stage-2/as stage-3/ld stage-3/test1 stage-3/test2 stage-3/test3 | |
| stage-0/_unhex: stage-0/unhex.x | |
| $(info #1) | |
| printf $$(printf '\\x%s' $$(<$<)) >$@ | |
| chmod u+x $@ |
| #!/bin/bash | |
| set -e | |
| create_container="${create_container:-true}" | |
| lxd_bridge="${lxd_bridge:-lxdbr0}" | |
| container_image="${container_image:-images:debian/8/amd64}" | |
| container_name="${container_name:-onpremise-proxy-test}" | |
| tinyproxy_conf="${tinyproxy_conf:-/etc/tinyproxy/tinyproxy.conf}" | |
| sudo_conf="${sudo_conf:-/etc/sudoers.d/client}" | |
| apt_conf="${apt_conf:-/etc/apt/apt.conf.d/proxy.conf}" |
| Tm8sIG5vLCBubywgdGhhdCB3b3VsZCBiZSB0b28gZWFzeSwgaGF2ZSB5b3UgcmVhZCB0aGUgbm90ZSBpbiByb29tIDIwMz8KCgoK TSTCTKCTL1KSOTBBJEzCRUCULzBEU0NDJFdQVKCJLjBBUiTVSWVgKF9UJVwkJEBWVSqZL1VgN0WSJTBMTEMhT05EXSTQTcVgN0iPAFNHWUpFIWiFLGAyUUMvIWGOJDBRU1UCSEdFLUCJAFFFJFFQIWeMIVQyXU9NJEFCTMVgNFhBVyTHQNJuAFkyRU0yT0VIWCTJT1FVQMeFUllGJFJJRKCNIWNMSVAhQ0zCTMKFMj4gOV9VAF5FJVQyWE8yWENNTUCSITBMTEMLTcGNJTBHSiTOWKCBJGZXVlFCUdlgIV5EAFhXJFvKTWxgK05QVqCXKFFMJFJQIWSPDhpBJEzCVcVgKFlWSENPIXSIJTBGRU1XJEdPIXSIJTBGU05PJ1KBLRoCWU5YU1JMWU5TWENNWKCSITBARVEhQcWFLjBNUkJGUaCBAGNISUpNIWGOJDBVRU4CUk9MJEzGTXBgNWMyWU5MTUohVWiFAGNISUpNIWmTAFJKU0tXUiTDWKCUN08hUcWBLFxRDkzQVUCTNV1NJWJLMiTUTqCXJTBGSUNFIWFgLFlMWEpGIW1QUcVgMFFMTUNPQ0MvCyqCNWQyV09PLj4uDjBLU09OAFkyW0lEUCTDRKCGMlVXMi4mJEXPRUCZL1VgNF9PAR= |
| diff --git a/core/certmanager.lua b/core/certmanager.lua | |
| index 5282a6f507b4..6d58a9a61eb7 100644 | |
| --- a/core/certmanager.lua | |
| +++ b/core/certmanager.lua | |
| @@ -62,8 +62,8 @@ local global_ssl_config = configmanager.get("*", "ssl"); | |
| local global_certificates = configmanager.get("*", "certificates") or "certs"; | |
| -local crt_try = { "", "/%s.crt", "/%s/fullchain.pem", "/%s.pem", }; | |
| -local key_try = { "", "/%s.key", "/%s/privkey.pem", "/%s.pem", }; |
| shudder's guide to network programming in bash | |
| ============================================== | |
| 1. What's this? | |
| I'm kind of a maniac when it's about doing nifty things with | |
| tools not originally designed for that.that's why I wrote the "guide". | |
| maybe there are some other resources that document this (not | |
| counting the bash manual page) but I wanted to express my own | |
| impressions on the possibilities of bash. |
| // produce a wrapped promise generator whose promises regenerate instead of rejecting | |
| export function retrying(func, n=Infinity) { | |
| return n == 1 | |
| ? func | |
| : () => func().catch(retrying(func, n - 1)); | |
| } | |
| // produce a wrapped promise generator whose promises ignore rejections | |
| export function noreject(func) { | |
| return () => func().catch(() => {}); |
| /* | |
| * _ _ | |
| * | |__ | | ___ ___ _ __ ___ ___ _ __ | |
| * | '_ \| |/ _ \ / _ \ '_ ` _ \ / _ \ '_ \ | |
| * | |_) | | (_) | __/ | | | | | __/ | | | | |
| * |_.__/|_|\___/ \___|_| |_| |_|\___|_| |_| | |
| * ____ _ ____ | |
| * | __ ) / \ | _ \ | |
| * | _ \ / _ \ | | | | | |
| * | |_) / ___ \| |_| | |
| poweronstate 0 | |
| rule1 | |
| on system#boot do | |
| ruletimer1 4 | |
| endon | |
| on rules#timer=1 do backlog | |
| ruletimer2 1; | |
| power1 1; | |
| endon |
| { | |
| "Statement": [ | |
| { | |
| "Action": [ | |
| "acm:ListCertificates", | |
| "cloudfront:UpdateDistribution", | |
| "route53:ChangeResourceRecordSets", | |
| "route53:GetHostedZone", | |
| "route53:ListHostedZones", | |
| "route53:ListResourceRecordSets" |