httpie

https://httpie.io/
httpie.gif

方法请求

  1. $http PUT httpbin.org/put X-API-Token:123 name=john
  2. HTTP/1.1 200 OK
  3. Access-Control-Allow-Credentials: true
  4. Access-Control-Allow-Origin: *
  5. Connection: keep-alive
  6. Content-Length: 522
  7. Content-Type: application/json
  8. Date: Mon, 09 Nov 2020 02:32:01 GMT
  9. Keep-Alive: timeout=4
  10. Proxy-Connection: keep-alive
  11. Server: gunicorn/19.9.0
  12. {
  13. "args": {},
  14. "data": "{\"name\": \"john\"}",
  15. "files": {},
  16. "form": {},
  17. "headers": {
  18. "Accept": "application/json, */*;q=0.5",
  19. "Accept-Encoding": "gzip, deflate",
  20. "Content-Length": "16",
  21. "Content-Type": "application/json",
  22. "Host": "httpbin.org",
  23. "User-Agent": "HTTPie/2.3.0",
  24. "X-Amzn-Trace-Id": "Root=1-5fa8aa21-5228fea744066d7d08e4793e",
  25. "X-Api-Token": "123"
  26. },
  27. "json": {
  28. "name": "john"
  29. },
  30. "origin": "128.199.243.208",
  31. "url": "http://httpbin.org/put"
  32. }

多格式数据

http PUT httpbin.org/put \
    name=John \                        # String (default)
    age:=29 \                          # Raw JSON — Number
    married:=false \                   # Raw JSON — Boolean
    hobbies:='["http", "pies"]' \      # Raw JSON — Array
    favorite:='{"tool": "HTTPie"}' \   # Raw JSON — Object
    bookmarks:=@files/data.json \      # Embed JSON file
    description=@files/text.txt        # Embed text file

FiraCode

Github:https://github.com/tonsky/FiraCode
Linux——效能工具 - 图2

下载安装教程https://github.com/tonsky/FiraCode/wiki/Linux-instructions#installing-with-a-package-manager

sudo apt install fonts-firacode

tldr

Linux上当简单查询某条命令如何使用时,用man查看输入的东西实在太多,不方便阅读。那就来tldr。下载地址https://github.com/tldr-pages/tldr
Linux——效能工具 - 图3
安装步骤

# yum install epel-release -y
# yum install nodejs npm -y
# sudo npm install -g tldr
$ tldr ls
# ls                                                                                                                                                                                 

  List directory contents.                                                                                                                                                           

- List files one per line:                                                                                                                                                           

  ls -1                                                                                                                                                                              

- List all files, including hidden files:                                                                                                                                            

  ls -a                                                                                                                                                                              

- Long format list (permissions, ownership, size and modification date) of all files:                                                                                                

  ls -la                                                                                                                                                                             

- Long format list with size displayed using human readable units (KB, MB, GB):                                                                                                      

  ls -lh                                                                                                                                                                             

- Long format list sorted by size (descending):                                                                                                                                      

  ls -lS                                                                                                                                                                             

- Long format list of all files, sorted by modification date (oldest first):                                                                                                         

  ls -ltr

thunderbird

Linux——效能工具 - 图4

uget

Linux——效能工具 - 图5

VLC media player

视频播放器
Linux——效能工具 - 图6

epel

EPEL 是 Extra Packages for Enterprise Linux 的缩写(EPEL),是用于 Fedora-based Red Hat Enterprise Linux (RHEL) 的一个高质量软件源
https://dl.fedoraproject.org/pub/epel/
Linux——效能工具 - 图7

安装方式

yum install epel-release

unar

解压缩工具https://theunarchiver.com/command-line
Linux——效能工具 - 图8
Ubuntu :

sudo apt-get install unar

gnome-tweak-tool

Linux——效能工具 - 图9

Linux——效能工具 - 图10

Okular

https://okular.kde.org/
Linux——效能工具 - 图11

FoxitReader福昕阅读器

https://www.foxitsoftware.cn/downloads/
Linux——效能工具 - 图12

Kchmviewer

kchmviewer是一个小巧的chm阅读器,http://www.ulduzsoft.com/linux/kchmviewer/
Linux——效能工具 - 图13

iso镜像制作工具

https://www.balena.io/etcher/
Linux——效能工具 - 图14
安装方式介绍
https://github.com/balena-io/etcher
Linux——效能工具 - 图15

flameshot

截图软件 https://github.com/lupoDharkael/flameshot
Linux——效能工具 - 图16
配置快捷键
Linux——效能工具 - 图17

Oh My ZSH

Linux——效能工具 - 图18

查看系统当前使用的shell,一般默认都是bin/bash

$ echo $SHELL 
/bin/bash

查看系统是否安装了zsh,centos7 没有安装,macos 默认安装了

$ cat /etc/shells 
/bin/sh
/bin/bash
/sbin/nologin
/usr/bin/sh
/usr/bin/bash
/usr/sbin/nologin
/bin/tcsh
/bin/csh

安装zsh

# sudo apt install zsh
.....
# zsh --version
zsh 5.5.1 (x86_64-ubuntu-linux-gnu)

设置zsh为默认shell

sudo chsh -s $(which zsh)

查看shell

echo $SHELL

安装命令

sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

安装成功界面

Looking for an existing zsh config...
Using the Oh My Zsh template file and adding it to ~/.zshrc
Time to change your default shell to zsh!
Password: 
         __                                     __   
  ____  / /_     ____ ___  __  __   ____  _____/ /_  
 / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ 
/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / 
\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  
                        /____/                       ....is now installed!


Please look over the ~/.zshrc file to select plugins, themes, and options.

p.s. Follow us at https://twitter.com/ohmyzsh

p.p.s. Get stickers, shirts, and coffee mugs at https://shop.planetargon.com/collections/oh-my-zsh

安装常见问题

E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。

下列软件包有未满足的依赖关系:
 terminator : 依赖: python-support (>= 0.90.0) 但是它将不会被安装
              依赖: python-vte 但是它将不会被安装
              推荐: python-gnome2 但是它将不会被安装
              推荐: python-keybinder 但是它将不会被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。

打开更新设置,在“更新”选项卡中选则:重要安全更新 和 推荐更新
Linux——效能工具 - 图19

typora

Mardown编辑器 官方下载地址https://www.typora.io/#
Linux——效能工具 - 图20

各个Linux版本的安装教程http://support.typora.io/Typora-on-Linux/

Debian/Ubuntu

# or use
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -

# add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update

# install typora
sudo apt-get install typora

Upgrade Typora
After installing Typora, the typora package will be managed by apt-get, so when your system updates installed packages, or you execute apt-get upgrade, Typora will be updated to latest version.

# upgrade all packages include Typora
sudo apt-get upgrade

NixOS

# install typora to the curent user's profile
nix-env -i typora

Mint

# or use
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -

# add Typora's repository
echo -e "\ndeb https://typora.io/linux ./" | sudo tee -a /etc/apt/sources.list
sudo apt-get update

# install typora
sudo apt-get install typora

Other Distributions

  1. Download the binary package Typora-linux-x64.tar.gz, Typora-linux-ia32.tar.gz.
  2. Try to install apt-get on your distribution, and then install typora.