Hector Perez

Find a String inside a JSON object with recursivity in Node.JS
Simple thing:
const THE_UNKNOWN = {
a: 2,
b: "hello",
c: {
d: 34.21,
e: "TARGET",
f: {
g: "not easter egg",
h: {
i: "TARGET"
}
},
j: [
{
k: 308
},
{
l: "TARGET"
}
],
m: [
"some",
"string",
"array",
"TARGET"
]
}
};
function find(what, her

Generate SSH Keys in Linux (Fedora 35)
RSA
The simplest way is to execute the following command:
ssh-keygen -t rsa
This is how the whole process looks like in console. Please note that I did override the default key-pair location.
[terminator@fedora ~]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save
Things to do after installing Fedora 35
1. Update DNF config
sudo nano /etc/dnf/dnf.conf
Append this:
fastestmirror=True
max_parallel_downloads=10
defaultyes=True
Save and exit
2. Update the system
sudo dnf update
3. Enable RPM Fusion
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo
Authorize a user to authenticate with SSH key
NOTE: I am assuming that sshd is already up and running on your Skynet server. If not, run systemctl status sshd, if down you can run systemctl start sshd and systemctl enable sshd to start the service and allow it to run at system startup.
For the purposes of this
DecK
1.
Installation options:
*
MacOS:
brew tap kong/deck
brew install deck
*
Linux:
Alternative download / install options are available here: https://github.com/kong/deck/releases
curl -sL https://github.com/kong/deck/releases/download/v1.8.1/deck_1.8.1_linux_amd64.tar.gz -o deck.tar.gz
tar
Install DecK for Kong in Ubuntu 20.04 (focal)
1. Download the TAR file:
curl -sL https://github.com/kong/deck/releases/download/v1.11.0/deck_1.11.0_linux_amd64.tar.gz -o deck.tar.gz
2. Extract the TAR file:
tar -xf deck.tar.gz -C /tmp
3. Copy the files to the right place:
sudo