$ pip install shadowsocs
$ whereis sslocal
$ vim ~/.config/shadowsocks.json
$ sslocal -c ~/.config/shadowsocks.json
# start in the background
$ sudo sslocal -c ~/.config/shadowsocks.json -d start
# check the service
win+r
输入regidit
打开注册表文件
菜单选择导出
,对注册表进行备份- 点击
HKEY_LOCAL_MACHINE -> System -> CurrentControlSet -> Control -> KeyBoard Layout
,一定是keyBoard Layout
。 - 右键
新建 -> 二进制值
,对新建文件重命名Scancode Map
- 右键
scancode Map -> 修改
,编辑弹出的对话框 - 输入以下内容(似乎不能复制,但是其自己会定位,两位数和四位数,自动跳转)
0000 00 00 00 00 00 00 00 00
0008 03 00 00 00 1D 00 3A 00
0010 3A 00 1D 00 00 00 00 00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Added by Package.el. This must come before configurations of | |
;; installed packages. Don't delete this line. If you don't want it, | |
;; just comment it out by adding a semicolon to the start of the line. | |
;; You may delete these explanatory comments. | |
(when (>= emacs-major-version 24) | |
(require 'package) | |
(package-initialize) | |
(setq package-archives '(("gnu" . "http://elpa.emacs-china.org/gnu/") | |
("melpa" . "http://elpa.emacs-china.org/melpa/")))) |
- “org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files”
参考链接:https://blog.csdn.net/lvye1221/article/details/9236399
开始录制宏
可以按 "C-x (" 也可以按 "F3" 开始录制宏,接下来的操作就会被录制下来。例如:在录制之前,先将 emacs 切成两个窗口(C-x 2 或 C-x 3) 并将光标放置到正确位置,开始录制宏。
处理数据
这个过程就是为了得到一个可以循环操作的宏,可以包括查找、复制、删除等一切emacs中的正常操作。例如:从1个窗口中,拷贝需要的数据后,移动到另外一个窗口,粘贴数据,将光标移动到下一个位置,最后再将光标回到原来的窗口位置。
sudo apt update && sudo apt upgrade -y
sudo apt install build-essential libncurses-dev
wget https://mirrors.tuna.tsinghua.edu.cn/gnu/emacs/emacs-26.1.tar.gz
cd emacs26.1
./configure --without-x --with-gnutls=no
make
sudo make install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.landiannews.com/archives/51131.html | |
------ | |
slmgr -ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D | |
slmgr -skms kms.03k.org | |
slmgr -ato | |
slmgr -dlv | |
----- |
- change the source of applications
vim /etc/apt/sources.list
# vim-replace
# :%s/archive\.ubuntu/mirrors\.aliyun/g
# :%s/security\.archive\.ubuntu/mirrors\.aliyun/g
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sxettingeditor > xft > dpi > 116(default 96) |
来自:http://www.afox.cc/archives/404
不同的协议他的代理配置各不相同。core.gitproxy 用于 git:// 协议,http.proxy 用于 http:// 协议。
不同的协议他的代理配置各不相同。core.gitproxy 用于 git:// 协议,http.proxy 用于 http:// 协议。
常见的git clone 协议如下: