System
| Combo | Action |
|---|---|
| Toggle on back | Win / Mac mode switch |
Connection
| Tool | Stars | Symlinks | Copies | Templates | Multi-machine | Dependencies | Complexity |
|---|---|---|---|---|---|---|---|
| chezmoi | 18.5k | No | Yes | Yes (Go) | Yes | Go binary | Medium |
| dotbot | 7.8k | Yes | No | No | Via profiles | Python | Low |
| yadm | 6.2k | No | In-place | Yes | Yes (alts) | Git + Bash | Low |
| rcm | 3.2k | Yes | No | No | Yes (tags) | Shell | Low |
| { | |
| "description": "Use idempotent hotkeys to switch between two keyboard layouts", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "1", | |
| "modifiers": { | |
| "mandatory": ["left_command", "left_option"], | |
| "optional": ["any"] | |
| } |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Diagnostics; | |
| namespace Interpolation | |
| { | |
| /// <summary> | |
| /// Spline interpolation class. |
Create Github access token: https://github.com/settings/tokens
Setup backup tool:
pip3 install github-backup
export GITHUB_BACKUP_TOKEN=ghp_bananabananabananabananabananabanana
export GITHUB_BACKUP_USER=dreikanter
export GITHUB_BACKUP_PATH=~/github-backup/$GITHUB_BACKUP_USERUsage example:
echo "#banana #banana #ololo #un_der-sco_re #по-русски #123" | ./extract_hashtags
#123
#banana
#ololo
#un_der-sco_re
#по-русски| -- hs.hotkey.bind({"cmd", "shift"}, "1", function() | |
| -- hs.keycodes.setLayout("English - Ilya Birman Typography") | |
| -- end) | |
| -- hs.hotkey.bind({"cmd", "shift"}, "2", function() | |
| -- hs.keycodes.setLayout("Russian - Ilya Birman Typography") | |
| -- end) | |
| hs.hotkey.bind({"cmd", "alt"}, "1", function() | |
| hs.keycodes.setLayout("English - Ilya Birman Typography") |
| # Python gzip demo: create and unpack archive | |
| import os | |
| import random | |
| import string | |
| import glob | |
| import tarfile | |
| import shutil | |
| import filecmp |