Skip to content

Instantly share code, notes, and snippets.

View ichux's full-sized avatar
🏠
Working from home

Chukwudi Nwachukwu ichux

🏠
Working from home
View GitHub Profile
sudo dpkg-reconfigure tzdata
*
!.gitignore
@ichux
ichux / ichux.md
Last active March 19, 2025 14:00

I'm Chukwudi Nwachukwu, fondly known as iChux. I don’t engage in debates over which programming language is superior—I believe in using what works best for you and what puts food on the table.

I love hacking things together, and as we progress in this course, you'll see some of my work in action. You can find me on GitHub, StackOverflow, LinkedIn, Slack, or Discord under the handle ichux.

What I’ve Been Working On:

These days, I’ve been actively involved in multiple projects, including:

  1. Consulting as a Group CTO, managing fintech, communications, HMO, and FMCG platforms for a company.
import logging
from sqlalchemy import Boolean, Column, Integer, String, create_engine
from sqlalchemy.orm import declarative_base, sessionmaker
from sqlalchemy.schema import CreateTable
logging.basicConfig(level=logging.INFO)
engine = create_engine("sqlite:///:memory:", connect_args={"check_same_thread": False})
SessionLocal = sessionmaker(bind=engine)
def non_repeating(data):
count = {}
# First pass: Count occurrences
for char in data:
count[char] = count.get(char, 0) + 1
# Second pass: Find the first non-repeating character
for char in data:
if count[char] == 1:
def shown(data):
sb = 73
sp = [data[i : i + sb] for i in range(0, len(data), sb)]
print(' = (\n "{}"\n)'.format('"\n "'.join(sp)))
self.app.logger.warning(f"\n\nuser: {user}\n\n")
application.logger.warning(f"\n\nuser: {user}\n\n")
flask db init
flask db migrate -m "models creation"
flask db upgrade
# important libraries
from flower.utils import strtobool
from pip._internal.utils.misc import strtobool
from setuptools._distutils.util import strtobool
docker save -o playwright_image.tar mcr.microsoft.com/playwright/python:v1.49.0-noble-amd64
docker load -i playwright_image.tar
docker pull mcr.microsoft.com/playwright/python:v1.49.0-noble-amd64
command: tail -f /dev/null
command: sleep indinity
# logs location
docker inspect --format='{{.LogPath}}' container-id