cd $HOME\.config\emacs
git pull
rm -rf .local
.\bin\doom installEmacs 起動して
cd $HOME\.config\emacs
git pull
rm -rf .local
.\bin\doom installEmacs 起動して
| { | |
| "permissions": { | |
| "allow": [ | |
| "Bash(npm:*)", | |
| "Bash(npx tsc:*)", | |
| "Bash(pnpm:*)", | |
| "Bash(bun:*)", | |
| "Bash(deno:*)", | |
| "Bash(uv:*)", | |
| "Bash(git add:*)", |
| #!/bin/bash | |
| set -e | |
| if [ $# -ne 1 ]; then | |
| echo "Usage: $0 <github-tree-url>" | |
| exit 1 | |
| fi | |
| url=$1 |
| digraph G { | |
| rankdir=LR; | |
| splines=ortho; | |
| nodesep=0.5; | |
| ranksep=1.0; | |
| fontname="Helvetica,Arial,sans-serif"; | |
| node [ | |
| fontname="Helvetica,Arial,sans-serif", | |
| shape=box, |
2024年末時点での自分のお金周りの流れやポイ活について整理しておきます
| // ==UserScript== | |
| // @name netflix rewind advance | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2024-11-28 | |
| // @description netflix で z,x キーで巻き戻し、早送りする | |
| // @author hush_in | |
| // @match https://www.netflix.com/watch/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=netflix.com | |
| // @grant none | |
| // ==/UserScript== |
| function generateMyActivityURLJST(date) { | |
| const startDate = new Date(`${date}T00:00:00+09:00`); | |
| const endDate = new Date(`${date}T23:59:59+09:00`); | |
| // ミリ秒単位のタイムスタンプをマイクロ秒に変換 | |
| const min = startDate.getTime() * 1000; | |
| const max = endDate.getTime() * 1000 + 999999; | |
| // Google My Activity の URL を生成 | |
| const url = `https://myactivity.google.com/myactivity?min=${min}&max=${max}`; |
| // ==UserScript== | |
| // @name Remove UTM and fbclid Parameters | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.3 | |
| // @description Remove UTM and fbclid parameters from URL and navigate to clean URL | |
| // @author hushin | |
| // @match *://*/* | |
| // @grant none | |
| // ==/UserScript== |
| #!/bin/bash | |
| GITHUB_TOKEN="ghp_xxx" | |
| CLONE_DIR="${HOME}/backup/gist" | |
| # Function to clone or update a Gist | |
| clone_or_update_gist() { | |
| gist_url=$1 | |
| gist_description=$2 | |
| gist_id=$(basename "$gist_url") |
| ; REMOVED: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| #Requires AutoHotkey v2.0 | |
| #Warn ;Enable warnings to assist with detecting common errors. | |
| #SingleInstance force | |
| InstallKeybdHook() | |
| #WinActivateForce | |
| #UseHook | |
| SendMode("Input") ; Recommended for new scripts due to its superior speed and reliability. | |
| SetWorkingDir(A_ScriptDir) ; Ensures a consistent starting directory. | |
| DetectHiddenWindows(true) |