1

Linux Cli下酷工具收集(持续)

 2 years ago
source link: https://www.imhanjm.com/2017/05/06/linux%20cli%E4%B8%8B%E9%85%B7%E5%B7%A5%E5%85%B7%E6%94%B6%E9%9B%86(%E6%8C%81%E7%BB%AD)/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Linux Cli下酷工具收集(持续)

发表于 2017-05-06

| 0 Comments

  1. mycli. ipython之于Python, mycli之于mysql. 当然还有pgcli. Python写的工具. Github地址:https://github.com/dbcli/mycli
  2. youtube-dl. youtube下载器, 能直接下载youtube视频列表. Python写的工具.
  3. oh-my-zsh的z命令. 手动输入一个很长的路径名不停地tab很麻烦, 配置了oh-my-zsh的话可以启用z命令(edit: ~/.zshrc line: plugins=(git python z tmux)), z 文件夹名 就可以跳转到常用目录中最符合输入文件夹名的文件夹中, 非常方便, GitHub地址https://github.com/robbyrussell/oh-my-zsh
  4. privoxy. brew pip npm install、docker pull总是慢如蜗牛? privoxy能将shadowsocks的socks代理(127.0.0.1:1080)转换为http/https代理, 有个奇特的地方是把它把文档写在配置文件的注释里, config文件有2271行, 初让人以为配置起来会巨复杂, 实际上基本的功能两行配置即可. listen-address配置为0.0.0.0:8118, 局域网内其他设备也可以走此代理:8118. 官网https://www.privoxy.org/

    listen-address  0.0.0.0:8118
    forward-socks5 / localhost:1080 .

    然后在.zshrc或.bashrc中加入一下命令就可以通过proxy dproxy来切换是否在本终端下使用代理了.

    function proxy(){
    export http_proxy=http://127.0.0.1:8118
    export https_proxy=https://127.0.0.1:8118
    }
    function dproxy(){
    unset http_proxy
    unset https_proxy
    }
  5. kcptun. bandwagon上的shadowsocks越来越慢, 不用kcptun加速没法正常使用, 只能不太厚道地超量发包了. GitHub地址https://github.com/xtaci/kcptun


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK