# 启动 zerotier-one -d # 获取地址和服务状态 zerotier-cli status # 加入、离开、列出网络 zerotier-cli join <Network ID> zerotier-cli leave <Network ID> zerotier-cli listnetworks
互联网技术
The last upgrade MacOS for my Lenovo G460
This Lenovo G460 is my first pc during my study. Since 2013,I install the MacOS for it every year. Fortunately, it has good compatibility. I successfully upgraded from 10.7.5 to 10.14. Until toda...
Make the latest MacOS usb boot installer on older mac hardware
First you should get the patcher software. http://dosdude1.com/software.html 1. Insert your desired USB drive, open Disk Utility, and format it as OS X Extended (Journaled). 2. Open the ...
How to install Mysql-Python in Mac OS
brew install mysql-connector-c sed -i -e 's/libs="$libs -l "/libs="$libs -lmysqlclient -lssl -lcrypto"/g' /usr/local/bin/mysql_config pip install MySQL-python
Find your mac mini can install maximum ram
I bought a mac mini late 2009 and I want to make a private server in my home. Because it had been 10 years from it's release, so it need a hardware upgrade. Use this website you can find the maxim...
Solve problems that curl can not be found when install php-yar
Today I found a problem that curl can not be found when I install the php-yar. I am using the ubuntu os, and the output is `Please reinstall the libcurl distribution - easy.h should be in /include...
Time radio is landing on youtube
Today I want to announce a good news. That is time radio is landing on youtube. Time radio is a radio station I heard when I was reading in my school. At that time , I liked this station very much...
Synthesize video files with mp3 and images using ffmpeg in MacOS
First step you should install dependence files. brew install ffmpeg brew install libmagic pip install eyed3 Then you can use the terminal to test the ffmpeg command. And you should see the f...
利用jenkins监听SVN设计稿的更新内容
首先需要创建一个jenkins任务,由于我们公司的UI设计稿是采用SVN来管理,在UI的同学和开发的同学经常在沟通方面不及时的问题,于是我想办法写了这个钩子。 主要用到的shell如下,当前前提还是需要先创建一个j...
DNSPOD和CertBot结合使用来自动生成通配符的SSl证书
今天晚上找到了一个dnspod的插件,由于certbot生成通配符的ssl证书在dns配置环节可谓是非常之麻烦,麻烦,于是刚刚好又发现了这个插件,终于可以自动化的配置了。 安装python插件 sudo apt-get install pytho...
利用python3统一将网站图片转换为webp格式
为了统一将图片转换为webp格式,这里写了python3脚本,统一进行转换。 #coding:utf-8 from os import walk import os #查找所有png jpg jpeg的图片路径 def all_path(dirname): result = []#所有的文件 fo...
升级wordpress之后一直卡在无需升级数据库页面
今天早上在升级wordpress之后一直卡在无需升级数据库页面,让我奇怪的是前台页面一直显示的是正常的,但是后台一直就卡在无需升级数据库页面,而且循环往复,你点了确定,但是没有作用。经过网上搜索之后发现原...
私有P2P网络之ZeroTier
官方网站:http://www.zerotier.com 在使用之前需要先去官方网站注册一个账号,然后免费账号可以支持100个设备连接,对于个人来说足够使用了。 成功注册之后在网络那里创建一个私有网络即可获取到网络的ID。 ...