Skip to content

Instantly share code, notes, and snippets.

View teezzan's full-sized avatar
💭
Problem Solver.

Yusuf Taiwo Hassan teezzan

💭
Problem Solver.
View GitHub Profile
@teezzan
teezzan / index.html
Created July 2, 2020 01:44
Pure CSS Windows 10 Desktop
<!-- Taskbar -->
<div class="taskbar">
<div class="icons">
<div class="icons-left">
<a href="#start-menu-modal" id="start-menu"><i class="fab fa-windows"></i></a>
<a href="#search" id="search"></a>
<a href="#tabs" id="tabs-windows"></a>
<a href="#" class="px"></a>
<a href="#folder" id="folder" class="border"></a>
<a href="#chrome-pop-up" id="chrome" class="border"></a>
@teezzan
teezzan / index.js
Created September 4, 2020 19:03
Add Text to Video Using Nodejs
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')
.videoFilters({
filter: 'drawtext',
options: {
fontfile:'font.ttf',
text: 'THIS IS TEXT',
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
contract AdviceContract {
address owner;
mapping(address => bool) public Doctors;
struct Message {
uint256 time;
@teezzan
teezzan / README.md
Created October 16, 2021 06:15 — forked from betrcode/README.md
Using Python to check if remote port is open and accessible.
@teezzan
teezzan / readme-template.md
Created July 6, 2021 16:07 — forked from meg-gutshall/readme-template.md
A README.md template I created from a few different resources. It's a work in progress. ;) Please comment below with any suggestions for edits!

Project Title

Description

The What

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

The Why

//Libraries for LoRa
#include <SPI.h>
#include <LoRa.h>
//Libraries for OLED Display
pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed
interface IBEP20 {
function totalSupply() external view returns (uint256);
@teezzan
teezzan / app.js
Created January 19, 2021 16:22
Barcode New Upgrade
// 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");
@teezzan
teezzan / Server.js
Created January 7, 2021 21:45
Test Script
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');
let usb = require('usb')
function connectdevice(vID, pId) {
var device = usb.findByIds(vID, pId);
device.open();
var deviceINTF = device.interface(0);
if (deviceINTF.isKernelDriverActive())
deviceINTF.detachKernelDriver();
deviceINTF.claim();