Skip to content

wusphinx/DevTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

44c58a6 · Aug 26, 2022

History

18 Commits
Aug 26, 2022
Feb 8, 2020
Jan 31, 2020
Aug 26, 2022
Feb 26, 2020

Repository files navigation

开发工具

工欲善其事,必先利其器!

导航
rust

缘由

服役才三年的MacBook Pro面临不够用的囧境,临时征用一台Windows电脑用又是各种不适应,无奈之下租用阿里云作为开发环境,先前趁手的工具又需要重新上网查询安装,各种重复工作,于是乎萌生了开坑收集开发工具的想法,终极目标是打造一个可灵活定制的开发工具集,以轻量级虚拟机镜像的形式打包,以便于分享,当然,最重要的是要好用。

minikube

minikube start --image-mirror-country cn --iso-url=https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.6.0.iso  --image-repository registry.cn-hangzhou.aliyuncs.com/google_containers --vm-driver=none

zsh

用过才知道它的好

apt-get install zsh

既然用zsh,怎么可以少了oh-my-zsh

wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh

docker

曾经java说一次编译到处运行,后来才知道docker才真正实现了这一点,开发必备

$ sudo apt-get update

$ sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common

$ curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg | sudo apt-key add -

$ sudo add-apt-repository \
   "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu \
   $(lsb_release -cs) \
   stable"

multipass

Virtualbox太重?是时候试试轻量级虚拟机:multipass

sudo snap install multipass --classic

for macOS

brew cask install multipass

http.server

都2020年了,当然用python3

python -m http.server

配置golang模块代理

$ go env -w GO111MODULE=on
$ go env -w GOPROXY=https://goproxy.cn,direct

私有代码仓库不走代理

$ go env -w GONOPROXY="your.githlab.cn"

私有代码仓库支持go get

$ git config --global url."git@your.githlab.cn:".insteadOf "http://your.githlab.cn/"

alias rm="rmtrash"

有没有过rm后痛心疾首的经历,没有也没关系,加上这条命令保平安

awesome command

  • 创建所有用户均有rwx权限的目录 mkdir –pm777 DirM

json to go struct

有没有遇到过这种场景:手握一推json数据,字段不少,层级也多,需要将这些json数据转换为Golang结构体,写起来还真是麻烦的紧,不过没关系, 已有不少人碰到到这个问题,json-to-go一定能够帮到你!

想以图片的形式分享代码?还要美观,carbon可以满足你

image

在学习算法的时候,有些概念是非常抽象的,这个网站将抽象的算法模型图像化,以便于理解。

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published