by johnmark | Aug 3, 2022 | coding, python
Basic python recognition using face_recognition library. Below you can find a few simple examples of face_recognition library. Requirements: dlibcmake Follow this guide to install those (for Windows...
by johnmark | Mar 28, 2022 | coding, gcp, python
This article will guide us on how to interact with our Google Cloud Platform account using Python code. Our goal here is to get the instance’s data like its name, internal IP, and status. Overview: Setup local python environmentInstall the Google API Python...
by johnmark | Nov 2, 2021 | coding, linux, mining, windows
So in MAC, you can install an app called XBAR to run scripts and run it for a period of time like CRON like this screenshot. In this article, I’ll show you to do similar things in Windows. Here are the steps: Step 1. Create a folder Add a folder for your...
by johnmark | Jun 18, 2021 | coding, linux, slack
The goal here is to get notification for something like CPU reached 90% or nginx access log reached 100 requests (GET 200 code responses). Setup CRON Schedule the script via CRON. Example every 5 or 15 minutes */5 * * * to call a specific script. Create your bash...
by johnmark | Jun 11, 2021 | coding, mining
If you are using Gminer app for mine ETH and 2miners as your mining pool, you can use the scripts I created to display your hashrate and ETH balance. Source code (github) https://github.com/jmcausing/xbar-2miners-gminer miner.2s.sh file will refresh every 2 seconds to...