echo -e "line1\nline2\nline3" | node pause-test.js
nmcli connection modify "WifFiNameHere" connection.autoconnect yes | |
nmcli connection modify "WifFiNameHere" connection.permissions "" |
#!/bin/bash | |
# Array of video file paths | |
video_files=( | |
# "Fille1.BdRip.1920.eng.mkv" | |
# "Fille1.BdRip.4k.eng.mkv" | |
"DISC_BLUEBIRD/BDMV/STREAM/00024.m2ts" | |
) | |
extra_crop=",crop=in_w:in_h-260" | |
#extra_crop="" |
Article Introduction: Navigating Database Technologies for Hierarchical and Social Network Data Management
In today's digital landscape, efficient data management is pivotal, especially when dealing with complex structures like trees and graphs. These structures, foundational in computer science, dictate how data is stored, accessed, and manipulated across various platforms, from social networks to organizational systems. This article provides a comprehensive exploration of tree and graph structures and their implementation in different database systems, assessing their effectiveness in contexts ranging from hierarchical data management in traditional databases to sophisticated relationship mapping in graph databases.
const printValues = (data) => { | |
const getType = (value) => { | |
if (Array.isArray(value)) return 'array'; | |
if (null === value) return 'null'; | |
return typeof value; | |
}; | |
const initResult = () => ({ _type: new Set([]), _values: new Set() }) | |
const updateValues = (result = initResult(), item) => { | |
const type = getType(item); |
In order to use end-to-end encryption, it is enough to use a browser extension - it uses open pgp - open source for encryption and keys and just inserts a button to gmail :)
https://youtu.be/aAXIqnjbc-M?t=106 Mymail-Crypt for Gmail at chrome store
quite radical, simple, but it can fall off :)
there is a more reliable way, but you have to manually encrypt it - another extension
In this article, we will explore pessimistic locking, its main aspects, and how to implement it in Node.js using TypeORM. Pessimistic locking is a strategy to prevent concurrent access to a resource by obtaining exclusive access to the resource before making any changes. This approach ensures that other transactions cannot modify the locked resource until the lock is released.
We will use a practical example to demonstrate how to implement pessimistic locking in a Node.js application using the TypeORM library. Our example will focus on a payment processing scenario, where multiple processes might attempt to update the status of a payment concurrently.
https://raspberrypi.stackexchange.com/questions/8265/btrfs-root-filesystem-on-raspbian
sudo apt install btrfs-progs initramfs-tools
'btrfs' | sudo tee -a /etc/initramfs-tools/modules
sudo mkdir -p /etc/initramfs-tools/hooks ; sudo mkdir -p /etc/initramfs-tools/scripts/local-premount ; sudo cp /usr/share/initramfs-tools/hooks/btrfs /etc/initramfs-tools/hooks ; sudo cp /usr/share/initramfs-tools/scripts/local-premount/btrfs /etc/initramfs-tools/scripts/local-premount; sudo chmod +x /etc/initramfs-tools/hooks/btrfs /etc/initramfs-tools/scripts/local-premount/btrfs
https://forums.raspberrypi.com/viewtopic.php?t=10532&sid=506b6601ef85b73e2e6cafc95f4636c6&start=50