To enable cardano-cli
and cardano-node
bash auto-completion for the current shell:
source <(cardano-cli --bash-completion-script cardano-cli)
source <(cardano-cli --bash-completion-script cardano-node)
To enable it for all future sessions:
ROOT CA | |
-------------- | |
Generate the CA private key: | |
$ openssl genrsa -out ca.key 2048 | |
Create and self sign the root certificate: | |
$ openssl req -new -x509 -key ca.key -out ca.crt | |
Import root CA certificate into truststore: | |
$ keytool -import -file ca.crt -keystore ca.truststore -keypass <password> -storepass <password> |
{"valueParameterInfo":[["Price",{"valueParameterFormat":{"contents":[6,"₳"],"tag":"DecimalFormat"},"valueParameterDescription":"The price of the item."}]],"slotParameterDescriptions":[["Payment deadline","The _**buyer**_ must pay the _price_ of the item by this time, otherwise the contract is cancelled."],["Complaint deadline","The _**buyer**_ can only complain until this deadline, otherwise the contract will assume the transaction went smoothly and pay the _**seller**_."],["Complaint response deadline","If the _**buyer**_ complained, the _**seller**_ must respond before this deadline, otherwise the contract will assume there was a problem with the transaction and refund the _**buyer**_."],["Mediation deadline","If the _**buyer**_ and the _**seller**_ disagree, the _**mediator**_ must weigh in before this deadline, otherwise the contract will assume there was a problem with the transaction and refund the _**buyer**_."]],"roleDescriptions":[["Buyer","The buyer of the item."],["Mediator","The mediator decides w |
aws dynamodb scan --table-name $TABLE_NAME --attributes-to-get "$KEY" \ | |
--query "Items[].$KEY.S" --output text | \ | |
tr "\t" "\n" | \ | |
xargs -t -I keyvalue aws dynamodb delete-item --table-name $TABLE_NAME \ | |
--key "{\"$KEY\": {\"S\": \"keyvalue\"}}" |
install Vagrant plugin vagrant-disksize | |
vagrant plugin install vagrant-disksize | |
If you want to add make sure user has the plugin installed when starting vagrant you can add this in the beginning of Vagrantfile | |
# Install vagrant-disksize to allow resizing the vagrant box disk. | |
unless Vagrant.has_plugin?("vagrant-disksize") | |
raise Vagrant::Errors::VagrantError.new, "vagrant-disksize plugin is missing. Please install it using 'vagrant plugin install vagrant-disksize' and rerun 'vagrant up'" | |
end | |
Set desired disk size in Vagrantfile |
To enable cardano-cli
and cardano-node
bash auto-completion for the current shell:
source <(cardano-cli --bash-completion-script cardano-cli)
source <(cardano-cli --bash-completion-script cardano-node)
To enable it for all future sessions:
When | |
[Case | |
(Deposit | |
(Role "Alice") | |
(Role "Alice") | |
(Token "" "") | |
(Constant 10) | |
) | |
(When | |
[Case |
{ | |
"info": { | |
"url_png_icon_64x64": "https://charypooldonations.s3.eu-central-1.amazonaws.com/Misc/logo/charylogo_64x64.png", | |
"url_png_logo": "https://charypooldonations.s3.eu-central-1.amazonaws.com/Misc/logo/CH%E2%82%B3RY-purple-bg.png", | |
"location": "Germany", | |
"social": { | |
"twitter_handle": "charypool1", | |
"telegram_handle": "charypool", | |
"facebook_handle": "chary.pool.3", | |
"youtube_handle": "" |
{ | |
"name": "CH₳RY pool", | |
"description": "Stake with us to win ₳ and pay it forward", | |
"ticker": "CHARY", | |
"homepage": "https://charypool.com", | |
"extended": "https://gist.github.com/edwint88/6e968ad3efb08fe1b549fd0b1f9fcfb0/raw/?/adapool-meta.json" | |
} |
keytool -genseckey -alias test -storetype jceks -keystore vault-jceks.keystore -keyalg AES -keysize 128 -storepass secretsecret -keypass secretsecret |
@Configuration | |
@EnableAutoConfiguration | |
@EnableEurekaClient | |
@RestController | |
public class Application { | |
@RequestMapping("/") | |
public String home() { | |
return "Hello World"; | |
} |