Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ADD: simple script to convert units

+15
+15
scripts/sol-to-lamports
··· 1 + #!/usr/bin/env rc 2 + 3 + flag e + 4 + 5 + if(~ $1 ()) { 6 + echo Must provide a value in lamports >[1=2] 7 + exit 150 8 + } 9 + 10 + sol=$1 11 + shift 12 + 13 + exec bc <<EOF 14 + $sol * 1000000000 15 + EOF