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
{ | |
"window.menuBarVisibility": "toggle", | |
"telemetry.enableCrashReporter": true, | |
"telemetry.enableTelemetry": true, | |
"editor.fontFamily": "Fira Code", | |
"workbench.colorTheme": "Abyss", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 16, | |
"editor.tabSize": 2, | |
"editor.insertSpaces": false, |
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
{ | |
"version": "0.2.0", | |
"configurations": [{ | |
"name": "Chromium", | |
"type": "chrome", | |
"request": "launch", | |
"runtimeExecutable": "/usr/bin/chromium", | |
"userDataDir": "/tmp/vscode-chrome-debug", | |
"runtimeArgs": [ | |
"--temp-profile" |
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
class MapView extends React.Component { | |
constructor(props) { | |
super(props) | |
this.state = { | |
center: 0 | |
} | |
} | |
static getDerivedStateFromProps (props, state) { | |
// both props.right and props.left are simple numerical values | |
let feat = props.right+ props.left |
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
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
sudo gpasswd -a $USER docker |
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
sudo apt-get remove -y docker docker-engine docker.io containerd runc | |
sudo apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
sudo apt-get -y install docker-ce docker-ce-cli containerd.io | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose |
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
useradd --no-create-home --shell /bin/false node_exporter | |
curl -fsSL https://github.com/prometheus/node_exporter/releases/download/v1.0.1/node_exporter-1.0.1.linux-amd64.tar.gz | tar -zxvf - -C /usr/local/bin --strip-components=1 node_exporter-1.0.1.linux-amd64/node_exporter; chown node_exporter:node_exporter /usr/local/bin/node_exporter | |
mkdir -p /etc/node_exporter /var/lib/node_exporter | |
sudo chown -R node_exporter:node_exporter /var/lib/node_exporter | |
sudo tee /etc/systemd/system/node_exporter.service <<"EOF" | |
[Unit] | |
Description=Node Exporter | |
[Service] | |
User=node_exporter |
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
[ | |
{ | |
"name": "Cosmos", | |
"logo": "https://gist.githubusercontent.com/kwunyeung/8be4598c77c61e497dfc7220a678b3ee/raw/8178b6bcce1d1563bac10f8a150c713724a742f1/cosmoshub.svg?sanitize=true", | |
"links": [ | |
{ | |
"name": "pstake", | |
"chain_id": "pstake-staking-gala", | |
"url": "https://cosmos.bigdipper.live" | |
} |
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
upload=true&script=true&cardinfo= | |
!!################################ | |
!!ALSA Information Script v 0.5.0 | |
!!################################ | |
!!Script ran on: Wed Dec 1 13:39:52 UTC 2021 | |
!!Linux Distribution | |
!!------------------ |
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
{"height":"8876077","txhash":"23C0715BADAFEA5576B1C1D24B1E99901F406EA4947350397E57B10A07688D41","codespace":"","code":0,"data":"0A260A242F636F736D7761736D2E7761736D2E76312E4D736745786563757465436F6E7472616374","raw_log":"[{\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"persistence12z46dq46hprpyv8j4k7xtqk8gdx7leqzgan2pjpdaktx4ukj53lqmg5t7a\"},{\"key\":\"amount\",\"value\":\"1000000uxprt\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"persistence1lszhvjjmpz8q9hcwdx6thpavsnnx0fv7f8puv5\"},{\"key\":\"amount\",\"value\":\"1000000uxprt\"}]},{\"type\":\"execute\",\"attributes\":[{\"key\":\"_contract_address\",\"value\":\"persistence12z46dq46hprpyv8j4k7xtqk8gdx7leqzgan2pjpdaktx4ukj53lqmg5t7a\"},{\"key\":\"_contract_address\",\"value\":\"persistence1qzgwr9nzcq4cpm54uls4xn6ls6jqflvvlpqqc667w2fq4am72pmqzfyd62\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmwasm.wasm.v1.MsgExecuteContract\"},{\"key\":\"module\",\"val |
OlderNewer