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
(async () => { | |
// Create a handle to the OPFS root directory | |
const rootHandle = await navigator.storage.getDirectory(); | |
// Function to recursively read all files in the OPFS | |
async function readFiles(directoryHandle, path = '') { | |
let fileContent = ''; | |
for await (const [name, handle] of directoryHandle.entries()) { | |
if (handle.kind === 'directory') { |
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
# update system | |
$ sudo apt update && sudo apt upgrade | |
# uninstall old node (v10?) | |
$ sudo apt remove nodejs npm -y | |
# install nvm | |
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash | |
# use 'unofficial builds' in nvm |
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
@echo off | |
setlocal enabledelayedexpansion | |
set BASE_PATH=%AppData%\Ableton | |
set ABLETON_LIVE_PATH=%ProgramData%\Ableton\Live 12 Lite\Program\Ableton Live 12 Lite.exe | |
set LATEST_VERSION=0 | |
set LATEST_VERSION_PATH= | |
goto :main |
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
set -g mouse on | |
bind-key h swap-pane -t 0 | |
# #!/bin/bash | |
# # util func to send keys to all panes | |
# _tmux_send_keys_all_panes_ () { | |
# for _pane in $(tmux list-panes -F '#P'); do | |
# tmux send-keys -t ${_pane} "$@" |
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
// ==UserScript== | |
// @name Kemal's Youtube Keyboard Shortcut Fix | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-05-17 | |
// @description Fix annoying inconsistent arrow key shortcuts | |
// @author Kemal | |
// @match https://gist.github.com/ozturkkl/0d72d3747fbc5510df981b7c1495f959 | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
// @grant window.onurlchange | |
// @run-at document-idle |