bochsrc

############################################################### # Configuration file for Bochs ############################################################### # how much memory the emulated machine will have megs: 32 # filename of ROM images romimage: file=/usr/local/share/bochs/BIOS-bochs-latest vgaromimage: file=/usr/local/share/bochs/VGABIOS-lgpl-latest # what disk images will be used floppya: 1_44=a.img, status=inserted # choose the boot disk. boot: floppy # where do we send log messages? # log: bochsout.txt # disable the mouse mouse: enabled=0 # enable key mapping, using US layout as default. # keyboard_mapping: enabled=1, map=/usr/local/share/bochs/keymaps/x11-pc-us....

May 26, 2020 · 1 min · zakudriver

clang-format

# .clang-format BasedOnStyle: LLVM Language: Cpp IndentWidth : 2 # 开括号(开圆括号、开尖括号、开方括号)后的对齐: Align, DontAlign, AlwaysBreak(总是在开括号后换行) AlignAfterOpenBracket: Align # 大括号换行,只有当BreakBeforeBraces设置为Custom时才有效 BraceWrapping: # class定义后面 AfterClass: false # 控制语句后面 AfterControlStatement: false # enum定义后面 AfterEnum: false # 函数定义后面 AfterFunction: true # 命名空间定义后面 AfterNamespace: false # ObjC定义后面 AfterObjCDeclaration: false # struct定义后面 AfterStruct: false # union定义后面 AfterUnion: false # catch之前 BeforeCatch: true # else之前 BeforeElse: true # 缩进大括号 IndentBraces: false BreakBeforeBraces: Custom

February 25, 2020 · 1 min · zakudriver

myclirc

# vi: ft=dosini [main] # Enables context sensitive auto-completion. If this is disabled the all # possible completions will be listed. smart_completion = True # Multi-line mode allows breaking up the sql statements into multiple lines. If # this is set to True, then the end of the statements must have a semi-colon. # If this is set to False then sql statements can't be split into multiple # lines. End of line (return) is considered as the end of the statement....

December 10, 2019 · 3 min · zakudriver

vimrc

" .vimrc " Configuration file for vim set modelines=0 " Don't write backup file if vim is being called by "crontab -e" " au BufWrite /private/tmp/crontab.* set nowritebackup nobackup " Don't write backup file if vim is being called by "chpass" " au BufWrite /private/etc/pw.* set nowritebackup nobackup set nobackup set nowritebackup let skip_defaults_vim=1 " <leader> let g:mapleader="," " 去掉有关vi一致性模式,避免以前版本的bug和局限 set nocompatible " 设置退格键可用 set backspace=2 " utf-8 set encoding=UTF-8 " 主题 " set background=dark " colorscheme dracula " 函数方法名加粗 let g:enable_bold_font = 1 " 注释斜体 let g:enable_italic_font = 1 " 透明背景 let g:hybrid_transparent_background = 1 " airline_theme let g:airline_theme = "hybrid" " 行号 set nu!...

June 4, 2019 · 5 min · zakudriver

vscode

{ // editor "editor.fontSize": 14, "editor.snippetSuggestions": "top", "editor.formatOnSave": true, "explorer.confirmDragAndDrop": true, "explorer.confirmDelete": false, "editor.detectIndentation": false, "files.autoSave": "off", // "editor.fontFamily": "'FuraCode', Menlo, Monaco, 'Courier New', monospace", "editor.fontLigatures": true, "workbench.iconTheme": "material-icon-theme", "workbench.colorTheme": "Nebula", // prettier "prettier.printWidth": 120, "editor.tabSize": 2, "prettier.singleQuote": false, "prettier.semi": true, // typescript "typescript.updateImportsOnFileMove.enabled": "always", // emmet "emmet.includeLanguages": { "javascript": "javascriptreact", "typescript": "typescriptreact" }, "emmet.triggerExpansionOnTab": true, // 装饰器 "javascript.implicitProjectConfig.experimentalDecorators": true, // stylus "stylusSupremacy.insertColons": false, // 是否插入冒号 "stylusSupremacy.insertSemicolons": false, // 是否插入分好 "stylusSupremacy....

March 2, 2019 · 2 min · zakudriver