Skip to content

Instantly share code, notes, and snippets.

Problem Solver.

Yusuf Taiwo Hassan teezzan

Problem Solver.
View GitHub Profile
View Message.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
contract AdviceContract {
address owner;
mapping(address => bool) public Doctors;
struct Message {
uint256 time;
teezzan /
Created Oct 16, 2021 — forked from betrcode/
Using Python to check if remote port is open and accessible.
teezzan /
Created Jul 6, 2021 — forked from meg-gutshall/
A template I created from a few different resources. It's a work in progress. ;) Please comment below with any suggestions for edits!

Project Title


The What

A little info about your project and/or overview that explains what the project is about.

The Why

View Lorahop.ino
//Libraries for LoRa
#include <SPI.h>
#include <LoRa.h>
//Libraries for OLED Display
View MiGcoin.sol
pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed
interface IBEP20 {
function totalSupply() external view returns (uint256);
teezzan / app.js
Created Jan 19, 2021
Barcode New Upgrade
View app.js
// var body = document.body,
// html = document.documentElement;
// var height = Math.max( body.scrollHeight, body.offsetHeight,
// html.clientHeight, html.scrollHeight, html.offsetHeight );
const { findAllPackage, removePackage, updatePackage, findPackagesLocation } = require("./database/db-func");
View Server.js
const express = require("express");
const fs = require('fs')
const app = express();
const axios = require("axios");
const bodyParser = require('body-parser');
const _ = require("lodash");
const { v4: uuidv4 } = require('uuid');
global.window = {}
const { jsPDF } = require('jspdf/dist/jspdf.node')
const { applyPlugin } = require('./node_modules/jspdf-autotable/dist/jspdf.plugin.autotable');
View test.js
let usb = require('usb')
function connectdevice(vID, pId) {
var device = usb.findByIds(vID, pId);;
var deviceINTF = device.interface(0);
if (deviceINTF.isKernelDriverActive())
git clone
cd mt7601u/
sudo cp -v /lib/modules/$(uname -r)/build/Module.symvers src/os/linux
sudo make clean && make all && make install
sudo rm -rvf src/os/linux/Module.symvers
sudo ifconfig wlan0 down
sudo rmmod mt7601u
sudo ifconfig ra0 up
sudo ifconfig ra0
sudo iptables -F
teezzan / index.js
Created Sep 4, 2020
Add Text to Video Using Nodejs
View index.js
var ffmpeg = require('fluent-ffmpeg');
var axios = require('axios');
// make sure you set the correct path to your video file
var proc = ffmpeg('./input.mp4')
filter: 'drawtext',
options: {
text: 'THIS IS TEXT',