I hereby claim:
- I am fffergal on github.
- I am fffergal (https://keybase.io/fffergal) on keybase.
- I have a public key ASAA7leQvmFXAl9hnZjzEX-NdIbPYchPJ-bWvO9a5BRGego
To claim this, I am signing this object:
--- old.cfg 2018-03-25 00:57:52.000000000 +0000 | |
+++ new.cfg 2018-03-25 00:57:35.000000000 +0000 | |
@@ -1,551 +1,187 @@ | |
-[MASTER] | |
- | |
-# A comma-separated list of package or module names from where C extensions may | |
-# be loaded. Extensions are loading into the active Python interpreter and may | |
-# run arbitrary code | |
-extension-pkg-whitelist= | |
- |
<mxfile userAgent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15" version="9.0.2" editor="www.draw.io" type="device"><diagram id="59408993-a5ff-980a-bbfb-0dfc10982780" name="Page-1">7V1rc6M4Fv01rtrZqqR4gz/m0T2Tms5UqpOtnfmUUoxis8HIDUonnl+/Eki8JGwcC/BuNNVVAwIM3HN177lHSJnZV+v3X1OwWd2iEMYzywjfZ/b1zLKsYO6T/9GWLWux6S5tWaZRWLSZVcN99DdkjQZrfY1CmDVOxAjFONo0GxcoSeACN9pAmqK35mnPKG7edQOWUGi4X4BYbP13FOJV0RpYftX+G4yWK35n05sXR57A4mWZoteE3W9m2c/5f8XhNeC/xV40W4EQvdWa7C8z+ypFCBdb6/crGFPjcrMV133tOFo+dwoT3OcCBstPEL+yV1/DJXjE4ImYwvLI47+DmX3JHhZvuYGyt2gdg4TsXT6jBN+zIwbZX6yiOPwGtuiVPkGGiUX43uUKpdHf5HwQk0MmaSCHU8zwJ7cjvxbF8RWKUUoaEpTfoLronv4Yu00KM3LZHX9Ts9V0C94bJ34DGeYPiOIYbLLoKX9keuEapMsouUQYozU7ib/g19rzVGByi9QNzWz/E6YYvteamOF/hWgNcbolp7CjPncC1kvOLId50Vvlc2bATlrV/c1njYD5+bL88QprssHglkNvC9DPrEvaWSJIe8sF2ZxdWbMLA2CcRk+vOELJ73AruAJ5W5wjmaIX2IJOgiaIo2VCdmP4TC+j5opIx7tgzRht6I9twCJKlt/yc66dquU7MwJtQuTa5zjvPasoDGFCwUYYFM5bwLhBUYJzI7mX5B8x25Vx7s5c8uBXZN+s9sk/enqKr1BC |
I hereby claim:
To claim this, I am signing this object:
class NoCronChildrenTracer(trace_sdk.Tracer): | |
''' | |
Custom Tracer that breaks the parent relationship for cron tasks. | |
This is so we can use a parent based sampler without excluding or including a whole | |
cron run. Otherwise we would see one whole run a day with a 1/100 sampling rate. If | |
the cron isn't the parent, we can sample its children by trace ID, and preserve the | |
whole trace with descendant spans. | |
This will also have the benfit of making the UI easier to use, as query results |
import SwiftUI | |
import CoreData | |
struct ContentView: View { | |
@Environment(\.managedObjectContext) private var viewContext | |
@State var progressValue: Double = 1 | |
var body: some View { | |
NavigationView { | |
List { |
#!/usr/bin/env bash | |
set -euo pipefail | |
repo="$(gh repo view --json nameWithOwner | jq -r .nameWithOwner)" | |
default_branch="$(gh repo view --json defaultBranchRef | jq -r .defaultBranchRef.name)" | |
status="$(gh api "/repos/$repo/commits/$default_branch/status" --jq '.state')" | |
while [[ "$status" = "pending" ]] ; do | |
sleep 60 | |
status="$(gh api "/repos/$repo/commits/$default_branch/status" --jq '.state')" | |
done |