emacs 中文

系统: win7en 在 emacs 文件的开头输入: -*- coding: utf-8 -*- 这样就可以以 utf-8 的编码进行保存。 还可以在配置文件中加入: (setq default-buffer-file-coding-system 'utf-8-unix) 。 具体参考: h...

texlive 安装

texlive 可以从下面两个网址下载 https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/ https://mirrors.ustc.edu.cn/CTAN/systems/texlive/Images/ 下载完成...

emacs 配置文件目录

在 windows 环境下,emacs 的配置目录可以通过下面几种方式来设置: If the environment variableHOME is set, use the directory it indicates. If the registry entry HKCU\SOFTWA...

android 使用 git 进行版本控制

远程建立仓库 vcs --> import into version control --> create git respository 选中整个工程(project 页面) vcs --> git -> add vcs --> git --> remo...

android studio 入门坑

android studio 初次使用的时候,也会碰到很多坑,详细如下:

lpwizard 生成的 allegro 封装中 .psx 文件使用方法。

lpwizard 有时候生成 allegro 封装的时候会生成 .psx 文件,这个文件其实是脚本文件,用于某些特殊形状焊盘的处理。 具体的使用方法如下: 在Allegro中,选择 File > Script(文件 > 脚本) 在脚本窗口,点击 Browse(浏览) 在文件浏览器...

git 常用命令

1. 撤销提交 git reset --soft HEAD^ git reset --hard [commit_id] 注意: soft撤销可以保留已经修改的文件,hard 撤销完全恢复为指定的状态,抛弃已有的修改。 2. 强制更新 git push origin HEAD --force g...

centos 7 打开端口

查看防火墙状态 systemctl status firewalld 或者 firewall-cmd --state 临时关闭防火墙测试是否是端口问题 systemctl stop firewalld 3. 开启防火墙 systemctl start firewalld 4. 增...

v2??? 替换协议

输入 v2??? 命令,选择修改 v2??? 配置, 然后选择修改传输协议, 可以选择 mKcp_wechat-video 。然后重新生成 vmess,放入客户端使用。

v2??? 重启失败

v2??? 重启失败, 提示 Authorization not available. Check if polkit service is running or see debug message for more information. 2. 检查 message vi /var...