Skip to content

Instantly share code, notes, and snippets.

View fire9's full-sized avatar
🏠
Working from home

fire9 fire9

🏠
Working from home
View GitHub Profile
{"version":1,"resource":"file:///Users/hank/github/vim-config/README.md","entries":[{"id":"qVA2.md","timestamp":1649737181038},{"id":"Tbaw.md","timestamp":1649737409313}]}
@fire9
fire9 / cloudSettings
Last active December 10, 2021 06:19
cloudSettings
{"lastUpload":"2021-12-10T06:19:42.881Z","extensionVersion":"v3.4.3"}

Go编程学习

配置Golang开发环境

环境变量设置

mkdir -p ~/Go/{bin,pkg,src}
# go environment
export GOPATH=$HOME/Go
@fire9
fire9 / vimrc
Created January 31, 2020 08:54
set nocompatible
filetype off
filetype plugin indent on
set ttyfast
set laststatus=2
set encoding=utf-8
set autoread
@fire9
fire9 / Anaconda.sublime-settings
Last active January 17, 2020 07:19
st3settings
{
// "anaconda_linting": false,
// "pep8": false,
"auto_formatting": true,
"autoformat_ignore":
[
"E309",
"E501"
],
"pep8_ignore":
@fire9
fire9 / 搭建Docker Registry私有仓库和Web界面管理服务.md
Last active February 2, 2024 14:54
搭建Docker Registry私有仓库和Web界面管理服务

搭建Docker Registry私有仓库和Web界面管理服务

为啥要搭私有的仓库?

安全,节省带宽,速度快.

什么是Docker Registry?

Docker Registry由三个部分组成:index,registry,registry client 可以把Index认为是负责登录、负责认证、负责存储镜像信息和负责对外显示的外部实现,

# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@fire9
fire9 / vps_init_setup.md
Created March 10, 2018 04:14
vps_init_setup

echo "flow8" > /etc/hostname hostname -F /etc/hostname

echo "106.187.35.226 flow8.net flow8" >> /etc/hosts

sudo apt-get install -y exim4 gem install bundler

[apc] apc.enabled = 1

@fire9
fire9 / motd.txt
Created January 30, 2018 08:42
motd
_oo8oo_
o8888888o
88" . "88
(| -_- |)
0\ = /0
___/'==='\___
.' \\| |// '.
/ \\||| : |||// \
/ _||||| -:- |||||_ \
@fire9
fire9 / yarncommand.md
Created December 27, 2017 15:40
YARN 常用命令

YARN 常用命令

安装 yarn

$ curl -o- -L https://yarnpkg.com/install.sh | bash

yarn 相关命令

$ yarn version