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 $@ |
Note
(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.
| 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 |
| # See https://gitlab.com/richardskumat/ansible-role-client-debian-role/-/blob/master/.gitlab-ci.yml | |
| image: qwe1/dind-ansible-molecule:latest | |
| variables: | |
| # DOCKER_HOST: tcp://docker:2375/ | |
| DOCKER_DRIVER: overlay2 | |
| # https://gitlab.com/gitlab-org/gitlab-ce/issues/64959 | |
| # 19.03 had some breaking changes compared to 18.09 | |
| DOCKER_TLS_CERTDIR: "" | |
| services: |
| Github.com ui .currently does not natively supoport search for multiple topic tags as of now. However their api allows you to query multiple tags. Below is a simple example to query github.com with ecs and go topic tags. | |
| curl -H "Accept: application/vnd.github.mercy-preview+json" \ | |
| https://api.github.com/search/repositories?q=topic:ecs+topic:go | |
| Response from the github can be rather verbose so lets filter only relavant info such repo url and description. | |
| curl -H "Accept: application/vnd.github.mercy-preview+json" \ | |
| https://api.github.com/search/repositories\?q\=topic:ecs+topic:go | jq '.items[] | {url:.url, description:.description}' |