Total Pageviews

Showing posts with label unix. Show all posts
Showing posts with label unix. Show all posts

Monday, 3 February 2025

终端工具集

 

推荐一些能够提升效率的终端工具:

yay: 又一个 aur helper,为什么不推荐paru,因为yay看起来更开心一些。

zsh: 比bash更强的 shell。

oh-my-zsh: 一个zsh的框架,自带许多插件和主题。

starship: zsh的主题,但是更好看,而且更快。

kitty: 一个 GPU 加速的终端,虽然是使用 python 写的,不用alacritty是因为它不支持连写。

FiraCode: 一个带连写的编程字体。

hub: 一个更好的git增强工具。

cli: GitHub 官方的命令行工具,可以省去一些图形化操作。和hub有些功能重合。

lazygit: 终端的git命令 UI。

lazydocker: 终端的docker命令 UI。

degit: 简单的git项目脚手架,能够清除仓库的提交历史。

difftastic: git diff命令的增强。

ni: 包管理工具卷上天,ni大一统。

pnpm : 更快、更快、还是他妈的更快。

npm-check-updates: package.json的依赖更新工具。

zoxide: autojump,但是是用rust写的。

ranger: 一个终端的文件管理器。

fzf: 模糊查询。

fzf-tab: 用 fzf 替换 zsh 的默认补全选择菜单。

mcfly: 更加友善的zsh历史命令搜索提示。

neovim: vim fork 出来的终端编辑器,但是更 powerful。

gvm: go的多版本管理工具。

fnm: node的多版本管理工具。

tmux: 让你的session和终端分离。

htop: 更好的top命令。

exa: 更好的ls命令。

duf: 更好的df命令。

ncdu: 更好的du命令。

tldr: 太长不看。

bottom: 系统的各种运行时参数查看。

neofetch: 系统参数查看。

scc: 项目代码行数查看。

httpie: 或许是更好的curl?

ripgrep: 安息吧,grep。更好的正则查询过滤。

golines: 限制你的go代码的单行最大长度。

gofumpt: 更好的gofmt,完全和前者兼容。

golangci-lint: go的 lint 工具。

eslint: 让你的js代码更加规范。

vite: f**k webpack。

tig: 更好的git log查看器。

gping: 带有可视化界面的ping。

bat: 更好的cat。

act: 在本地运行你的GitHub Action。

procs: 更好的ps。

sd: 直观的查找和替换 CLI,更好的sed。

Monday, 29 May 2023

网络时间协议(NTP)服务器OpenNTPD



NTP是网络时间协议(Network Time Protocol),它是用来同步网络中各个计算机的时间的协议。OpenNTPD是一个Unix系统网络时间协议(NTP)开源程序,可以使计算机系统的本地时钟与远程NTP服务器同步。也可以作为一个NTP兼容客户端的NTP服务器。

OpenNTPD作为OpenBSD计划的一部分,设计目标包括安全、易于配置、在大多数情况足够精确。可在BSD许可证下分发源代码。

官网:http://www.openntpd.org/

Saturday, 27 May 2023

Redox is a Unix-like Operating System written in Rust

 

Redox is a Unix-like Operating System written in Rust, aiming to bring the innovations of Rust to a modern microkernel and a full set of applications.


  • Inspired by Plan 9, Minix, BSD and Linux
  • Implemented in Rust
  • Microkernel Design
  • Includes optional GUI - Orbital
  • Supports Rust Standard Library
  • MIT Licensed
  • Drivers run in Userspace
  • Includes common Unix commands
  • Custom libc written in Rust (relibc)
  • See Redox in Action

from https://redox-os.org/ 

(https://github.com/redox-os/tfs)