dartokloning / Install Nerd-Fonts
0 likes
0 forks
1 files
Last active
Nerd Fonts patches developer targeted fonts with a high number of glyphs (icons). Specifically to add a high number of extra glyphs from popular ‘iconic fonts’ such as Font Awesome, Devicons, Octicons, and others.
| 1 | #!/usr/bin/env bash |
| 2 | set -Eeuo pipefail |
| 3 | |
| 4 | DEST='/usr/local/share/fonts/nerd-fonts' |
| 5 | API='https://api.github.com/repos/ryanoasis/nerd-fonts/releases/latest' |
| 6 | |
| 7 | if [[ ! -t 0 ]]; then echo 'Jalankan secara interaktif di terminal.' >&2; exit 1; fi |
| 8 | if [[ $EUID -eq 0 ]]; then echo 'Jalankan sebagai user biasa (tanpa sudo); script akan meminta sudo saat perlu.' >&2; exit 1; fi |
| 9 | for cmd in curl python3 tar find mktemp sudo fc-cache; do |
| 10 | if ! command -v "$cmd" >/dev/null 2>&1; then |
dartokloning / Install Wi-Fi on Debian
0 likes
0 forks
1 files
Last active
| 1 | #!/usr/bin/env bash |
| 2 | # Adaptive Wi-Fi installer for Debian 12/13 (PCI and USB). |
| 3 | # v0.2.0 - automatic, logged Debian APT component configuration. |
| 4 | # Usage: sudo bash install-wifi.sh [--dry-run] [--force] |
| 5 | set -Eeuo pipefail |
| 6 | export DEBIAN_FRONTEND=noninteractive |
| 7 | DRY=0; FORCE=0 |
| 8 | for arg in "$@"; do case "$arg" in --dry-run) DRY=1;; --force) FORCE=1;; -h|--help) echo 'Usage: sudo bash install-wifi.sh [--dry-run] [--force]'; exit 0;; *) echo "Unknown argument: $arg" >&2; exit 2;; esac; done |
| 9 | log(){ printf '[wifi] %s\n' "$*"; } |
| 10 | warn(){ printf '[wifi] WARNING: %s\n' "$*" >&2; } |
dartokloning / Three Finger Drag
0 likes
0 forks
1 files
Last active
Scripts to install three finger dragging on trackpad, like on Mac OS X laptops.
| 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # Universal Three-Finger Drag Installer |
| 4 | # Debian 13 / Ubuntu and other Debian-based distributions |
| 5 | # Desktop-independent: Xfce, KDE Plasma, GNOME, LXQt, Cinnamon, etc. |
| 6 | # Supports X11 and Wayland. |
| 7 | # |
| 8 | # Project: |
| 9 | # https://github.com/lmr97/linux-3-finger-drag |
| 10 | # |
dartokloning / Check hash file in Windows
0 likes
0 forks
1 files
Last active
Put this in your Environment Path of your windows and run with command: hash <filename> <cryptographic>. Example: hash .\refurbished_furniture.common.mixins.json sha384
| 1 | param( |
| 2 | [Parameter(Mandatory = $true, Position = 0)] |
| 3 | [string]$File, |
| 4 | |
| 5 | [Parameter(Mandatory = $false, Position = 1)] |
| 6 | [ValidateSet("MD5", "SHA1", "SHA256", "SHA384", "SHA512")] |
| 7 | [string]$Algorithm = "SHA384" |
| 8 | ) |
| 9 | |
| 10 | if (-not (Test-Path -LiteralPath $File -PathType Leaf)) { |
dartokloning / Install Synology Prompt Style
0 likes
0 forks
1 files
Last active
| 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # install-synology-prompt.sh |
| 4 | # |
| 5 | # Universal installer for Synology SysAdmin Prompt. |
| 6 | # |
| 7 | # ------------------------------------------------------------------------------- |
| 8 | # USAGE |
| 9 | # ------------------------------------------------------------------------------- |
| 10 | # |
dartokloning / Synology Prompt Style
0 likes
0 forks
1 files
Last active
| 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # synology-prompt.sh |
| 4 | # |
| 5 | # Universal Powerline-style SysAdmin prompt for Synology DSM. |
| 6 | # |
| 7 | # Features: |
| 8 | # - No external prompt framework required |
| 9 | # - Nerd Font / Powerline icons |
| 10 | # - User and hostname |
dartokloning / Cross-platform DHCP Scope Monitoring Utility
0 likes
0 forks
1 files
Last active
| 1 | #requires -Version 7.0 |
| 2 | <# |
| 3 | .SYNOPSIS |
| 4 | Universal DHCP Scope Monitoring Utility |
| 5 | |
| 6 | .DESCRIPTION |
| 7 | Cross-platform DHCP monitoring utility for: |
| 8 | - Windows |
| 9 | - macOS |
| 10 | - Linux (including Debian) |
dartokloning / Debian Post Installation
0 likes
0 forks
1 files
Last active
Debian Post Installation
| 1 | #!/bin/bash |
| 2 | # |
| 3 | # debian-post-install.sh |
| 4 | # |
| 5 | # Bootstrap Debian fresh install: |
| 6 | # - sudo + add user to sudo group |
| 7 | # - vnStat |
| 8 | # - Vim |
| 9 | # - sync global .bashrc / shell prompt / Fastfetch config |
| 10 | # - UFW firewall |
dartokloning / Fastfetch config for macOS
0 likes
0 forks
1 files
Last active
| 1 | { |
| 2 | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
| 3 | |
| 4 | "display": { |
| 5 | "separator": ": ", |
| 6 | "showErrors": false |
| 7 | }, |
| 8 | |
| 9 | "modules": [ |
| 10 | "title", |
dartokloning / Sync .zshrc for all users
0 likes
0 forks
1 files
Last active
| 1 | #!/bin/bash |
| 2 | # |
| 3 | # sync-zshrc-all.sh |
| 4 | # |
| 5 | # Sinkronisasi konfigurasi Zsh GLOBAL untuk macOS dari Gist. |
| 6 | # |
| 7 | # Remote Gist: |
| 8 | # .zshrc -> /usr/local/etc/global-zshrc.zsh |
| 9 | # shell-prompt.zsh -> /usr/local/etc/shell-prompt.zsh |
| 10 | # config.jsonc -> /usr/local/etc/fastfetch/config.jsonc |
Newer
Older