Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 157
  1. make

    Usage Build the default target: $ make Build a specific target: $ make <target_name> Makefiles Basic Syntax Common built-in variables: $@ - the name of the target. $< - the name of the first prerequisite. $^ - the names of all prerequisites, with spaces b…

  2. ffmpeg

    Usage Video List streams: $ ffprobe -i <filename> List streams (Blu-ray): $ ffprobe -i bluray:<path_to_dir> Open a media file: $ ffplay <filename> Open a media file with 1:1 crop (useful for comparing the quality of two videos): $ ffplay <filename> -vf cr…

  3. faillock

    faillock is a tool for displaying and modifying the authentication failure record files.

  4. efibootmgr

    efibootmgr is a userspace application used to modify the UEFI Boot Manager.

  5. openSUSE

    Installation Raspberry Pi Download the desired image of openSUSE Leap (look inside appliances directory) or openSUSE Tumbleweed.

  6. kubectl

    Installation openSUSE Create the repository file /etc/zypp/repos.d/kubernetes.repo: [kubernetes] name=Kubernetes baseurl=https://pkgs.k8s.io/core:/stable:/v1.32/rpm/ enabled=1 gpgcheck=1 gpgkey=https://pkgs.k8s.io/core:/stable:/v1.32/rpm/repodata/repomd.x…

  7. zypper

    Usage Refresh the repositories (refresh or ref): # zypper refresh List repositories (repos or lr): # zypper repos Add a repository (addrepo or ar): # zypper addrepo <uri> <alias> Add a repository via .repo file (addrepo or ar): # zypper addrepo <uri>.repo…

  8. minikube

    Installation Prerequirements Install the kubectl first, as you’ll need it anyway.

  9. yay

    Installation Install required packages: # pacman -S --needed git base-devel Clone the git repository with yay binary and install it: $ git clone https://aur.archlinux.org/yay-bin.git $ cd yay-bin $ makepkg -si Done.

  10. Ruby

    rbenv rbenv is a version manager tool for the Ruby programming language on Unix-like systems.

  11. wrangler

    Paths Default Config MacOS: /Users/<username>/Library/Preferences/.wrangler/config/default.toml GNU/Linux: /home/<username>/.config/.wrangler/config/default.toml Logs MacOS: /Users/<username>/Library/Preferences/.wrangler/logs/ GNU/Linux: /home/<username>…

  12. npm

    Usage Install a package: $ npm install <package_name> Note #1: npm installs the package in the node_modules folder within current directory.

  13. RabbitMQ

    Terminology TL;DR: There is producer and consumer.

  14. kitty

    Notes Unlike Tmux, when splitting a terminal window, in Kitty you cannot choose whether to split it vertically or horizontally.

  15. KDE Plasma

    Configuration Integration with browsers To enable browser integration with Plasma, you need to install both native host application and browser extension.

  16. GRUB

    Basics Install GRUB: # grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB Generate/update config: # grub-mkconfig -o /boot/grub/grub.cfg Note: To detect other installed operating systems and automatically add them to the menu, inst…

  17. Gecko (Firefox, LibreWolf, Mullvad)

    Advanced Configuration The advanced configuration settings are set in the about:config.

  18. Python

    Virtual Environments Virtual environments provides a way to manage the packages for each project independently.

  19. Gnome Boxes

    SPICE See SPICE for information on how to install or configure the guest agent.

  20. MPV for macOS

    The goal of this project is to provide a MacOS packages for the latest stable release of mpv.

  21. NTFS

    Manage NTFS under GNU/Linux In order to work with NTFS on GNU/Linux you will need ntfs-3g package.

  22. Valkey (Redis)

    Installation Bare-Metal Set up, update, and secure the server.

  23. Fish

    Syntax Variables Set variable: $ set var_name value Access a variable: $ echo $var_name Erase variable: $ set -e var_name Incrementing: $ set var_name (math $var_name + 1) Decrementing: $ set var_name (math $var_name - 1) Arithmetic: $ echo (math 1 + 2) L…

  24. firejail

    Firejail is a SUID program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces and seccomp-bpf.

  25. pass

    With pass, each password lives inside of a gpg encrypted file whose filename is the title of the website or resource that requires the password.

  26. himalaya

    Usage List accounts: $ himalaya account list Reconfigure existing account: $ himalaya account configure <existing_account_name> Add new account: $ himalaya account configure <new_account_name> List emails: $ himalaya Open an email: $ himalaya message read…

  27. WeeChat

    If you are not sure if you need to know IRC basics, check out XKCD #1782.

  28. distrobox

    The distrobox environment is based on an OCI image.

  29. Podman (Docker)

    Podman is designed to be a better Docker replacement.

  30. helix

    Keyboard Shortcuts Navigation Shortcut Action h, j, k, l Move the cursor : Enter the Command mode Ctrl-f Scroll one page forward Ctrl-b Scroll one page backward Ctrl-d Scroll 1/2 page forward Ctrl-u Scroll 1/2 page backward Home Move to the start of the l…

  31. Vivaldi

    Advanced Configuration UI customization via CSS Go to vivaldi://experiments/ and enable “Allow for using CSS modifications”.

  32. iwctl

    Usage Connect to Wi-Fi network Get an interactive prompt: $ iwctl List all Wi-Fi devices: [iwd]# device list If the device or its corresponding adapter is turned off, turn it on: [iwd]# device <device_name> set-property Powered on [iwd]# adapter <adapter>…

  33. Arch Linux

    Installation The default console keymap is US.

  34. pacman

    Meta package vs package group Both meta package and a package group can be defined by the packager to denote a set of related packages to allow to install or uninstall this set of packages simultaneously by using the meta package or the group name as a su…

  35. fdisk

    Usage Start fdisk: # fdisk /dev/<disk> Use the following commands to perform the desired actions: m - show help. p - print current table. i - get info about selected partition. g - create GPT partition table. o - create MPR partition table. a - make MBR p…

  36. Essential CLI Tools

    ag - a code/text searching tool similar to ack, with a focus on speed. age - a simple, modern and secure file encryption tool, format, and Go library. aria2 - a lightweight multi-protocol & multi-source, cross platform download utility operated in command…

  37. Domains

    DNSSEC DNSSEC, or Domain Name System Security Extensions, is a set of extensions to the DNS that adds a layer of security to prevent certain types of attacks, such as cache poisoning and man-in-the-middle attacks.

  38. MTA-STS

    SMTP MTA Strict Transport Security (MTA-STS) is a mechanism enabling mail service providers (SPs) to declare their ability to receive Transport Layer Security (TLS) secure SMTP connections and to specify whether sending SMTP servers should refuse to deliv…

  39. Anduril

    How to Upgrade the Anduril Firmware for Flashlights Choosing the Right Flashing Kit Depending on your flashlight you may need different kits: If you have 6 pins, you can get a flashing kit directly from Hank Wang.

  40. Privacy 101: Browsers

    [!]

  41. age

    Usage Create a key: $ age-keygen -o /path/to/example.key Create a post-quantum key: $ age-keygen -pq > /path/to/example.key Create a passphrase-protected key: $ age-keygen | age -p > /path/to/example.key.age Encrypt a file with passphrase: $ age -p file.t…

  42. EXIF

    ExifTool Installation Distributions Package name Debian-based libimage-exiftool-perl RHEL-based perl-Image-ExifTool Arch-based perl-image-exiftool How to Remove EXIF Using ExifTool View EXIF: $ exiftool image.jpg Completely remove EXIF: $ exiftool -all= i…

  43. ImageMagick

    Configuration Configure system resources (change values): <policy domain="resource" name="memory" value="8GiB"/> <policy domain="resource" name="map" value="512MiB"/> <policy domain="resource" name="width" value="16KP"/> <policy domain="resource" name="he…

  44. Privacy 101: Android

    Custom Operating Systems GrapheneOS - privacy and security focused mobile Android-based OS developed as a non-profit open source project.

  45. rclone

    Usage Basics Enter an interactive configuration session: $ rclone config Show path of configuration file in use: $ rclone config file Note: By default, configuration file stored at $HOME/.config/rclone/rclone.conf.

  46. git

    Configuration Configure Using CLI Tools Set a name that is identifiable for credit when review version history: $ git config --global user.name “<first_name> <last_name>” Note: remove the --global flag to set settings only for current repo.

  47. SMTP

    Debugging Debug SMTP Server Using telnet Using Telnet to debug email can provide insights into SMTP communication issues and help diagnose problems with email delivery.

  48. Homebrew

    Homebrew (brew) is a free and open-source software package management system that simplifies the installation of software on Apple’s operating system, macOS, as well as Linux.

  49. yt-dlp

    Installation From PyPi (Python Package Index): $ pipx install yt-dlp Usage List available formats: $ yt-dlp --list-formats '<video_url>' Download and merge custom video and audio streams: $ yt-dlp -f 625+140 '<video_url>' Download in best available quality

  50. nmcli

    Usage Check if NetworkManager is running and there’s a connection to Internet: $ nmcli general List all interfaces and their status: $ nmcli -f general List all the available devices: $ nmcli device status List all the available connections: $ nmcli conne…