Skip to content

Instantly share code, notes, and snippets.

View Adophilus's full-sized avatar
💭
Learning 🤓

Uchenna Ofoma Adophilus

💭
Learning 🤓
View GitHub Profile
@Adophilus
Adophilus / whkd.log
Created July 31, 2023 21:08
whkd log
e[5 qkomorebic toggle-monocle
komorebic toggle-monocle
komorebic focus-workspace 3
komorebic focus-workspace 4
komorebic manage
komorebic manage
komorebic focus-workspace 0
komorebic toggle-monocle
komorebic toggle-monocle
komorebic focus left
@Adophilus
Adophilus / init.lua
Created July 14, 2023 21:13
neovide/neovim config
if vim.g.neovide then
vim.o.cursorline = false
vim.o.guifont = "ComicShannsMono Nerd Font Mono:h9"
vim.g.neovide_transparency = 0.8
vim.g.neovide_floating_blur_amount_x = 2.0
vim.g.neovide_floating_blur_amount_y = 2.0
vim.g.neovide_scale_factor = 1
vim.g.gui_font_default_size = 12
vim.g.gui_font_size = vim.g.gui_font_default_size
vim.g.gui_font_face = "ComicShannsMono Nerd Font Mono"
@Adophilus
Adophilus / famasi-recurring-debits.md
Last active June 20, 2023 16:28
Famasi recurring debits documentation

This is the documentation for the recurring debits endpoint on Famasi API.

  • the endpoint is protected by a JWT authentication layer.
  • only users with admin level privileges can access this endpoint.
  • the endoint can be accessed by hitting up /admin/user-plans/due.
  • upon hitting up the endpoint, it would return user plans in the following format:
{
    "statusCode": 200,
    "responseMessage": "",
    "data": {
COURSE TYPE PRICE
ENG 224 manual 1500
ENG 206 workbook 1500
ENG 224 textbook 2500
ENG 224 workbook 1500
MTH 202 manual 1500
ENG 208 workbook 1500
ENG 226 workbook 2000
ENG 214 workbook 1500
EEE 202 workbook 1500
# this is a ps1 script, so you can actually just copy the entire contents
# of this gist and paste it into powershell (and press enter) and it should
# work.
# NOTE: # signifies comments
# install powershell from the microsoft store
# use this command to install wezterm
scoop install wezterm
local wezterm = require('wezterm')
local default_prog = { 'C:\\Windows\\System32\\cmd.exe' }
-- local default_prog = { 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe' }
-- local default_prog = { 'C:\\Program Files\\WindowsApps\\Microsoft.PowerShell_7.3.3.0_x64__8wekyb3d8bbwe\\pwsh.exe' }
-- local default_prog = { 'C:\\Users\\hp\\AppData\\Local\\Microsoft\\WindowsApps\\pwsh.exe' }
return {
default_prog = default_prog,
use_fancy_tab_bar = true,
@Adophilus
Adophilus / wezterm.lua
Created April 28, 2023 21:52
my wezterm config
local wezterm = require('wezterm')
-- local default_prog = { 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe' }
local default_prog = { 'C:\\Program Files\\WindowsApps\\Microsoft.PowerShell_7.3.3.0_x64__8wekyb3d8bbwe\\pwsh.exe' }
return {
default_prog = default_prog,
use_fancy_tab_bar = true,
window_decorations = 'NONE',
-- font = wezterm.font('Fira Code', { weight = 'Regular' }),
const std = @import("std");
const math = std.math;
const rand = std.rand;
const time = std.time;
// const POPULATION_SIZE = 10;
// const MAX_NUMBER_OF_GENERATIONS = 1500;
const MAX_NUMBER_OF_GENERATIONS = 100000;
const POPULATION_SIZE = 1000;
{
"data": [
{
"id": "prod_kpnNwAyOzZwmXB",
"created": 1638621569,
"updated": 1677444253,
"active": true,
"permalink": "essential-vitamins",
"name": "Essential Vitamins",
"description": "<p>Boost your immune system and protect your body against infections.</p><p></p><p>Contains </p><ul><li><p>Multivitamins</p><ul><li><p>Vitamin C</p></li><li><p>Vitamin D</p></li><li><p>Vitamin E</p></li></ul></li><li><p>Zinc</p></li></ul>",
@Adophilus
Adophilus / automasters-wheels-and-services.md
Last active March 28, 2023 19:14
A document storing the summary of the project details for Automasterz Wheels & Services

Automasterz Wheels & Services

Details

  • automobile company
  • focuses and sales and repairs of automobile parts

Requirements

  • online presence (website)
  • platform where customers can order for automobile parts