itchat
是基于微信网页端接口实现的一个处理微信消息的库
给文件助手发送消息
import itchat
itchat.auto_login()
itchat.send('Hell, filehelper', toUserName='filehelper')
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
itchat
是基于微信网页端接口实现的一个处理微信消息的库
给文件助手发送消息
import itchat
itchat.auto_login()
itchat.send('Hell, filehelper', toUserName='filehelper')
Windows上一般是GBK编码的,但是gitlab-runner默认是utf-8的编码。
在Windows上的runner的输出如果包含中文就会出现乱码,解决方法:在script执行前添加codepage转化的命令
chcp 65001
但是Windows上的有些命令时不支持utf8编码的,比如xcopy...,所以即使切换的编码,也会有部分命令出现乱码
1) Filter Table
Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.
[Unit] | |
Description=autossh connect | |
After=network-online.target ssh.service | |
[Service] | |
ExecStart=/usr/bin/autossh -M 40000 -N -q pi3 | |
ExecStop=killall -s KILL autossh | |
RestartSec=5 | |
Restart=always |
#ifndef __dbg_h__ | |
#define __dbg_h__ | |
#include <stdio.h> | |
#include <errno.h> | |
#include <string.h> | |
#ifdef NDEBUG | |
#define debug(M, ...) |
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")";pwd) | |
cd ${SCRIPT_DIR} |
########################################## | |
# | |
# c.f. http://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4 | |
# | |
# Version 2.82 | |
# | |
# Latest Change: | |
# - MORE tweaks to get the iOS 10+ and 9- working | |
# - Support iOS 10+ | |
# - Corrected typo for iOS 1-10+ (thanks @stuikomma) |