Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.
| Action | Windows/Linux | macOS |
|---|---|---|
| New window | Ctrl+Shift+N | Cmd+N |
| Close window | Alt+F4 | Cmd+Shift+W |
| nr() { | |
| node_version=$(node -v) | |
| major=$(echo $node_version | cut -c 2-3) | |
| if [[ $(($major)) -gt 21 ]] | |
| then | |
| echo "node $node_version, using node --run $@ ⚡\n" | |
| node --run $@ | |
| else | |
| echo "node $node_version, using npm run $@\n" | |
| npm run $@ |
| /* Variables */ | |
| :root { | |
| --item-padding: 14px; | |
| --item-title-link-font-weight: bold; | |
| --base03: #002b36; | |
| --base02: #073642; | |
| --base01: #586e75; | |
| --base00: #657b83; | |
| --base0: #839496; | |
| --base1: #93a1a1; |
Note
(2026-06-18) Add 📊Download Progress, 🔁integrity-aware resume (re-fetch missing or changed files), and fast, resumable listing for 📚repos with massive file counts.
(2025-01-08) Add feature for 🏷️Tag(Revision) Selection, contributed by @Bamboo-D.
(2024-12-17) Add feature for ⚡Quick Startup and ⏭️Fast Resume, enabling skipping of downloaded files, while removing the git clone dependency to accelerate file list retrieval.
Considering the lack of multi-threaded download support in the official huggingface-cli, and the inadequate error handling in hf_transfer, This command-line tool leverages curl and aria2c for fast and robust downloading of models and datasets.
These are manual instructions on enabling SSH access on your Steam Deck, adding public key authentication, and removing the need for a sudo password for the main user (deck).
This gist assumes the following:
ssh, ssh-keygen, and ssh-copy-idNOTE: @crackelf on reddit mentions that steamOS updates blow away everything other than /home, which may have the following effects:
systemd config for sshd.service, which would prevent the service from automatically starting on bootsudoers.d config, which would reenable passwords for sudoI use pandoc to convert masses of Word documents to markdown. Still working on a generic script, but for now here's the "gist" of what I type into the terminal:
$ myfilename="example"
$ pandoc \
-t markdown_strict \
--extract-media='./attachments/$myfilename' \
$myfilename.docx \| import psutil | |
| import platform | |
| from datetime import datetime | |
| def get_size(bytes, suffix="B"): | |
| """ | |
| Scale bytes to its proper format | |
| e.g: | |
| 1253656 => '1.20MB' |
| # SOURCES | |
| # https://starship.rs/config | |
| # https://starship.rs/presets/nerd-font.html#configuration | |
| # DEBUG via: | |
| # starship explain | |
| # STARSHIP_LOG=trace | |
| "$schema" = 'https://starship.rs/config-schema.json' |
Folks, Leave me a comment / URL if something you like is missing!
| Resource | Description |
|---|---|
| Kube Academy | https://kube.academy/ |
| kuernetes-101 | https://kube.academy/courses/kubernetes-101/ |
| Docs Home | https://kubernetes.io/docs/home/ |
| CKS CKA CKAD Simulator | https://killer.sh/ |
| #!/usr/bin/env python | |
| # -*- coding: UTF-8 -*- | |
| import os, sys | |
| import json | |
| import logging | |
| import traceback | |
| import psutil | |
| import time | |
| import preprocess_error |