Well, today I needed to debug an error on the server. I needed to search the logs to find what the error was. Finding the particular information that I needed was difficult simply because I wasn't proficient in vim and linux commands, and, the log was more than 20GB of...
After using nightwatch we decided to switch to using jest and puppeteer for the many more apis and functionalities to support our wordpress plugin and chrome extension. A note here though that puppeteer only supports chrome/chromium. If you need to test cross browsers, nightwatch may be better with their browser...
So I was pretty tired of updating every single server I was messing around with for experimental purpose so I decided to create an auto scripting for the usual 'apt update && apt upgrade' command Go to your server ssh root@example.com Go to the folder where Cron exists. Cron is...
Touch sensor https://create.arduino.cc/projecthub/Arca_Ege/how-to-use-a-touch-sensor-81b7f4 The circuit from sensor > arduinoVCC Pin > 5V GND > GND OUT > Pin 2 LED pin (short leg (anode) to ground, long leg to Pin 13) int in = 2; int out = 13; int state = HIGH; int r; int p = LOW; long...
Moisture sensor 4 pins to Arduino Uno A0 > A0 DO > not used GND > gnd VCC > 5V And in your Arduino code void setup() { // initialize serial communication at the 9600 bits per second Serial.begin(9600); } void loop() { // (A0) Read the input on analog...
yeppp! My first project, after waiting approximately 10 days for delivery from China! Bought all the requisites, in twos, and with different sellers, because I was afraid the shipment will break some components or that the particular shipment from the seller is defective. I'm paranoid that way. Heh. DHT 11...
Open Terminal in MacGo to home brew —> download brew sh (Package manager for MacOS)brew install git —> https://medium.com/@katopz/how-to-upgrade-git-ff00ea12be18 brew cask search iterm2 brew cask install iterm2 brew cask install spectacle // functionality brew cask install visual-studio-code // code editor brew search vim brew install vim brew search nvm brew install...
What I wanted was to download Tor Browser into macOS, along the way, I found what it means to verify a signature/ fingerprint of the downloaded application. And I should never trust anything I downloaded… So first I headed to https://www.torproject.org/projects/torbrowser.html.en and click on download tor browser. I had to select...
Setting up a wordpress site on your own server. Follow the instructions. :D purchase a domain (namecheap) Generate your ssh keys for later when you are required to add your public key in digital ocean and to ssh into your server. https://medium.com/risan/upgrade-your-ssh-key-to-ed25519-c6e8d60d3c54cd to your ssh folder ~/.sshto generate the keys...
Personal blog to follow my thoughts. And how to figure things out.