Login
Discover
Waves
Communities
Login
Signup
lemooljiang
@lemooljiang
75
Designer , Poet , Technology enthusiasts
Followers
2368
Following
95
Follow
Resource Credits
Available
Used
Location
Guangzhou
Created
2016-07-16 04:39
RSS Feed
Subscribe
Comments
Blog
Posts
Comments
Communities
Wallet
lemooljiang
STEEM CN/中文
2020-01-23 01:30
RE: 对过年意义的理解 My Understanding of the Meaning of Spending the Spring Festival
新年快乐!
$ 0.000
0
1
lemooljiang
starnote
2020-01-22 08:18
RE: IPFS实用指南
cnpm install videostream --save <video ref="myvideo" controls autoplay="autoplay" width="90%" ></video> import VideoStream from 'videostream' Play(hash){ //得到视频hash播放
$ 0.000
1
lemooljiang
starnote
2020-01-22 08:14
RE: IPFS实用指南
和上传图片是一个函数,在细节上略有不同。 <b-form-file placeholder="上传mp4视频" browse-text="文件" v-model="file" class="mb-2" accept=".mp4" ></b-form-file> //上传视频 let
lemooljiang
starnote
2020-01-22 08:12
RE: IPFS实用指南
<b-form-file placeholder="上传封面图(建议尺寸:400*300像素)" browse-text="文件" v-model="file" class="title" accept=".jpg, .jpeg, .png, .webp, .gif" >
lemooljiang
starnote
2020-01-22 08:04
RE: IPFS实用指南
cnpm install ipfs-http-client --save //main.js import ipfsClient from 'ipfs-http-client' const ipfs = ipfsClient({ host: 'example.com', port: '9001', protocol: 'https' }) Vue.prototype.ipfs = ipfs //挂载到全局
lemooljiang
starnote
2020-01-22 08:01
RE: IPFS实用指南
前端使用vue环境,使用js-ipfs-http-client客户端来访问服务器,进行上传/查看文件(图片、视频等)。
lemooljiang
starnote
2020-01-22 04:34
RE: IPFS实用指南
IPFS是不提供https服务的,所以,必须使用nginx的反向代理提供https! 前提:nginx的https已由Certbot配置好了,再加上以下代码即可。 server { server_name example.com; location / { proxy_pass } error_page 500 502 503 504 /50x.html; location = /50x.html
lemooljiang
starnote
2020-01-22 04:23
RE: IPFS实用指南
用systemctl管理ipfs的进程和重启等事务 which命令 查看ipfs执行文件的位置: /usr/local/bin/ipfs //创建文件 vim /lib/systemd/system/ipfs.service //粘入代码 [Unit] Description=JSIPFS Daemon Client [Service] ExecStart=/usr/local/bin/ipfs daemon
lemooljiang
starnote
2020-01-22 04:22
RE: IPFS实用指南
//需要改动的地方 "Addresses": { "API": "/ip4/127.0.0.1/tcp/9000", "Announce": [], "Gateway": "/ip4/127.0.0.1/tcp/8080", "StorageMax":
lemooljiang
starnote
2020-01-22 04:22
RE: IPFS实用指南
cd /root/.ipfs cat config { "Identity": { "PeerID": "QmcXMfffffffffff", "PrivKey": "CAASqfffffffffffffff" }, "Datastore": { "StorageMax":
lemooljiang
starnote
2020-01-22 04:19
RE: IPFS实用指南
wget tar -zxvf go-ipfs_v0.4.22_linux-amd64.tar.gz cd go-ipfs mv ipfs /usr/local/bin/ipfs ipfs version ipfs --help //初始化,/root/.ipfs ipfs init ipfs id //自己的id ipfs daemon //开启进程
lemooljiang
starnote
2020-01-22 04:19
RE: IPFS实用指南
服务器端开启daemon,设置访问端口,用于文件存储。
lemooljiang
starnote
2020-01-22 04:06
RE: IPFS实用指南
用IPFS提供web服务,需要有两部分,一是服务器端开启daemon, 二是前端用js来访问服务器。这与一般的网站服务是一样的。所以,在此我分为服务器端和前端两部分来实现IPFS的服务。
lemooljiang
cn
2020-01-22 04:05
RE: 假期学习下智能合约
能对大家有点用处就可以啰!
lemooljiang
starnote
2020-01-22 04:04
RE: IPFS实用指南
IPFS的公共网关还是蛮稀缺的,而且很多在国内是访问不了的,所以,只能多试下啰。 查询公共网关
lemooljiang
starnote
2020-01-22 04:01
RE: IPFS实用指南
官网 手册
lemooljiang
starnote
2020-01-22 04:01
RE: IPFS实用指南
IPFS的全称是InterPlanetary File System(星际文件系统),从名称上看,这是一个很炫酷、很有野心的项目。简单地说它就是一个点对点的分布式文件系统。官网和github都可以找到所有的相关资料。建议从它的白皮书,和直译中文版本开始了解,后面我们会慢慢地认识它。白皮书上指出了多个应用场景。
lemooljiang
cn
2020-01-21 14:39
RE: 假期学习下智能合约
哈,等着O婶开车!
lemooljiang
steemjiang
2020-01-21 08:03
RE: SteemJiang更新,页面改进及增加免费注册
确实没有在注册的逻辑上多加限制。不过,好在它是每天都会产生一个免费名额,估计也没谁有这么无聊天天去抢注吧。
lemooljiang
wherein
2020-01-20 14:03
RE: 嗑瓜子,喝盖碗茶,聊区块链
这个可以有!
← Latest
Older →