2018年10月25日
下载并解压madVR http://www.madvr.com 管理员身份运行install.bat 设置使用madVR
使用mpc hc 播放影片
右下角小图标右键edit……
阅读全文
2018年9月30日
允许蓝牙设备查找这台电脑 在设备管理器中关闭“允许计算机关闭此设备以节约电源”选项 ……
阅读全文
2018年9月10日
/etc/mysql/mysql.conf.d/mysqld.cnf
注释掉
#bind-address = 127.0.0.1 service mysql restart……
阅读全文
2018年8月29日
设置GatewayPort
sudo vim /etc/ssh/sshd_config GatewayPort yes 重启ssh使其生效
/etc/init.d/ssh restart ssh -NfR {localport}:{localhost}:{remoteport} {username}@{remoteip} #举例 ssh -NfR 222:0.0.0.0:22 root@ip地址 -N:不执行远程指令 -f:后台执行ssh指令 -R: 远程端口转发
保持连接
vim ~/.ssh/config ServerAliveInterval 30 关闭
fuser -v -n tcp {端口} kill 9 {进程号} ……
阅读全文
2018年8月12日
安装nginx和php
sudo apt install nginx php-fpm php --version #测试是否安装成功 在目录下下载speedtest speedtest地址 https://github.com/adolfintel/speedtest
cd /var/www/ git clone https://github.com/adolfintel/speedtest 配置nginx的设置,这里我没有动nginx.conf , 而是修改的/etc/nginx/sites-enabled/default 文件
server { listen 80 default_server; listen [::]:80 default_server; # SSL configuration # # listen 443 ssl default_server; # listen [::]:443 ssl default_server; # # Note: You should disable gzip for SSL traffic. # See: https://bugs.debian.org/773332 # # Read up on ssl_ciphers to ensure a secure configuration. # See: https://bugs.debian.org/765782 # # Self signed certs generated by the ssl-cert package # Don't use them in a production server!……
阅读全文
2018年8月11日
下载TGFont.dll https://github.com/ysc3839/TGFont/releases
重命名为winmm.dll并且放入telegram的文件夹下面
重启telegram,会出现TGFont.json文件
{ "fonts": { "SimSun": { "replace": "Microsoft YaHei UI", "size": 40, "#width": 0, "#weight": 0, "#italic": false, "#underLine": false, "#strikeOut": false, "#charSet": 0, "#outPrecision": 0, "#clipPrecision": 0, "#quality": 0, "#pitchAndFamily": 0 } }, "debug": false } 再次重启telegram……
阅读全文
2018年8月1日
Windows quick look https://github.com/QL-Win/QuickLook
cmder http://cmder.net/
cygwin https://www.cygwin.com/
xshell https://www.netsarang.com/en/free-for-home-school/
Universal USB Installer
etcher
ComicRack http://comicrack.cyolito.com/
Linux neofetch https://github.com/dylanaraps/neofetch
diffuse 比较文本 http://diffuse.sourceforge.net/download.html
Mac homebrew https://brew.sh/
macdown https://macdown.uranusjr.com/
iterm2 https://www.iterm2.com/
termius
iStats https://github.com/Chris911/iStats
LuLu https://objective-see.com/index.html
pock https://github.com/pigigaldi/Pock 在bar上显示docker
SwitchKey https://github.com/itsuhane/SwitchKey 不同应用自动切换输入法
cross-platform typora https://typora.io/
snipaste https://zh.snipaste.com/
wireshark https://www.wireshark.org
DeaDBeeF http://deadbeef.sourceforge.net/
MComix https://sourceforge.net/projects/mcomix/
Zettlr https://www.zettlr.com/
mark text https://github.com/marktext/marktext/releases
dupuguru 处理重复软件 https://github.com/arsenetar/dupeguru/releases
终端 autojump ranger https://ranger.github.io/
配置终端PS1工具 http://bashrcgenerator.com/
插件 https://chrome.google.com/webstore/detail/url-render/flhclpkhoiajoikkabbfbinnjapaflog
字体 Dejavu https://dejavu-fonts.github.io……
阅读全文
2018年8月1日
1 安装dnsmasq sudo apt-get install dnsmasq 说明:/etc/resolv.conf是默认的文件,记录的是本机器的上游dns服务器。
2 设置dnsmasq配置文件 dnsmasq的默认配置文件是/etc/dnsmasq.conf
sudo vim /etc/dnsmasq.conf 设置dnsmasq的监听的地址,也就是本机ip地址
# Or which to listen on by address (remember to include 127.0.0.1 if # you use this.) listen-address=127.0.0.1, {ip_address} #({ip_address}添加自己的本机器ip地址) 测试dns服务器可以用dig(Domain Information Groper)和nslookup
若没有这些命令,先安装
ubuntu sudo apt-get install dnsutils debian apt-get update apt-get install dnsutils centos yum install bind-utils dig @dns服务器的ip 网站域名 dig @1.0.0.1 www.bing.com nslookup 网站域名 dns服务器的ip nslookup www.bing.com 1.0.0.1 如果不想读取本机hosts,可以设置no-hosts
# If you don't want dnsmasq to read /etc/hosts, uncomment the # following line.……
阅读全文
2018年8月1日
mac的word打开时出现隐藏模块中出现错误 link
删除Word文件夹下的内容
cd ~/Library/Group\ Containers/UBF8T346G9.Office/User\ Con tent.localized/Startup.localized/Word/ rm * ……
阅读全文
2018年7月30日
autojump
brew install autojump
brew info autojump……
阅读全文