2020/9/9

chrome扩展中,content-script与background.js之间的通信

background.js发消息给content-script background.js发送 chrome.tabs.query({active: true, currentWindow: true}, function(tabs){     chrome.tabs.sendMessage(tabs[…

  • chrome插件 生活
  • 2020/9/9
  • helei
  • 2,339
  • 2020/9/7

    git 本地与远程仓库同步操作

    git fetch  从远程仓库下载本地仓库中缺失的提交记录 更新远程分支指针(假设为 o/master) git fetch 实际上将本地仓库中的远程分支更新成了远程仓库相应分支最新的状态: git fetch 并不会改变你本地仓库的…

  • github
  • 2020/9/7
  • helei
  • 1,371
  • 2020/9/7

    微信小程序修改变量值

    this.setData({     test:'hello world!'   })

  • 微信小程序
  • 2020/9/7
  • helei
  • 1,300
  • 2020/9/7

    国外网站下载限速解决方案

    http://www.internetdownloadmanager.com/

  • 生活
  • 2020/9/7
  • helei
  • 1,119
  • 2020/9/4

    macOS Catalina (macOS 10.15) 已损坏无法打开解决办法

    打开终端(屏幕下方“小火箭”——“其他”——打开“终端”),在终端中粘贴下面命令:   sudo xattr -r -d com.apple.quarantine ,然后输入个空格,再将应用程序目录中的软件拖拽到命令后面,按回车后输入自己电脑密码执行…

  • macos
  • 2020/9/4
  • helei
  • 1,385
  • 2020/9/4

    mac 在终端如何进入名称带空格的目录

    对空格转义或者输入“ ”或‘ ’ open /Applications/Visual\ Studio\ Code.app open Appications/Visual' 'Studio.app open Appications/Visual" "Studio.app

  • macos
  • 2020/9/4
  • helei
  • 1,314
  • 2020/8/31

    微信小程序sup,sub

    sup{      font-size: 10px;      vertical-align:text-top;}sub{      font-size: 10px;     &n…

  • 微信小程序
  • 2020/8/31
  • helei
  • 1,498