Skip to content

Instantly share code, notes, and snippets.

# Adapted from:
# https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html
import datetime
import hashlib
import hmac
import os
import requests
# ************* REQUEST VALUES *************
*original post*
I've come across the same problem in the past, thought about it a few times already but never came up with a proper solution.
Probably the approach by @rupert and @pdamoc are the best ones.
One other alternative would be to allow Main.elm peek into the Msg of the child pages and intercept some of them. I realize this is not the cleanest thing to do but it's the tradeof.
(note: this is just an approach I drafted out quickly as an example for this post and I haven't really tried it in a real application)
*Main.elm*
@dvekeman
dvekeman / full_stack1.txt
Created December 4, 2018 18:51
j2cl_full_stack1
helloworld (master) $ bazel build --verbose_failures src/main/java/com/google/j2cl/samples/helloworld:helloworld
INFO: Analysed target //src/main/java/com/google/j2cl/samples/helloworld:helloworld (0 packages loaded).
INFO: Found 1 target...
ERROR: /private/var/tmp/_bazel_dvekeman/5beb477a3151b2f6be589952cc7c0456/external/com_google_protobuf/BUILD:260:1: undeclared inclusion(s) in rule '@com_google_protobuf//:protoc_lib':
this rule is missing dependency declarations for the following files included by 'external/com_google_protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc':
'/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h'
'/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/Availability.h'
'/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/AvailabilityInternal.h'
'/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_types.h'
'/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/_types.
@dvekeman
dvekeman / README.md
Last active July 17, 2021 23:06
NixOS container configuration