Skip to content

Instantly share code, notes, and snippets.

View Akagi201's full-sized avatar
🎯
Focusing

Bob Liu Akagi201

🎯
Focusing
View GitHub Profile
#!/bin/bash
while true; do
cast call "0x1A46be28AB241F5A64F82ddFc384911520E3d557" "futuresUploadBatchId()" -r "https://rpc-orderly-l2-4460-sepolia-8tc3sd7dvy.t.conduit.xyz"
sleep 5
done
@Akagi201
Akagi201 / certified_assets.mo
Created October 11, 2022 12:10 — forked from ninegua/certified_assets.mo
Certified Assets Type Definitions in Motoko
module {
public type BatchId = Nat;
public type BatchOperationKind = {
#CreateAsset : CreateAssetArguments;
#UnsetAssetContent : UnsetAssetContentArguments;
#DeleteAsset : DeleteAssetArguments;
#SetAssetContent : SetAssetContentArguments;
#Clear : ClearArguments;
};
public type ChunkId = Nat;

课程大纲

  1. 使用 SDK 搭建一个简易网站
  2. Motoko 语言简介
  3. Canister 智能合约
  4. 用 Motoko 做后端
  5. 用 Javascript 做前端

第二课-课程要求

DFINITY 课程作业讲解 - Mulander

第1课 - 使⽤ SDK 搭建简易⽹站

课程回顾

1.安装SDK

安装指引

@Akagi201
Akagi201 / .Cloud.md
Created October 2, 2022 05:27 — forked from imba-tjd/.Cloud.md
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

@Akagi201
Akagi201 / algo.md
Last active July 20, 2020 02:21
[algo]

DC竞赛:http://www.dcjingsai.com/ 阿里天池:https://tianchi.aliyun.com/ 京东JDATA:https://jdata.jd.com/ DataFountain:https://www.datafountain.cn/ Kesci:https://www.kesci.com/home/competition 百度大脑:https://aistudio.baidu.com/aistudio/competition 腾讯广告:https://algo.qq.com/application/home/home/index.htm AI争霸赛:http://www.justallinai.com

其中,阿里天池和腾讯、京东、百度比赛的大神太多,AI争霸赛是新起来的小平台,最近在搞AI翻译比赛,一等奖60w人民币奖金,很多大神不知道,新手来说拿奖比较容易

@Akagi201
Akagi201 / docker-registry-mirrors.md
Created April 17, 2020 06:10 — forked from y0ngb1n/docker-registry-mirrors.md
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized

Docker Hub 镜像加速器

国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。

配置加速地址

Ubuntu 16.04+、Debian 8+、CentOS 7+

创建或修改 /etc/docker/daemon.json

@Akagi201
Akagi201 / go-env.md
Created April 16, 2020 18:33
[go-env]
@Akagi201
Akagi201 / history_klines.md
Last active March 19, 2020 09:02
[history_klines]

格式说明

  • CSV 格式.
  • 每行一条日 K 数据.
  • 每个股票一个文件.

字段说明

  • code: 股票的代码, 上证股票以 .SH 结尾, 深证股票以 .SZ 结尾.
  • date: 交易日期
  • open: 开盘价
  • high: 最高价
@Akagi201
Akagi201 / http-cmd.md
Created January 21, 2020 01:42
[http-cmd]

source viewer