xcode-select --installbrew install protobuf- Check install rust page
git clone https://github.com/atuinsh/atuin.git
xcode-select --installbrew install protobufgit clone https://github.com/atuinsh/atuin.git
| const checks = { | |
| '≥ 2022b (Europe/Kyiv added)': (() => { | |
| try { new Intl.DateTimeFormat('en', {timeZone: 'Europe/Kyiv'}); return true; } | |
| catch(e) { return false; } | |
| })(), | |
| '≥ 2023b (America/Ciudad_Juarez added)': (() => { | |
| try { new Intl.DateTimeFormat('en', {timeZone: 'America/Ciudad_Juarez'}); return true; } | |
| catch(e) { return false; } | |
| })(), | |
| '≥ 2024a (Kazakhstan unified into Asia/Almaty)': (() => { |
| ------------------------------------------------------------------------------------------ | |
| -- Microphone Push-To-Talk | |
| -- Based on original work by timginter @ https://github.com/timginter/hammerspoon-microphone-ptt | |
| ------------------------------------------------------------------------------------------ | |
| local pushToTalk = true | |
| -- PTT key bindings (set to nil to disable) | |
| -- Keyboard: use any name from hs.keycodes.map, e.g. "fn", "f5", "f13", "escape" | |
| -- Run `hs.inspect(hs.keycodes.map)` in the console to see all available names. |
| # Global loading of all files in ~/.pry | |
| begin | |
| Dir["#{File.expand_path("~")}/.pry/*.rb"].each { |file| load file } | |
| rescue StandardError => e | |
| puts "Error loading custom pry files: #{e.message}" | |
| ensure | |
| puts "Custom Pry finish loading." | |
| end |
| import iterm2 | |
| WORKING_DIRECTORY = "/path/to/your/folder" | |
| async def main(connection): | |
| app = await iterm2.async_get_app(connection) | |
| window = app.current_terminal_window | |
| if window is not None: | |
| # Get the current session (pane) |
| function killr(){ | |
| ps -ef | grep puma | awk '{print $2}' | xargs kill -9 >> /dev/null 2>&1 | |
| } |
| if defined?(PryByebug) | |
| Pry.config.pager = false | |
| Pry.commands.alias_command 'c', 'continue' | |
| Pry.commands.alias_command 's', 'step' | |
| Pry.commands.alias_command 'n', 'next' | |
| Pry.commands.alias_command 'e', 'exit' | |
| end |
| #!/usr/bin/env bash | |
| echo "Installing Language Tool server using brew" && | |
| brew install languagetool && | |
| echo "Starting Language Tool Service" && | |
| brew services start languagetool | |
| # install the browser extension from: https://languagetool.org/#firefox_chrome | |
| # Go to extension options > advanced > LanguageTool server > Select "Local server (localhost) - requires LanguageTool server running locally" |