- Author: Nicolas IOOSS
- Date: 2024-01-18
- Puzzle: https://zkhack.dev/zkhackIV/puzzleF1.html, https://github.com/ZK-Hack/puzzle-gamma-ray
Bob was deeply inspired by the Zcash design [1] for private transactions and had
| package main | |
| import ( | |
| "encoding/hex" | |
| "fmt" | |
| "github.com/btcsuite/btcd/btcec/v2" | |
| "github.com/btcsuite/btcd/btcec/v2/ecdsa" | |
| "github.com/btcsuite/btcd/chaincfg/chainhash" | |
| ) |
Bob was deeply inspired by the Zcash design [1] for private transactions and had
| # Requires ESP_ACCESS_KEY_ID, ESP_SECRET_ACCESS_KEY environment variables | |
| require 'esp_sdk' | |
| require 'open3' | |
| def bucket_encrypted? (bucket) | |
| stdout, stderr, status = Open3.capture3("aws s3api get-bucket-encryption --bucket #{bucket}") | |
| status==0 | |
| end | |
| reports = ESP::Report.all |
| package main | |
| import ( | |
| "encoding/json" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/url" | |
| "time" |
| #!/usr/bin/sh | |
| # git-distance-based SEMVER | |
| # | |
| # Optional Flag: -t to cause the script to actually tag the github repo | |
| # Using -t will cause the original behavior of Jerry's version. | |
| # Not using -t will not touch the github repo or tags. Just will set the VERSION output and VERSION file | |
| # | |
| # Optional Argument: path to VERSION file. Defaults to VERSION in the current director | |
| # major and minor, once released, are designated by add RELEASE-vx.y tag and the patch will be derived based on distance to that tag |
| [qubole-example] | |
| deployment_environment: qubole | |
| master: https://api.qubole.com/api/v1.2 | |
| # custom remote services are prefixed with <name>- they're only looked at | |
| # if the deployment_environment matches the prefix | |
| # To be filled by environment variables | |
| qubole-auth_token: %(QUBOLE_API_TOKEN)s | |
| qubole-cluster_id: 1111 | |
| # This needs to be changed at some point | |
| qubole-py_files: /tmp/mist.zip |
| #!/usr/bin/env bash | |
| CURDIR="$( cd "$( dirname "$0" )" && pwd )" | |
| DOMAIN=$1 | |
| mkdir -p $CURDIR/zones/$DOMAIN | |
| zone_id=$(aws route53 list-hosted-zones-by-name --dns-name $DOMAIN --output text | grep HOSTEDZONES | awk '{gsub("/hostedzone/","",$3); print $3}'| head -n1) | |
| domains=$(aws route53 list-resource-record-sets --hosted-zone-id $zone_id --query 'ResourceRecordSets[*].Name' --output text | xargs -n1 | sort -u | xargs) | |
| for addr in $(echo $domains); do | |
| addr=$(echo $addr | tr -d '"' ) | |
| # remove the last character |
| module Main where | |
| import XMonad | |
| import XMonad.Config.Gnome | |
| import XMonad.Util.EZConfig | |
| import XMonad.Hooks.DynamicLog | |
| import XMonad.Hooks.EwmhDesktops | |
| import XMonad.Hooks.ManageHelpers | |
| import XMonad.Layout.Fullscreen |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "os" | |
| "github.com/aws/aws-sdk-go/aws/ec2metadata" | |
| "github.com/aws/aws-sdk-go/aws/session" |