1、打开Remix创建合约 老版:http://remix.hubwiz.com/新版:http://remix.app.hubwiz.com/在browser下创建合约文件InfoContract.sol pragma solidity ^0.4.24; contract InfoContract { string name...
手把手教你在Linux环境下安装Python3
1、下载python wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz 2、创建存放python的文件夹 mkdir -p /usr/local/python3 3、解压到制定的文件夹 tar -zxvf Python-3.6.1.tgz -C...
解决pip install 不成功问题
40:441: execution error: The directory ‘/Users/lina/Library/Caches/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions ...
Mac的python版本从2.7升级到 3.8
1、下载python https://www.python.org/downloads/release/python-381/ image.png 2、安装python 3.8.1 下载好的pkg文件进行安装,安装完成之后,python 3.8.1的默认安装路径如下:执行: ope...
Python使用阿里云镜像
临时使用 pip install -i https://mirrors.aliyun.com/pypi/simple/ 包名 以后都使用阿里云的源 pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ 查看设置的结果 pip ...
uni-app带参数跳转页面
传参页面 <view class="comment" @click="comment(detail.goods_id)"> <!-- 拿到要传过去的参数 --> </view> methods: { comment:function(id){ uni.navigateTo({ //多个参数用&拼接:u...
docker 创建mongodb 容器 映射本地数据目录和配置文件
mongo 容器内部的三个重要目录 日志目录:/var/log/mongodb/ or /var/log/mongodb/mongod.log 数据库目录:/data/db 数据库配置文件:/data/configdb/mongo.conf or /data/configdb/ 准备工作 //在本地...
uni-app使用应用内置地图查看位置
如图 <map> 组件的宽/高推荐写直接量,比如:750rpx,不要设置百分比值 //插入map组件 <map style="width: 100%; height: 289rpx;" :latitude="latitude" :longitude="longitude" :markers="...
Nginx配置https
user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include /etc/nginx/mime.t...
uni-app 实用样式学习 flex
如果需要均分元素实现页面排版,需要在父级元素上写入desplay:flex;子级元素就会自动均分排版;如果想实现元素不同比例的排版,在子级元素加入:nth-of-type(x)样式来定义比例。 <view class="topbar"> ...