Commit Graph

65 Commits

Author SHA1 Message Date
ff8ac21424
[dev] refactor log.py -> logger.sh (#32)
* update.sh: fetch will prune

* log: use hostname directly

* refactor log.py to logger.sh (#31)

* logger.sh: refactor log.py to bash script

* update.sh use beacon; ci test beacon

* install.sh: install dep first

* install.sh: DFS_UPDATED_RET=85

* more beacon; use stderr

* remove py3 dep

* install.sh: remove py3

* install.sh: -s|--secure

* async log; beacon add sys.login

* update use sync beacon

* fix ci minor bug; macos: uuidgen/e2fsprogs

* logger.sh: not need to use uuid5

* bug fix

* dfs err_return

* common.sh: post_log and post_beacon will check #args

* bug fix

* zshrc: fix locale when C.UTF-8 not exists

* WIP: combine install -a and tools/ scripts

* finish combination; get_os_name; macos.sh

* test.ci: now all use -a to install deps

* bug fix

* bug fix; ci: install.sh run with -x

* install.sh: bug fix that re-run install.sh after updated needs orgin args

* format

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-12-03 20:37:20 +08:00
56e2b217eb
[dev] dfs config; trash (#30)
* install.sh: fix install dep

* update.sh: alternative channel 'dev'

* zshrc: dfs config

* lint: remove endline \

* if trash, disable rm

* update.sh: fallback to main if dev not exists

* bug fix

* to-install.sh; v2ray -> v2fly

* gitconfig: quotepath=false

* git log using iso date; dfs vversion
2022-11-24 20:51:35 +08:00
f39193f28f
[core] parse func; gbes; .config/dotfiles/env (#29)
* common.sh: arg parse init

* bug fix

* bug fix

* bug fix. now common.sh won't parse arg autoly

* improve git-branches

* improve git-branches; util-linux

* accelerate ci

* improve gbes; PARSE_ARG_RET

* ci: fix gbes

* ssh: add key ltp1.bd

* Revert "ssh: add key ltp1.bd"

This reverts commit c2433a0549.

* install column; apt -> apt-get

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-11-17 20:02:35 +08:00
c354f980bb
WIP: piv fix (#28)
* piv logi fix

* dogo: $DFS

* snasp; doll: $2 for the name

* DFS_UPDATE_CHANNEL?

* git-branches

* ci: git-branches

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-11-15 22:18:16 +08:00
3ce5a7ade8
zshrc: key bindings and piv-agent (#27)
* piv-agent; macos key bindings; doll fix

* ci: piv-agent
2022-11-15 01:28:38 +08:00
6e33fc0875
scripts: docker scripts (#26)
* dogo/doll

dogo supports zsh/bash/sh; doll is introduced to launch a new docker
container; update $SUDO in command.sh

* update ci

* fix regex

* dogo: enhance, support -[0-9]*

* dogo&doll: enhanced

* zshrc: sibd and sob
2022-11-14 01:37:48 +08:00
995899f3a3
install.sh: rerun when updated (#25)
* install.sh: rerun when updated

* update ci
2022-11-12 20:05:29 +08:00
9a7f0b1b06
install.sh: support combined options (#24)
* install.sh: support combined short options

* ci: use combined opt

* debug

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-11-11 10:36:50 +08:00
300b3a29b7
install.sh: cmake, less, and -l=DFS_LITE (#23)
* install.sh: cmake and less

* install.sh: -l=DFS_LITE

* ci: support -l=DFS_LITE

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-11-09 23:19:55 +08:00
6dce3cfa18
install.sh: autodep, improve note (#22)
* install.sh: --auto

* ci: test --auto

* ci: remove dep when test --auto

* debug

* ok. improve the install notes
2022-11-08 22:58:17 +08:00
5b00add073
[core] update (#21)
* vim quiet install

* do not set LESS

* gitconfig and envs
2022-11-06 14:00:25 +08:00
b191403798
ssh: add ip14 (#20) 2022-11-06 02:29:52 +08:00
b6ff4116c8
[refactor] clean, readable (#19)
* rebase zshrc, introduce DFS_NO_WALL

* improve ci

* improve ci

* improve ci

* update antigen url for DFS_NO_WALL

* OK

* improve ci for macos

* improve test.zsh

* staged

* fix ci

* fix ci

* use local vars

* introduce DFS_QUIET

* mass mod install.sh

* minor change

* set DFS_DEV=1 to prevent update

* debug: done -> fi

* fix DFS_DEV

* ubuntu.sh: set-mirror (ref: tuna)

* preinstall_check

* install.sh: -q to be quiet

* install.sh: -d to DFS_DEV

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-11-05 19:45:21 +08:00
0739410aef
git: push.autoSetupRemote=true (#18) 2022-10-28 12:59:12 +08:00
9778c69d78
degrade log 403 to warning (#17) 2022-10-27 22:57:53 +08:00
83695d48fb
fix update & docker notify (#16)
* update.sh improve
* docker notify
2022-10-27 01:16:45 +08:00
5bd6d9f822
vim: backspace fix (#15)
vim backspace fix
2022-09-01 23:22:18 +08:00
3421d27be9
ci: hotfix (#14)
hotfix
2022-08-28 21:07:10 +08:00
18dfca5f39
ci: better structure (#13)
* struct ci; staged

* seems good

* ci try macos

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug
2022-08-28 20:51:44 +08:00
fa737d482f
ci: init ci (#12)
* test.yml init

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug
2022-08-27 01:42:15 +08:00
8782121dcc
struct: standard file structure (#11)
* mass change. staged, not tested

* still mass changed without test

* bug fix

* bug fix
2022-08-26 20:43:00 +08:00
f313a6887e
zshrc: ls multisystem fix (#10)
1. alias l according to the local os type
2. ci sync triggered by all branches
2022-08-25 00:23:29 +08:00
7804f196b4
ci: sync fzf (#9)
* ci: sync fzf

* tools/install.sh update fzf
2022-08-20 14:24:52 +08:00
c834980b29
Dev (#8)
* use update.sh to update safely

* add unknown command "version". available: update, force-update, reset, cd and replace tabs with spaces

* bug fix

* bug fix

* uninstall will rm update.sh

* new force-update

* bug fix

* remove thefuck

just use `pls`

* init post-log.py

* update uuid filepath

* update.sh will post log

* dfs log

* bug fix

* bug fix

* use logging

* logging format

* bug fix

* standarlize the config path

* bug fix

* add ssh key: ltp2
2022-08-14 20:34:18 +08:00
bbeffe3313
Update authorized_keys2 2022-07-23 02:09:01 +08:00
22e257d309
Update authorized_keys2 2022-07-19 01:09:58 +08:00
c04a472500
Update authorized_keys2
delete 9d key
2022-07-17 14:18:42 +08:00
3dc919bd42
Update authorized_keys2
old server do not accept expiry-time cfg
2022-07-17 14:06:33 +08:00
e909ab0580
edit sshkey 2022-07-17 12:13:26 +08:00
f15d9f2f37
Update authorized_keys2 2022-07-16 17:23:42 +08:00
aa32e20b66
Update authorized_keys2 2022-07-16 16:29:02 +08:00
203d1f9196
Update authorized_keys2 2022-07-16 16:10:02 +08:00
1d32518ab6
Update authorized_keys2 2022-07-16 15:27:38 +08:00
f5cb7dca97
Update authorized_keys2 2022-07-16 11:57:23 +08:00
23c552aed1
Update authorized_keys2 2022-07-16 00:59:52 +08:00
a0b7651133
Update authorized_keys2 2022-07-14 09:39:52 +08:00
7ded9dea47
Update authorized_keys2 2022-07-13 18:15:12 +08:00
f289009506
Update authorized_keys2 2022-07-13 01:24:15 +08:00
0b1dfc4ecf
dogo; better ls 2022-06-02 16:03:36 +08:00
65546ae452
better mouse scrolling 2022-05-31 13:58:36 +08:00
439ef015e5
Dev (#7)
* install more packages

* msys2/unzip

* l show better time; vim return to the last position
2022-05-25 20:00:43 +08:00
5de5acc6c4
git config --global core.editor vim 2022-05-25 19:58:22 +08:00
6e5d0290e0
fine. let's use gitee, instead of fastgit 2022-05-22 18:07:50 +08:00
adc42b5f6a
bug fix 2022-05-22 13:50:39 +08:00
4997b6c136
use 256colour; more syncs to gitee 2022-05-22 13:49:08 +08:00
0666003a7b
mirror tpm and resurrect 2022-05-22 13:23:41 +08:00
c8cf824e62
Dev (#6)
* .gitconfig; tools/alpine.sh; mkdir -p when install; restruct ubuntu.sh

* spelling

* tpm requires make; set-tz; lemonbench

* ANTIGEN_EXCLUDE

* dfs force-update
2022-05-22 00:53:55 +08:00
d5bf057e65
Dev (#5)
* better check if a cmd exists
2022-05-21 02:57:20 +08:00
e247588a51
Dev (#4)
* .vimrc2; tmux disable mouse default

* use vundle; vundle and tpm autoinstall&config

* move tpm&vundle install to install.sh

* minor color fixes in install.sh
2022-05-21 01:59:56 +08:00
ada575bb9b
Dev (#3)
* init tools tools/ubuntu.sh

* init tools/install.sh and adding ssh to tools/ubuntu.sh

* more in tools/install.sh; .tmux.conf

* ping alias

* tmux customization; tpm auto install; zsh key binding for HOME and END; .gitignore .zwc

* ubuntu.sh: gcc g++ cmake
2022-05-20 17:34:21 +08:00