Skip to content

Instantly share code, notes, and snippets.

@y12studio
y12studio / ink-tuto1-chatgpt.md
Created April 21, 2023 06:07
astar turorials tuto1

Ink! code

GuiGou12358/astar-tutorials: Tutorials to write Smart Contracts in Rust and Ink! https://github.com/GuiGou12358/astar-tutorials

ChatGPT prompt

You are a world-class software engineer. You are particularly good at explaining code in a thorough but simple way. Explain the given code. Be thorough, but explain it in a simple way that anyone could understand.

Respond as a well-formatted markdown file that is organized into sections. Make sure to use code blocks.

Keybase proof

I hereby claim:

  • I am y12studio on github.
  • I am dltman (https://keybase.io/dltman) on keybase.
  • I have a public key ASArgWxyNYtW8eXaiiVwYMmVDDkZOJPG_ZtVCKAGugueqAo

To claim this, I am signing this object:

@y12studio
y12studio / Dockerfile-codercom-server-rust
Created March 9, 2019 08:05
Dockerfile-codercom-server-rust
FROM codercom/code-server
# https://github.com/codercom/code-server/blob/master/Dockerfile
# docker run -p 8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --allow-http --no-auth
RUN apt install -y curl jq wget build-essential
# https://hub.docker.com/r/rustlang/rust/dockerfile
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
USER=root \
@y12studio
y12studio / qrcode-wallet-generator-2019-pig-year.md
Created February 4, 2019 06:56
blockchain.info qr code version of WalletGenerator
diff --git a/index.html b/index.html
index cc26810..683ffa4 100755
--- a/index.html
+++ b/index.html
@@ -12355,7 +12355,7 @@ ninja.wallets.singlewallet = {
                        document.getElementById("btcaddress").innerHTML = bitcoinAddress;
                        document.getElementById("btcprivwif").innerHTML = privateKeyWif;

加班費一又三分之一與補休一比一賽局(概念)

通往地獄的道路,往往是善意鋪成的。

+------------------------------------------------+
|                                                |
|                                                |
|    Article 32-1 of the Labor Standards Act     |
|                                                |
@y12studio
y12studio / kovan-faucet-address
Created July 14, 2017 06:30
kovan-faucet-address
0x7f36A05a8C81d6a89b282B333696e9274B3f43f0
@y12studio
y12studio / rinkeby-faucet-request
Created May 31, 2017 03:02
rinkeby faucet request
0x7f36A05a8C81d6a89b282B333696e9274B3f43f0
@y12studio
y12studio / parity-sync-test.md
Last active March 5, 2017 02:45
ethereum parity sync test
$ parity --pruning fast
2017-03-05 08:04:40  Starting Parity/v1.6.0-unstable-810c71d-20170303/x86_64-linux-gnu/rustc1.15.1
..
2017-03-05 08:04:45  Syncing snapshot 1/89  #0    5/ 7/25 peers     3 MiB db    7 KiB chain  0 bytes queue   10 KiB sync  RPC:  0 conn,  0 req/s,   0 µs
@y12studio
y12studio / taipower-3vils-chart.md
Last active July 3, 2016 06:28
三里電力圖與Google試算表