Just run the following command in your Terminal to install the Agent:
curl -sSL https://gist.githubusercontent.com/shripadk/9d8db539e3d030579b81763549bb1a20/raw/d12a8ac8bd2941f8d02bc28a6ed5a90c22ef1433/install.sh | sudo bash| let host = window.location.hostname; | |
| // --- Exponential Backoff Configuration --- | |
| const baseRetryDelay = 1000; // Initial delay: 1 second | |
| const maxRetryDelay = 30000; // Maximum delay: 30 seconds | |
| let currentRetryDelay = baseRetryDelay; | |
| let reconnectTimerId = null; // To hold the setTimeout ID | |
| function connect() { | |
| // Clear any pending reconnect timer if connect is called manually or rapidly |
Just run the following command in your Terminal to install the Agent:
curl -sSL https://gist.githubusercontent.com/shripadk/9d8db539e3d030579b81763549bb1a20/raw/d12a8ac8bd2941f8d02bc28a6ed5a90c22ef1433/install.sh | sudo bash| compute_environment: LOCAL_MACHINE | |
| debug: false | |
| distributed_type: 'NO' | |
| downcast_bf16: 'no' | |
| dynamo_config: | |
| dynamo_backend: TENSORRT | |
| dynamo_mode: max-autotune | |
| dynamo_use_dynamic: false | |
| dynamo_use_fullgraph: false | |
| gpu_ids: all |
| /** | |
| MIT License | |
| Copyright 2022 Shripad Krishna <[email protected]> | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
| and associated documentation files (the "Software"), to deal in the Software without restriction, | |
| including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, | |
| subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in all copies or substantial portions |
This is useful for changing the default F4 key that is bound to Spotlight to launch Alfred in macOS Big Sur.
Setup:
~/.config/karabiner/karabiner.json.rules object from below snippet and add it within profiles.complex_modifications.
The basic structure of your karabiner.json file should look something like this:| /** | |
| * Checkbox modifications: | |
| * ----------------------- | |
| * Have added !important only because I am overriding Cybertron. | |
| * You can remove it if you are directly modifying .task-list-item-checkbox. | |
| */ | |
| .markdown-preview-view .task-list-item-checkbox { | |
| top: 2.6px !important; | |
| left: -6.6px !important; | |
| border: 2px solid #fcf601; |
| # espanso configuration file | |
| # This is the default configuration file, change it as you like it | |
| # You can refer to the official documentation: | |
| # https://espanso.org/docs/ | |
| # Matches are the substitution rules, when you type the "trigger" string | |
| # it gets replaced by the "replace" string. | |
| matches: | |
| # Simple text replacement |
| var path = require('path'); | |
| var webpack = require('webpack'); | |
| var WebPackDevServer = require('webpack-dev-server'); | |
| var uglify = new webpack.optimize.UglifyJsPlugin(); | |
| var config = [ | |
| { | |
| entry: ['./src/main.js'], | |
| output: { |
| 01000000010518d85ccd785c2b8272040e9d8af81525444d039b8970fc02c42475c660e1a400000000d700483045022100cc31a4757fb8c271d904f76a09f49e65699804a4b32879a61cd8cc4cada3078202205e0e1110e6dd066562c190b69c09f6b55dccbb85218e7dbeb87dc04013a81206014c8b5121034ccea3bd0a30e05d9065e4a47683ff86c2b735bc24b5abf682c9421563ea764d21024aa0ff5b42d9e4694b6092183952592f657b71f221120ce522fcdc265038ec6b2102f0a18afb3a68d3329bbee1f154bcf4f29aec0185974ec803ac767a259da764e521020b2af507a116fa025f286004c2704004205a5aff5b4dba99fd08ac24ac300cf254aeffffffff01a0860100000000001976a914d8c446e59afac7863e4698f6d4de9d7a45fbd76988ac00000000 |