2020/8/29

Mac php+nginx

mac安装nginx+phpnginx 安装命令 brew install nginx nginx 默认监听 8080 端口,启动成功之后,在浏览器访问 http://localhost:8080 可以看到 nginx 的欢迎界面。 默认服务路径,项目根目录 /usr/local/…

  • macos nginx
  • 2020/8/29
  • helei
  • 1,431
  • 2020/8/29

    Mac安装python

    1、查看 mac 自带系统版本 #查看系统自带的python open /System/Library/Frameworks/Python.framework/Versions #系统当前的python版本。 python -V 2、开始安装(这里我们使用神器homeb…

  • macos python
  • 2020/8/29
  • helei
  • 1,293
  • 2020/8/29

    Mac安装Homebrew Mac安装Homebrew 国内安装(可用): /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 以上方法来自:https://zhuanla…

  • macos
  • 2020/8/29
  • helei
  • 1,365
  • 2020/8/28

    微信聊天机器人

    ItChat - Python wxpy - Python wxpy 在 itchat 的基础上提供更丰富的扩展 wechat - PHP 官方: 它可能是开发微信App的世界上最好的SDK wechaty - TypeScript Wechaty是一个用于微信个人账户的Bot SDK,可以帮助您…

  • 生活
  • 2020/8/28
  • helei
  • 1,363
  • 2020/8/28

    微信小程序页面传参

    wx.navigateTo({ url: '/packageTab1/pages/cangchu/cangku?xxx=xxx',  // 通过url传到跳转页面 }) 跳转后的页面 onLoad: function (options) {     xxx = options.xxx },

  • 微信小程序
  • 2020/8/28
  • helei
  • 1,383
  • 2020/8/25

    ​js15位身份证号码转18位

    从1999年10月1日起,全国实行公民身份证号码制度,居民身份证编号由原15位升至18位。前6位为地址码;第七位至14位为出生日期码,此码由6位数改为8位数,其中年份用4位数表示;第15位至17位为顺序码,取消了顺序码中…

  • 生活
  • 2020/8/25
  • helei
  • 1,430
  • 2020/8/24

    python3模拟post/get

    post url = ""  headers = { 'Accept':'application/json, text/plain, */*', 'Accept-Encoding': 'gzip, deflate', …

  • python
  • 2020/8/24
  • helei
  • 1,173