Skip to content

Instantly share code, notes, and snippets.

View deneschen's full-sized avatar
🎯
Focusing

SomeOne deneschen

🎯
Focusing
View GitHub Profile
sudo apt-get update
sudo apt-get install git vim wget psmisc python-pip -y
wget --no-check-certificate https://github.com/shadowsocks/shadowsocks-rust/releases/download/v1.7.2/shadowsocks-v1.7.2-stable.x86_64-unknown-linux-musl.tar.xz
tar -Jxf shadowsocks-v1.7.2-stable.x86_64-unknown-linux-musl.tar.xz
cp ssserver /usr/local/bin/
cat <<EOF >/usr/lib/systemd/system/shadowsocks.service
KcpTun客户端程序下载:
https://github.com/xtaci/kcptun/releases
https://github.com/kuoruan/shell-scripts
@deneschen
deneschen / windows CMD命令大全及详细解释和语法
Created February 26, 2018 14:33
windows CMD命令大全及详细解释和语法
windows CMD命令大全及详细解释和语法
引用:
http://letle.iteye.com/blog/169045
http://www.cppblog.com/kyelin/archive/2007/04/21/22540.aspx
windows批处理程序中的特殊字符
批处理介绍
纯以dos系统而言,可执行程序大约可以细分为五类,依照执行优先级由高到低排列分别是:
DOSKEY宏命令(预先驻留内存)
@deneschen
deneschen / WindowDos批处理指导
Last active September 13, 2022 03:14
WindowDos批处理指导
Windows批处理(cmd/bat)常用命令小结
前言
批处理文件(batch file)包含一系列 DOS命令,通常用于自动执行重复性任务。用户只需双击批处理文件便可执行任务,而无需重复输入相同指令。
编写批处理文件非常简单,但难点在于确保一切按顺序执行。编写严谨的批处理文件可以极大程度地节省时间,在应对重复性工作时尤其有效。
在Windows中善用批处理可以简化很多重复工作
阅读原文 - https://wsgzao.github.io/post/windows-batch/
git clone https://code.csdn.net/chenyu105/linux_kernel_2-6-11-12_comment.git
git clone https://code.csdn.net/xiebaoyou/linux-4-3-0-comment.git
@deneschen
deneschen / gist:a7ff125a1cd13d9eb11acdd79e139b88
Created October 25, 2017 13:39
一些网络地址备份
实时编译汇编指令:https://gcc.godbolt.org/
Kernel实时代码查看:http://elixir.free-electrons.com/linux/v4.14-rc6/source
@deneschen
deneschen / 开启xterm终端256色和终端下vim 256色
Last active September 13, 2022 07:56
开启xterm终端256色和终端下vim 256色
相同的colorschema,vim和gvim的颜色差距还是很大的,因为gvim使用X的颜色,而vim只能使用终端提供的颜色,所以造成了二者的显示差异。
xterm开启256色
现在的终端模拟器早就支持256色了,不过默认可能还是8色的。
开启xterm终端,查看xterm终端支持的颜色
命令:
$ tput colors
8
@deneschen
deneschen / 深入理解并行编程一书
Created September 15, 2017 13:21
深入理解并行编程一书
https://www.kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.html
@deneschen
deneschen / I2C测试工具源码
Created September 13, 2017 16:12
I2C测试工具源码
https://fossies.org/dox/i2c-tools-3.1.2/
@deneschen
deneschen / Book
Created August 9, 2017 14:16
gorman book
https://www.kernel.org/doc/gorman/html/understand/