Skip to content

Instantly share code, notes, and snippets.

View liutf's full-sized avatar
:octocat:

liutf liutf

:octocat:
  • Canton , China
View GitHub Profile
@lucasmrdt
lucasmrdt / settings.json
Last active June 19, 2025 00:40
Trae theme for cursor/vscode
{
"workbench.colorTheme": "Default Dark+",
"window.titleBarStyle": "custom",
"editor.scrollbar.vertical": "visible",
"editor.scrollbar.horizontal": "visible",
"editor.scrollbar.verticalScrollbarSize": 8,
"editor.scrollbar.horizontalScrollbarSize": 8,
"breadcrumbs.showFiles": true,
"breadcrumbs.showArrays": false,
"breadcrumbs.showBooleans": false,
@guweigang
guweigang / git_toturial
Last active June 1, 2025 08:59
git命令大全
git init # 初始化本地git仓库(创建新仓库)
git config --global user.name "xxx" # 配置用户名
git config --global user.email "[email protected]" # 配置邮件
git config --global color.ui true # git status等命令自动着色
git config --global color.status auto
git config --global color.diff auto
git config --global color.branch auto
git config --global color.interactive auto
git config --global --unset http.proxy # remove proxy configuration on git
git clone git+ssh://[email protected]/VT.git # clone远程仓库
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active June 19, 2025 14:33
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@oakhole
oakhole / RandomValidateCode.java
Last active January 10, 2018 15:51
生成随机验证码
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.util.Random;
import javax.imageio.ImageIO;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;