bash
iterm2 ohmyzsh
- https://www.jianshu.com/p/9c3439cc3bdb
- https://zhuanlan.zhihu.com/p/68876098
- zsh plugin
- git/z/zsh-autosuggestions
- bind key
command manuel
- 查看监听端口
- sudo lsof -nP -iTCP[:端口号] -sTCP:LISTEN
- netstat -an -p ‘tcp’
proxy
1 | export {http,https,ftp}_proxy='http://127.0.0.1:1080' |
or proxychains4
双网卡 route
sudo route add -net 10.0.0.0 -netmask 255.0.0.0 172.29.7.254
ip mask gateway 适用内网与外网网关不同时
brew
替换homebrew默认源
1 | git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git |
如果替换源之后brew update 没反应1
2cd "$(brew --repo)"
git pull origin master
切回官方源1
2
3
4git -C "$(brew --repo)" remote set-url origin https://github.com/Homebrew/brew.git
git -C "$(brew --repo homebrew/core)" remote set-url origin https://github.com/Homebrew/homebrew-core.git
git -C "$(brew --repo homebrew/cask)" remote set-url origin https://github.com/Homebrew/homebrew-cask.git
brew update
替换Homebrew Bottles源
Homebrew Bottles是Homebrew提供的二进制代码包,目前镜像站收录了以下仓库:
对于bash用户1
2echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile
source ~/.bash_profile
对于zsh用户1
2echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.zshrc
source ~/.zshrc
install command
brew info python
brew install python
brew link python
brew cleanup
system
volumn
- 通信自动音量调整关闭
1
2
3通信前
printf "p *(char*)(void(*)())AudioDeviceDuck=0xc3\nq" | lldb -n QQ
printf "p *(char*)(void(*)())AudioDeviceDuck=0xc3\nq" | lldb -n WeChat
docker
- mirror
- RUN sed -i ‘s/archive.ubuntu.com/mirrors.ustc.edu.cn/g’ /etc/apt/sources.list
- mysql error
- run into this under ubuntu14.04 with updating password
- [ERROR] Fatal error: Can’t open and lock privilege tables: Got error 140 from storage engine
- mkdir /var/run/mysqld ; chown -R mysql:mysql /var/lib/mysql /var/run/mysqld && service mysql start
- other error
- maybe
mkdir /var/run/xxx
- maybe
- gdb
docker run --privileged
docker run --cap-add=SYS_PTRACE
(orALL
)
- configure proxy server
software collection
resource url
Basic & Tools
- vscode
- settings sync
- textastic @Appstore
- 010 editor https://www.52pojie.cn/thread-847145-1-1.html
- wireshark
- charles https://www.zzzmode.com/mytools/charles/
- proxyfier
brew cask install Proxyfier
- antsword
- ida
- /Applications/IDA Pro 7.0/ida.app/Contents/MacOS/plugins/
- keystone Mojave https://github.com/fjh658/keystone-engine
- keypatch https://raw.githubusercontent.com/keystone-engine/keypatch/master/keypatch.py
- https://github.com/polymorf/findcrypt-yara
- https://github.com/L4ys/LazyIDA
- fix 10.14 crash https://github.com/fjh658/IDA7.0_SP
- burpsuite / postman
- android
- jeb https://bbs.pediy.com/thread-230293-1.htm
- jadx
brew install jadx
- apktool
- ssh manage
- termius
- document
- dash
- pwntools
sudo pip install pwntools
afterbrew install python@2
sudo pip3 install pwntools
afterbrew install python
- brew install https://raw.githubusercontent.com/Gallopsled/pwntools-binutils/master/osx/binutils-amd64.rb
python
- brew install python
- brew install python@2
- pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some
Note
- Mweb @Appstore / yu writer
- with hexo
- Onenote
- notion
- 滴答清单
效率
- Alfred
- find
- clipboard
- workflow
- Reeder (RSS)
FTP
- transmit
convenient
- WeChatExtension
- bandzip 压缩 @Appstore
- bingpaper 壁纸
- iina 播放器
- source tree (git gui)
- teamviewer (anydesk/microsoft remote desktop)
- easy new file (新建文件,快速打开终端) @appstore
- FDM 下载器
- 迅雷
- Scroll reverser 鼠标滚轮反转
- PDF element PRO
- fine reader ocr @Appstore
- PicGo 图片上传客户端
- dozer
brew cask install dozer
状态菜单图标隐藏 - LunarCal 日历 @Appstore
- expression 正则测试 @Appstore
- Permute3 音视频转换 @Appstore
- 自动切换输入法 @Appstore 免费
- XMind ZEN
- OBS
- with boom 2
Visual
- PD/VMFUSION https://www.vmware.com/go/getfusion
- vmfusion debian/ubuntu share open-vm-tools-dkms
vmhgfs-fuse .host:/ /mnt/hgfs/
- /etc/fstab
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0
- vmfusion debian/ubuntu share open-vm-tools-dkms
- wine winetricks
- docker
DB
- navicat
- 旧版本可直接构造公私钥对 <= v12.0.23.0
- https://www.52pojie.cn/forum.php?mod=viewthread&tid=692132
- datum
Develope
- pycharm
- idea
- android studio
- anaconda
Backup
- timemachine
- 可分区,希捷移动硬盘 ( NTFS 管理)
- https://www.jianshu.com/p/5f8b4d9a8922 分区
- https://support.apple.com/zh-cn/HT203981 恢复
- 坚果云
- onedirve(不知道文件标识符问题修复了没,10.13没问题)
- dropbox
clean
- ominidisksweeper
- clean my mac
- tencent lemon
access google
- https://github.com/JadaGates/ShadowsocksBio
- install
- docker
- https://github.com/Tsuk1ko/SS-and-SSR-Collection
- https://github.com/Captain-Alan/VPS-Recommendation
- https://github.com/cadencando/SSSSRV2RayTrojanClash
office
- office 2019
https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Microsoft_Office_16.25.19051201_Installer.pkg
- 来源
https://bbs.feng.com/read-htm-tid-10731033.html