Linux Create a service a timer The goal here is to run a script that will select a random image and show it in the PIMORONI Inky Impression 7 Color ePaper every determined period of time. I assume python3 is already installed in the machine. The Pimorony Inky Impression libraries and examples can be downloaded from
Linux How to solve issues when installing NodeJS 18.15.0 Problem When running node -v I get the following error: node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version
Linux Authorize a user to authenticate with SSH key For the purposes of this example the we'll say that the username is jconnor and his key pair is the following: Private Key: PuTTY-User-Key-File-2: ssh-ed25519 Encryption: aes256-cbc Comment: John-Connors-Keys Public-Lines: 2 AAAAC3NzaC1lZDI1NTE5AAAAIK1J3fGJeohGB5XvdfeQ3xlTSq5FfXAfUwS9FFSe 4Orv Private-Lines: 1 Xpx0vb2B9/2Y9KCO1avZ1b8rCDvvhfp0ManS+u7AdDetOd7/vlfqAwgbqYMPqoZF Private-MAC: 9135a8f0b42954f5b2d5fd6de10800551f867ac0 Public Key: ---- BEGIN SSH2 PUBLIC KEY ---- Comment:
Kong 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
Kong Install Kong OSS DB-less mode in Ubuntu Mate Impish 21.10 in Raspberry PI 4 1. Pull docker images. sudo docker pull arm64v8/kong 2. Run Kong in DB-less mode. sudo docker run -d --name kong \ -e "KONG_DATABASE=off" \ -e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \ -e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" \ -e "KONG_PROXY_ERROR_LOG=/dev/stderr" \ -e "KONG_ADMIN_ERROR_
Linux Install Visual Studio Code in Raspbian 10 (Buster) 1- Get the .deb file from https://code.visualstudio.com/docs/?dv=linuxarmhf_deb 2- Double click on it and hit Install when asked if you want to install the file 3- Type in your password when prompted for it 4- Done, you can find the program under Raspberry Start
Linux Permission Table for Linux (quick reference) I am sure you have wondered what is the right permission for your file and tried to understand how it works, why there are numbers and letter and what all that mess means. Well here is a table that puts it in a very simple way, I am assuming you
Linux How to hash files in Linux? How many times have you needed to get the hash of any file in Linux? For whatever purpose you have needed to do that, rest assured that there is a set of commands that will make your life easier. These commands are part of Linux core utils. MD5 md5sum SHA-1
Linux How to see running processes in Linux One essential command to know when you are experimenting in Linux is the command to see which processes are running in your machine, just in case you need to kill one of them for any reason. This command is top and you use it like this: 1. Type top in
Linux How to see available disk space in Linux Playing around with a Raspberry PI I came to need this info. Here is the command: df -h You should see something similar to this: pi@raspberrypi:~ $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 26G 6.5G 18G 27% / devtmpfs 334M 0 334M 0% /dev tmpfs
Linux How to know which Linux version you are running Easy peasy! Run the following command in a Terminal: lsb_release -a You should see something similar to this: pi@raspberrypi:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
Linux How to find strings in files in Linux Today I needed to search for a specific string in all files inside a SOAP UI project, you just need to execute the following command: grep -rnw "getList" /home/SOAPUI_Proj/ Please notice that the text in italics means that the value is variable. Sources: * http://www.cyberciti.biz/faq/
Linux How to find strings in files in Linux Today I needed to search for a specific string in all files inside a SOAP UI project, you just need to execute the following command: grep -rnw "getList" /home/SOAPUI_Proj/ Please notice that the text in italics means that the value is variable. Sources: * http://www.cyberciti.biz/faq/