This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ./hugox test-ok-dd title-of-post catalog | |
cd ~/repos/blog | |
zh=$2 | |
path=`hugo new posts/$1.md | cut -f1 -d" "` | |
echo $path | |
sed -i '' "s|\".*\"|\"${zh}\"|" $path | |
sed -i '' '5i\ | |
tags: [""] | |
' $path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.OpenApi.Any; | |
using Microsoft.OpenApi.Extensions; | |
using Microsoft.OpenApi.Interfaces; | |
using Microsoft.OpenApi.Models; | |
using NetTopologySuite.Features; | |
using NetTopologySuite.Geometries; | |
using Swashbuckle.AspNetCore.SwaggerGen; | |
namespace hello.Common; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"request": [ | |
{ | |
"enable": true, | |
"name": "bing-cn-to-www", | |
"ruleType": "redirect", | |
"matchType": "prefix", | |
"pattern": "https://cn.bing.com", | |
"exclude": "", | |
"group": "bing-redirect", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Change caps_lock to Esc and Control", | |
"rules": [ | |
{ | |
"description": "Post Esc if Caps is tapped, Control if held.", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_control", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"username": "yuhangch", | |
"theme": { | |
"backgroundColor": "#121317", | |
"windowColor": "#1e212b", | |
"glowColor": "#6b5cb157", | |
"white": "#e2e2e2", | |
"gray": "#97989d", | |
"black": "#16161e", | |
"red": "#ec6183", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# <xbar.title>ETH Gas Price</xbar.title> | |
# <xbar.version>v2.0.1</xbar.version> | |
# <xbar.author>Biran Yucel</xbar.author> | |
# <xbar.author.github>biranyucel</xbar.author.github> | |
# <xbar.desc>ETH GasPrice forecast system.</xbar.desc> | |
# <xbar.image>https://i.imgur.com/f1hPKO2.png</xbar.image> | |
# <xbar.abouturl>https://ethgasstation.info/</xbar.abouturl> | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
├── Anki.app | |
├── ApiPost7.app | |
├── AppCleaner.app | |
├── AuroraEditor.app | |
├── BaiduNetdisk_mac.app | |
├── Bear.app | |
├── Brave Browser.app | |
├── ClashX.app | |
├── CodeEdit.app | |
├── DiffusionBee.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapleader = ";" | |
set relativenumber | |
set number | |
set easymotion | |
set showmode=true | |
set ideajoin | |
set ic | |
" set noic | |
set hls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "optional-symbol-replace", | |
"rules": [ | |
{ | |
"description": "option + qwertyuiop to shift + 1234567890", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "q", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\background\shell\mpv] | |
@="Play all with mpv" | |
[HKEY_CLASSES_ROOT\Directory\background\shell\mpv\command] | |
@="\"C:\\Program Files\\mpv\\mpv.exe\" \"%V\\*\"" | |
[HKEY_CLASSES_ROOT\Directory\shell\mpv] | |
@="Play all with mpv" |
NewerOlder