- macOS latest
- Python3
- 下载mrc-converter-suite并解压
import sys | |
class MrCItem: | |
def __init__(self, vals): | |
# Title,"Login URL","Login Username","Login Password","Additional URLs" | |
self.title = vals[0] | |
self.loginURL = vals[1] | |
self.username = vals[2] | |
self.password = vals[3] | |
self.additionalURL = self.title if vals[4][:-1] == "" else (self.title + ";" + vals[4][:-1]) |
项目主页:https://github.com/Sunnyyoung/WeChatTweak-macOS
mkdir ~/Dropbox/Backup
cd ~/Dropbox/Backup
git clone https://github.com/Sunnyyoung/WeChatTweak-macOS.git
mkdir ~/Library/KeyBindings | |
cat > ~/Library/KeyBindings/DefaultKeyBinding.dict <<EOF | |
{ | |
/* Keybindings for emacs emulation. Compiled by Jacob Rus. | |
* | |
* This is a pretty good set, especially considering that many emacs bindings | |
* such as C-o, C-a, C-e, C-k, C-y, C-v, C-f, C-b, C-p, C-n, C-t, and | |
* perhaps a few more, are already built into the system. | |
* | |
* BEWARE: |
;;; clang-format.el --- Format code using clang-format -*- lexical-binding: t; -*- | |
;; Keywords: tools, c | |
;; Package-Requires: ((cl-lib "0.3")) | |
;;; Commentary: | |
;; This package allows to filter code through clang-format to fix its formatting. | |
;; clang-format is a tool that formats C/C++/Obj-C code according to a set of | |
;; style options, see <http://clang.llvm.org/docs/ClangFormatStyleOptions.html>. |
import requests | |
import re | |
import json | |
class AutoPunch: | |
def __init__(self, username, pwd): | |
self.username = username | |
self.pwd = pwd | |
self.login_url = 'https://www.1point3acres.com/bbs/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1' | |
self.punch_url = 'https://www.1point3acres.com/bbs/plugin.php?id=dsu_paulsign:sign&operation=qiandao&infloat=1&sign_as=1&inajax=1' |
class Animal{ | |
public: | |
virtual Animal * getFather() {} | |
virtual Animal * getMother() {} | |
}; | |
class Cat: public Animal { | |
public: | |
virtual Cat * getFather(){} | |
virtual Cat * getMother(){} |
CFLAGS=-Wall -Werror -std=gnu++98 -pedantic -ggdb3 | |
SRCS=$(wildcard *.cpp) | |
OBJS=$(patsubst %.cpp, %.o, $(SRCS)) | |
PROGRAM=points | |
$(PROGRAM): $(OBJS) | |
g++ $(CFLAGS) -o $@ $(OBJS) | |
%.o: %.cpp point.h | |
g++ -c $(CFLAGS) $< |
CFLAGS=-Wall -Werror -std=gnu++98 -pedantic -ggdb3 | |
SRCS=$(wildcard *.cpp) | |
OBJS=$(patsubst %.cpp, %.o, $(SRCS)) | |
PROGRAM=points | |
$(PROGRAM): $(OBJS) | |
g++ $(CFLAGS) -o $@ $(OBJS) | |
%.o: %.cpp point.h | |
g++ -c $(CFLAGS) $< |