Skip to content

Instantly share code, notes, and snippets.

View ygxxii's full-sized avatar

ygXXII ygxxii

View GitHub Profile
## Disable swipe history navigation (--disable-features=OverscrollHistoryNavigation)
# Chrome
defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool false
# Arc
defaults write company.thebrowser.Browser AppleEnableSwipeNavigateWithScrolls -bool false
@ygxxii
ygxxii / volume_media_control.json
Last active May 24, 2022 12:15
Personal Karabiner-Elements Config for HHKB
{
"title": "Double tap volume_decrement/volume_increment to become rewind/fastforward.",
"rules": [
{
"description": "Double tap and hold volume_decrement to become rewind.",
"manipulators": [
{
"conditions": [
{
"name": "volume_decrement pressed",
@ygxxii
ygxxii / Launcher_5_iOS_app-Search_Clipboard.md
Last active October 29, 2020 01:12
Launcher 5 iOS app: Search Clipboard / 搜索剪贴板

App Store:

itms-apps://search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=%7B%7Bclipboard%7D%7D

Google:

https://www.google.com/search?q={{clipboard}}
@ygxxii
ygxxii / markdown.code-snippets
Created May 5, 2019 06:55
Work Journal | 每日日报
{
"journal": {
"prefix": "##",
"body": [
"## $CURRENT_YEAR/$CURRENT_MONTH/$CURRENT_DATE",
"",
"今日工作:",
"",
"1. $0",
"",
@ygxxii
ygxxii / bat.code-snippets
Created April 10, 2019 15:59
Example of VSCode Project level snippets
// Visual Studio Code Project level snippets https://code.visualstudio.com/updates/v1_28#_project-level-snippets
// vscode-bat-snippets/bat.json at master · zf-l/vscode-bat-snippets https://github.com/zf-l/vscode-bat-snippets/blob/master/snippets/bat.json
{
"echo off": {
"prefix": "echooff",
"body": [
"@echo off",
""
],
"description": "Turn command-echoing off",
@ygxxii
ygxxii / markdown_style.less
Last active April 11, 2019 02:59
markdown-preview-enhanced Style
/* Please visit the URL below for more information: */
/* https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */
.markdown-preview.markdown-preview {
// modify your style here
// eg: background-color: blue;
// background-color: #F0F0F0;
background-color: #ffffff !important;
font-family: 'Microsoft YaHei';