Various configuration files for my working environment
🧙♂️
This file contains 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 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 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 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;' |
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
This file contains 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
-- just for fun | |
-- compute π using the Leibniz formula | |
with recursive leibniz (n, r) as ( | |
select 0, 0. | |
union | |
select n + 1, r + cast(power(-1, n) as decimal) / (2. * n + 1.) | |
from leibniz | |
where n < 10000 | |
) | |
select 4. * r as pi from numbers offset 10000; |
I hereby claim:
- I am ccamel on github.
- I am ccamel (https://keybase.io/ccamel) on keybase.
- I have a public key ASCEogRDs38pK3VRKUSqmzccuEu--8K1pvPlN7vBoAeZSgo
To claim this, I am signing this object:
This file contains 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
@startuml | |
' styles | |
skinparam handwritten true | |
skinparam monochrome false | |
skinparam packageStyle rect | |
skinparam defaultFontName FG Virgil | |
skinparam shadowing false | |
hide footbox |