strangelove-ventures / infra-toolkit Goto Github PK
View Code? Open in Web Editor NEWDocker image with useful tools for config initialization, file downloading, etc.
Docker image with useful tools for config initialization, file downloading, etc.
Here is a partial list of utilities that have been inconveniently missing from heighliner:
head
, tail
sleep
(i.e. sleep 0.5
works in full busybox, fails with sleep: invalid number '0.5'
in heighliner)tr
when I needed to chomp a newline off a variablemd5sum
, sha1sum
, etc. to validate the checksum of a large file before copying it across a networkdate
to indicate when a long-running task completedwhich
to see if a utility is available (after which sleep
fails, I can remember to use type sleep
which is good enough)watch
to keep an eye on how $chain status
changes, or ls
on a particular data directoryI don't think any of those open any more actions beyond what is already supported in the infra toolkit.
Unlike #5 which tracks utilities that are nice to have, this issue intends to track missing utilties that break various SDK commands.
Lacking stty
causes an obscure error when trying to export keys:
~ $ $chain keys export main --keyring-backend=test
Enter passphrase to encrypt the exported key:
Error: failed turning off console echo for password entry:
no such file or directory
This error message originates from https://github.com/bgentry/speakeasy/blob/760eaf8b681647364e7a400b856e0921248728a5/speakeasy_unix.go#L72-L74.
Lacking stty seems to also prevent --keyring-backend=file
from working:
~ $ $chain keys add main --keyring-backend=file
Enter keyring passphrase:
failed turning off console echo for password entry:
no such file or directory
Enter keyring passphrase:
failed turning off console echo for password entry:
no such file or directory
Enter keyring passphrase:
failed turning off console echo for password entry:
no such file or directory
Error: too many failed passphrase attempts
~ $ echo 1 | $chain keys add main --keyring-backend=file
password must be at least 8 characters
EOF
EOF
Error: too many failed passphrase attempts
~ $ echo 1234567890 | akash keys add main --keyring-backend=file
EOF
EOF
EOF
Error: too many failed passphrase attempts
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.