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
// 90% writen by copilot | |
import fs from 'fs' | |
import path from 'path' | |
const ob_vault_path = "path/to/journals/" | |
const all_journal_files = fs.readdirSync(ob_vault_path).filter(file => file.endsWith('.md')) | |
all_journal_files.forEach(file => { |
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
{ | |
"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
├── 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
{ | |
"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
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
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" |
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 System.ComponentModel.DataAnnotations; | |
using System.ComponentModel.DataAnnotations.Schema; | |
using Microsoft.EntityFrameworkCore; | |
var builder = WebApplication.CreateBuilder(args); | |
// Add services to the container. | |
var connectionString = builder.Configuration.GetConnectionString("DefaultConnection"); | |
builder.Services.AddDatabaseDeveloperPageExceptionFilter(); | |
builder.Services.AddDbContext<TestDb>(options => |
NewerOlder