Coding for the commons, crafting for the curious.
Chris ccamelCoding for the commons, crafting for the curious.
View GitHub Profile This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters ( export CONTRACT="axone1xa8wemfrzq03tkwqxnv9lun7rceec7wuhh8x3qjgxkaaj5fl50zsmj8u0n"; \ export NODE="https://axone-rpc.jayjayinfra.space/"; \ axoned \ --node "$NODE" \ query wasm contract-state smart "$CONTRACT" \ '{"store":{}}' \ -o json \ | jq -r ' .data.stat as $stat | "Triples=" + This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters ( export NODE="https://api.dentrite.axone.xyz:443/rpc"; \ export CONTRACT="axone1xa8wemfrzq03tkwqxnv9lun7rceec7wuhh8x3qjgxkaaj5fl50zsmj8u0n"; \ export ISSUER="did:key:z6Mkp82tKskXNN2i9XaGH6ure3zmiUzsHikAtasneKsNqRpc"; \ export EPOCH_START="1740436200"; \ axoned query wasm contract-state smart \ "$CONTRACT" \ "$(jq -n --arg epochStart "$EPOCH_START" --arg issuer "$ISSUER" \ '{ "select": { "query": { This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters #!/bin/bash set -e -o pipefail node="https://api.dentrite.axone.xyz:443/rpc" contractInfoKey=$(echo -n "contract_info" | xxd -p -u) # 636F6E74726163745F696E666F (https://github.com/CosmWasm/cw-minus/blob/main/packages/cw2/README.md) for code_id in $( axoned query wasm list-code --node "$node" -o json \ | jq -r ".code_infos[].code_id" ); do Convert an Address from one HRP to another using Axoned's Logic 'ask' commandThis one-liner converts an address from one HRP to another using Axoned's logic ask
command.
( # Define the input address and target HRP addr='axone17sc02mcgjzdv5l4jwnzffxw7g60y5ta4zwy04g' to_hrp='stars'This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters ( export NODE="https://api.dentrite.axone.xyz:443/rpc"; \ export CONTRACT="axone1xa8wemfrzq03tkwqxnv9lun7rceec7wuhh8x3qjgxkaaj5fl50zsmj8u0n"; \ axoned query wasm contract-state smart \ "$CONTRACT" \ '{ "select": { "query": { "prefixes": [], "select": [ { "variable": "date" } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters #!/bin/bash set -euo pipefail REVIEWER=$(gh api user --jq '.login' 2>/dev/null) APPROVAL_MESSAGES=( "Dependency update approved! ✅" "Nice upgrade, Dependabot! 🚀" "LGTM on the upgrade! 👍" "Ready to roll with this update! 😃" "Dependencies look solid. 👌" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters gh pr list \ --state closed \ --search "label:\"chain: ⛓️ dentrite-1\" label:register-validator sort:created-asc" \ --limit 150 --json "createdAt,mergedAt" \ --template '{{ printf "%s\n" "# date count" }}{{ range . }}{{ if .mergedAt }}{{ printf "%s %d\n" .createdAt 1}}{{ end }}{{ end }}' \ -R axone-protocol/networks \ | gnuplot \ -p \ -e 'set terminal dumb size 150, 30; set autoscale; set xdata time; set timefmt "%Y-%m-%dT%H:%M:%S"; set title "dendrite-1 Validators onboarding"; set xlabel "Date"; set ylabel "Count"; cumulative_sum(x)=(count=count+x,count); count=0; plot "-" using 1:(cumulative_sum($2)) title "" with lines;' This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters gh pr list \ --search "label:register-validator sort:created-asc" \ --limit 150 --json "createdAt" \ --template '{{ printf "%s\n" "# date count" }}{{ range . }}{{ printf "%s %d\n" .createdAt 1}}{{ end }}' \ -R okp4/networks \ | gnuplot \ -p \ -e 'set terminal dumb size 150, 30; set autoscale; set xdata time; set timefmt "%Y-%m-%dT%H:%M:%S"; set title "Druids registration"; set xlabel "Date"; set ylabel "Count"; cumulative_sum(x)=(count=count+x,count); count=0; plot "-" using 1:(cumulative_sum($2)) title "" with lines;'
Various configuration files for my working environment
Note
My configuration files have retired gracefully and found a new home at chez-ccamel. They’re now managed with the delightful chezmoi config tool.
15-minutes time-boxed event by the TechTeam
for the TechTeam
in order to synchronize activities for the next 24 hours.
Few commandments:
📆 Be on time.
It's a mandatory meeting that the entire
TechTeam
needs to attend
⏳ Keep it short.
10 to 15 minutes
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4