Skip to content

Instantly share code, notes, and snippets.

@kaktos
kaktos / vscode-settings.json
Created April 3, 2025 01:52
VSCode Python(Ruff extention)
"files.exclude": {
"**/__pycache__": true
},
"[python]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
}
@kaktos
kaktos / mwebx.css
Created July 29, 2021 01:36
preview css for mweb
html {
font-size: 10px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
font-family: "Avenir Next", "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, Song, sans-serif;
/*font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif;*/
font-size: 1.6rem;
color: #2c3f51;
@kaktos
kaktos / .vimrc
Created July 24, 2014 01:29
my vim config
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Vundle Managed Plugins
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()