Skip to content

Instantly share code, notes, and snippets.

View okoibraun's full-sized avatar
🇳🇬
Techvangelizing and available

Braun Okoi Boniface okoibraun

🇳🇬
Techvangelizing and available
View GitHub Profile
@okoibraun
okoibraun / rpi_temperature_grove.py
Created April 8, 2022 06:57 — forked from securetorobert/rpi_temperature_grove.py
A python file for reading temperature and humidity and displaying on an LCD screen using Grove connectors
#
# Weather Station. Requires Grove Shield, Temp Sensor, and LCD
import utime
from lcd1602 import LCD1602
from dht11 import *
from machine import Pin, I2C
from time import sleep
from selenium import webdriver
from selenium.webdriver.chrome.options import DesiredCapabilities
from selenium.webdriver.common.proxy import Proxy, ProxyType
import time
co = webdriver.ChromeOptions()
co.add_argument("log-level=3")
co.add_argument("--headless")
Run this command to install MG-CLI:
sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb
to start miner (4 cores for BCN) use this command:
minergate-cli -user <YOUR@EMAIL.KAPPA> -bcn 4
Feel free to send some of your earnings to me:
BTC (Don't attempt to send other coins to this address!): 17f77AYHsQbdsB1Q6BbqPahJ8ZrjFLYH2j
@okoibraun
okoibraun / index.php
Created May 13, 2020 08:49 — forked from abel-masila/index.php
A simple USSD registration application written in PHP
<?php
/* Simple sample USSD registration application
* USSD gateway that is being used is Africa's Talking USSD gateway
*/
// Print the response as plain text so that the gateway can read it
header('Content-type: text/plain');
/* local db configuration */
$dsn = 'mysql:dbname=dbname;host=127.0.0.1;'; //database name
@okoibraun
okoibraun / My_Year_With_Deno.md
Created April 25, 2020 11:51 — forked from kevinkassimo/My_Year_With_Deno.md
MY one year with Deno

MY Year With Deno...

... and my internal struggles.

WARNING: This is a NON-technical article. Stop reading if you are here hoping to find anything useful about design of Deno.

WARNING 2: If you are an experienced software engineer, you might find this article very boring.