Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
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…
-
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…
-
faillock is a tool for displaying and modifying the authentication failure record files.
-
efibootmgr is a userspace application used to modify the UEFI Boot Manager.
-
Installation Raspberry Pi Download the desired image of openSUSE Leap (look inside appliances directory) or openSUSE Tumbleweed.
-
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…
-
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…
-
Installation Prerequirements Install the kubectl first, as you’ll need it anyway.
-
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.
-
rbenv rbenv is a version manager tool for the Ruby programming language on Unix-like systems.
-
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>…
-
Usage Install a package: $ npm install <package_name> Note #1: npm installs the package in the node_modules folder within current directory.
-
Terminology TL;DR: There is producer and consumer.
-
Notes Unlike Tmux, when splitting a terminal window, in Kitty you cannot choose whether to split it vertically or horizontally.
-
Configuration Integration with browsers To enable browser integration with Plasma, you need to install both native host application and browser extension.
-
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…
-
Advanced Configuration The advanced configuration settings are set in the about:config.
-
Virtual Environments Virtual environments provides a way to manage the packages for each project independently.
-
SPICE See SPICE for information on how to install or configure the guest agent.
-
The goal of this project is to provide a MacOS packages for the latest stable release of mpv.
-
Manage NTFS under GNU/Linux In order to work with NTFS on GNU/Linux you will need ntfs-3g package.
-
Installation Bare-Metal Set up, update, and secure the server.
-
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…
-
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.
-
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.
-
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…
-
If you are not sure if you need to know IRC basics, check out XKCD #1782.
-
The distrobox environment is based on an OCI image.
-
Podman is designed to be a better Docker replacement.
-
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…
-
Advanced Configuration UI customization via CSS Go to vivaldi://experiments/ and enable “Allow for using CSS modifications”.
-
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>…
-
Installation The default console keymap is US.
-
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…
-
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…
-
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…
-
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.
-
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…
-
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.
-
[!]
-
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…
-
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…
-
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…
-
Custom Operating Systems GrapheneOS - privacy and security focused mobile Android-based OS developed as a non-profit open source project.
-
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.
-
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.
-
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.
-
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.
-
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
-
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…