Skip to content

Instantly share code, notes, and snippets.

View klee1611's full-sized avatar
Working from home

Kourtney Lee klee1611

Working from home
View GitHub Profile
@klee1611
klee1611 / data.json
Created November 24, 2024 19:36
Obsidian Anuppuccin Style Settings
{
"anuppuccin-theme-settings@@anuppuccin-theme-light": "ctp-rosepine-light",
"anuppuccin-theme-settings@@anuppuccin-theme-dark": "ctp-mocha",
"anuppuccin-theme-settings@@anuppuccin-accent-toggle": true,
"anuppuccin-theme-settings@@anuppuccin-theme-accents": "ctp-accent-rosewater",
"anuppuccin-theme-settings@@anp-colorful-frame-opacity": 1,
"anuppuccin-theme-settings@@anp-colorful-frame-color@@dark": "#43BFBA",
"anuppuccin-theme-settings@@anp-colorful-frame-color@@light": "#74B7C4",
"anuppuccin-theme-settings@@anp-callout-toggle": true,
"anuppuccin-theme-settings@@anp-callout-select": "anp-callout-default",
@klee1611
klee1611 / package-lock-conflicts.md
Created January 15, 2024 09:15 — forked from szemate/package-lock-conflicts.md
How to resolve package-lock.json conflicts

How to resolve package-lock.json conflicts

It is not possible to resolve conflicts of package-lock.json in GitHub's merge tool and you need to do a manual merge.

  1. Update the master branch with the latest changes:
    git checkout master
    git pull
    
  2. Merge your feature branch into master:
@klee1611
klee1611 / AutoHotKey.ahk
Last active October 20, 2022 15:12
OSX style keys
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; OSX style keys;
; Taking from post: https://www.autohotkey.com/board/topic/60675-osx-style-command-keys-in-windows/
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; CapsLock switch language
CapsLock::Send, {Alt Down}{Shift Down}{Shift Up}{Alt Up}
;Command-backspace deletes whole line
#BS::Send {LShift down}{Home}{LShift Up}{Del}
@klee1611
klee1611 / sqlite_table_to_csv.sh
Created October 20, 2022 08:55
Dump sqlite table to csv
#!/usr/bin/env bash
DB_FILE=$1
TABLE=$2
if [ -z "$DB_FILE" ] || [ -z "$TABLE" ]; then
echo "Usage: $0 <db_file> <table>"
exit 1
fi
sqlite3 $DB_FILE <<EOF
@klee1611
klee1611 / colored_printing.py
Created May 16, 2022 08:54
[Python] Colored printing
class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKCYAN = '\033[96m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
@klee1611
klee1611 / pip_install.sh
Created October 4, 2021 07:09
Install pip for Python3
#!/usr/bin/env bash
curl -O https://bootstrap.pypa.io/ez_setup.py
python3 ez_setup.py
curl -O https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
@klee1611
klee1611 / zh-tw.toml
Last active September 5, 2021 08:52
Hugo LoveIt theme v0.2.10 i18n traditional Chinese
# Translations for Traditional Chinese
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# === baseof ==
[backToTop]
other = "回到頂端"
[viewComments]
other = "查看評論"
# === baseof ==
@klee1611
klee1611 / tmux.conf
Created April 10, 2018 03:30 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000