-
GIT入门教程
1.安装:略
2.设置用户名和Email地址git config --global user.name "your name" git config --global user.email "email@xxxxx.com"
3.创建版本库(工作区) 在你需要建立版本库的文件夹执行 git init 命令建立仓库
git...
小程序预览图片
小程序预览图片
preview.js
previewImg: function (e) { wx.previewImage({ current: this.data
mysql导入数据时常见错误
mysql导入数据时常见错误
Tplay生成海报
加载grafika
use Grafika\Color;
use Grafika\Grafika;
use app\common\library\wechat\WxBase;
use app\common\library\wechat\Qrcode;图片鸡汤接口
美图接口的域名是:https://cdn.mom1.cn
美图接口文档网址是:https://cdn.mom1.cn/api
二次元的接口是:https://cdn.mom1.cn/d
汉服古风的接口是:https://cdn.mom1.cn/ha
html页调用美图显示案例代码:<img src="https://cdn.mom1.cn/?mom=302" style="max-width: 100%; max-height: 100%;">
html页调用美图为背景案例代码:
<style>...
小程序计时器
小程序计时器
onReady(){ let _this = this; _this.countInterval(); }, countInterval: function () { let _this = this // 设置倒计时 定时器 每2000毫秒执行一次 _this.countTimer = setInterval(() => { _this.getIndexData();...
Windows搭建Redis
redis版本
副版本号为偶数时,表示是稳定版本,建议在生产环境中使用
副版本号为基数时,表示是测试版本,不建议在生产环境中是用
php扩展安装:
使用phpinfo()函数查看PHP的版本信息,安全模式,下载对应的文件
redis中的php扩展下载地址:https://windows.php.net/downloads/pecl/releases/redis/
igbinary扩展下载地址:https://windows.php.net/downloads/pecl/releases/igbinary/2.0.8/
解压缩后,将php_redis.dll和php_redis.pdb拷贝至php的ext目录下小程序初始化,判断版本,判断网络状态
小程序初始化,判断版本,判断网络状态