Purpose: Backup a full disk from server to client using dd and netcat.
sudo dd if=/dev/vda bs=64K conv=noerror,sync status=progress | nc -l -q1 -p9000| import { createConfigForNuxt } from '@nuxt/eslint-config/flat' | |
| export default createConfigForNuxt( | |
| { | |
| features: { | |
| stylistic: { | |
| semi: false, | |
| indent: 2, | |
| quotes: 'single', | |
| }, |
| const IL2CPPLIB = 'libil2cpp.so' | |
| const TOLUALIB = 'libtolua.so' | |
| // $ nm --demangle --dynamic libfoo.so | grep "Class::method(" | |
| // nm --gD libcocos2djs.so | grep _ZN7cocos2d9FileUtils13decodeGsnDataEPhli | |
| var baseAddress = null | |
| var luaState = ptr(0x7561203378) | |
| var luaL_loadbufferPtr = ptr(0x7557d5092c) | |
| var lua_pcallPtr = ptr(0x7557d46a04) |
| { | |
| //#region Editor | |
| "window.commandCenter": false, | |
| "workbench.colorTheme": "Default Dark+", | |
| "explorer.confirmDelete": false, | |
| "explorer.confirmDragAndDrop": false, | |
| "explorer.enableDragAndDrop": false, | |
| "explorer.autoReveal": true, | |
| "editor.tabSize": 2, | |
| "editor.dragAndDrop": false, |
| git clean -xfd | |
| git submodule foreach --recursive git clean -xfd | |
| git reset --hard | |
| git submodule foreach --recursive git reset --hard | |
| git submodule update --init --recursive |
| " Plugin {{{ | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'christoomey/vim-tmux-navigator' | |
| Plug 'scrooloose/nerdtree' | |
| Plug 'jistr/vim-nerdtree-tabs' | |
| Plug 'Xuyuanp/nerdtree-git-plugin' | |
| Plug '/home/linuxbrew/.linuxbrew/opt/fzf' | |
| Plug 'junegunn/fzf.vim' | |
| Plug 'vim-airline/vim-airline' | |
| Plug 'vim-airline/vim-airline-themes' |
| set lines+=1 | |
| let s:is_cmdline_open = 0 | |
| function! s:cmdline(key) | |
| if a:key ==# ':' | |
| if !s:is_cmdline_open | |
| let &lines-=1 | |
| let s:is_cmdline_open = 1 | |
| redraw | |
| endif |
| [sakura] | |
| colorset1_fore=rgb(211,215,207) | |
| colorset1_back=rgb(30,39,46) | |
| colorset1_curs=rgb(255,255,255) | |
| colorset1_key=F1 | |
| colorset2_fore=rgb(211,215,207) | |
| colorset2_back=rgba(38,38,38,0.99) | |
| colorset2_curs=rgb(255,255,255) | |
| colorset2_key=F2 | |
| colorset3_fore=rgb(192,192,192) |
| Host * | |
| StrictHostKeyChecking no | |
| UserKnownHostsFile /dev/null |