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 |
dartokloning / .zshrc for macOS
0 likes
0 forks
1 files
Last active
| 1 | # ~/.zshrc - macOS Tahoe / Zsh |
| 2 | |
| 3 | # Hanya jalankan konfigurasi ini pada shell interaktif. |
| 4 | [[ -o interactive ]] || return |
| 5 | |
| 6 | # ----------------------------------------------------------------------------- |
| 7 | # Homebrew (Apple Silicon) |
| 8 | # ----------------------------------------------------------------------------- |
| 9 | if [[ -x /opt/homebrew/bin/brew ]]; then |
| 10 | eval "$(/opt/homebrew/bin/brew shellenv)" |
Newer
Older