Skip to content

Instantly share code, notes, and snippets.

View Jspascal's full-sized avatar
🎯
Focusing

Joseph NOMO Jspascal

🎯
Focusing
View GitHub Profile
@Jspascal
Jspascal / mno.json
Last active June 12, 2024 10:02
mno_regex.json
{
"om_cmr": "/^6(5[5-9]|9|8[5-9])/",
"momo_cmr": "/^6(5[1-4]|7|8[1-4])/",
"momo_civ": "/^(05)/",
"om_civ": "/^(07)/",
"moov_civ": "/^(01)/",
"wave_civ": "/^(0[157])/",
"moov_ben": "/^(9[4589]|6[03458]|5[58])/",
"moov_tgo": "/^(9[6-9]|79)/",
"tmoney": "/^(70|9[0-3])/",
@Jspascal
Jspascal / process.py
Created February 15, 2024 10:18
Data migration with python
import pandas as pd
import sqlalchemy
import tabula
import pymongo
import airflow
from airflow import DAG
from airflow.operators.python import PythonOperator
# Step 2: Define the paths or URLs of the data sources
csv_path = "data.csv"
@Jspascal
Jspascal / gruvbox-material-alacritty.yml
Created October 26, 2023 14:31 — forked from sainnhe/gruvbox-material-alacritty.yml
Gruvbox Material for Alacritty
# The definition of color schemes.
schemes:
gruvbox_material_hard_dark: &gruvbox_material_hard_dark
primary:
background: '0x1d2021'
foreground: '0xd4be98'
normal:
black: '0x32302f'
red: '0xea6962'
green: '0xa9b665'
@Jspascal
Jspascal / Dockerfile
Created May 11, 2023 02:09
Laravel application Dockerfile (Laravel version 10, php version 8.1)
# Dockerfile for Laravel app built by Joseph Nomo
##
# FIRST SECTION //PHP\\ (1)
#
# Installing php and it's extensions
##
FROM php:8.1
RUN apt-get update && apt-get install -y \
@Jspascal
Jspascal / My i3wm configuration
Last active May 1, 2023 00:27
My I3 windows manager configuration with picom and i3 status bar included(volume, battery, connectivity, ...)
#IMPORTANT!!! place the sh files in a child directory named scripts and place this file(renamed to "config") and picom.conf i3 dir inside ~/.config
#####################################################################################################################
################# Define the $mod variable/key #################
#####################################################################################################################
# Key to rule them all : Super(Windows) or Alt key?
# Mod4 = Windows or Super key on keyboard
# Mod1 = Alt key on keyboard