server.py # -*- coding: utf-8 -*- import ctypes import socket import json # ipv4 SOCK_DGRAM指定了这个Socket的类型是UDP s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.setsockopt(so...
互联网技术
Install the RTL8821CU wifi driver on Linux Deepin
My Linux kernel is 4.1.5 , OS version is Linux Deepin . Below list is the step of install the wifi deriver: git clone https://github.com/whitebatman2/rtl8821CU cd rtl8821CU sudo apt-get inst...
Some useful information of learning the docker and oracle database
// login the docker sudo docker login // search the oracle-11g databaes docker search docker-oracle-xe-11g // download the oracle-xe-11g docker file sudo docker pull marcelmaatkamp/docker-oracle-x...
Some useful command about zero-tier
# 启动 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...