Run this command to disable it
# Disables it immediately
launchctl bootout "gui/$(id -u "${USER}")/com.apple.rcd"
# Prevents reactivating on restart
launchctl disable "gui/$(id -u "${USER}")/com.apple.rcd"To revert to the default behavior
Run this command to disable it
# Disables it immediately
launchctl bootout "gui/$(id -u "${USER}")/com.apple.rcd"
# Prevents reactivating on restart
launchctl disable "gui/$(id -u "${USER}")/com.apple.rcd"To revert to the default behavior
| import _set from 'lodash/set' | |
| export const set = < | |
| Obj extends UnknownObject, | |
| KeyPath extends Path<Obj>, | |
| Value extends PathValue<Obj, KeyPath> | |
| >( | |
| obj: Obj, | |
| path: KeyPath, | |
| value: Value |
| export type RequireAtLeastOne<T> = { | |
| [K in keyof T]-?: Required<Pick<T, K>> & Partial<Omit<T, K>> | |
| }[keyof T] | |
| /** | |
| * This is to make Omit works correctly with union type. | |
| * For example, | |
| * type A = { | |
| * key1: 'A' | |
| * key2: string |
| set number relativenumber | |
| set multiple-cursors | |
| set easymotion | |
| set surround | |
| set sneak | |
| set ideajoin | |
| set ReplaceWithRegister | |
| set commentary | |
| " Remap multiple-cursors shortcuts to match terryma/vim-multiple-cursors |
brew install blueutilblueutil --paired
# address: 3c-a6-f6-b9-c6-c7, connected (master, 0 dBm), not favourite, paired, name: "Magic Trackpad", recent access date: 2022-05-30 2:41:17 PM +0000
| -- This is v0.7 of the custom script for AlfredApp for iTerm 3.1.1+ | |
| -- created by Sinan Eldem www.sinaneldem.com.tr | |
| on alfred_script(q) | |
| if application "iTerm2" is running or application "iTerm" is running then | |
| run script " | |
| on run {q} | |
| tell application \"iTerm\" | |
| activate | |
| try |
| { | |
| "title": "VIM arrows", | |
| "rules": [ | |
| { | |
| "description": "fn + h j k l to arrow keys", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "h", |
| for aptx: | |
| sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true | |
| for AAC: | |
| sudo defaults write bluetoothaudiod "Enable AAC codec" -bool true | |
| for verification: | |
| sudo defaults read bluetoothaudiod |
| # add before prompt_pure_preprompt_render | |
| prompt_node_npm() { | |
| local nodeVersion=`node --version | sed -e "s/v//g"` | |
| local yarnVersion=`yarn --version` | |
| preprompt_parts+="%F{green}⬢%f $nodeVersion 📦 $yarnVersion" | |
| } | |
| ## add below | |
| ## Git pull/push arrows. | |
| # if [[ -n $prompt_pure_git_arrows ]]; then |
| function getName() { | |
| return getNameElement().textContent | |
| } | |
| function getNameElement() { | |
| return document.querySelector('#_chat_header_area h1') | |
| } | |
| function copyText(text) { | |
| const inputId = 'copy-input' |