Skip to content

Instantly share code, notes, and snippets.

View tbanj's full-sized avatar
💥
Available for remote work or onsite

Alabi Temitope Wahab tbanj

💥
Available for remote work or onsite
View GitHub Profile
@tbanj
tbanj / nigerian-states.json
Created March 18, 2020 11:41
This shows list of Nigeria states with local governments
[
{
"Abia": [
"Aba North",
"Aba South",
"Arochukwu",
"Bende",
"Ikwuano",
"Isiala-Ngwa North",
"Isiala-Ngwa South",
// SPDX-License-Identifier: GPL-3.0
pragma solidity >= 0.7.0;
// T1. mint enough BNB to your account for call contract creation and interaction
// T2. Deploy it to BSC testnet
// T3. Finish below coding tasks
contract Coin {
// The keyword "public" makes variables
// accessible from other contracts
address public minter;
@tbanj
tbanj / mongodb_cheat_sheet.md
Last active March 28, 2021 12:38
Cheat Sheet for Mongodb with essential commands

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@tbanj
tbanj / anaconda-heroku.txt
Created June 29, 2021 00:48
Guide to deploy a flask application built in Anaconda environment to Heroku
Step by step guide to deploy a flask application which was developed within anaconda virtual environment to Heroku server
At the root of your project
pip freeze > requirements.txt
# edited the content of the requirements.txt e.g
From
Jinja2 @ file:///tmp/build/80754af9/jinja2_1624781299557/work
To
Jinja2==3.0.1
@tbanj
tbanj / gist:0d5f0bbb2de38daa99c5bee029e754b6
Created October 5, 2024 11:59
Hosting an express app on netlify with simple steps
i) when you want to 1st create the project by connecting to your github project
ii) create your project, push it to github.
iii) Goto your netlify dashboard, click on create new project by the
importing project. Select github branch which netlify should use to be pushing from.
iv) When you get to build files leave it as your default settings
v) in th build type for Functions directory: functions
vi) publish directory leave it empty.
vii) leave all other fields as default
vii) Sample project is located on your macos netlify-host-node-demo
Use the file format that way