Skip to content

Instantly share code, notes, and snippets.

View Jemeni11's full-sized avatar
😴
send help

Emmanuel C. Jemeni Jemeni11

😴
send help
View GitHub Profile
@Jemeni11
Jemeni11 / ColorSlider.tsx
Created September 27, 2025 11:04 — forked from AkinAguda/ColorSlider.tsx
A gradient color slider in the context of Next.js + Typescript + tailwind
"use client";
import { memo, useState } from "react";
import classes from "./colorSlider.module.css";
import {
GRADIENT,
MAX_RANGE,
RGB,
determineColorFromValue,
@Jemeni11
Jemeni11 / hls.sh
Created November 10, 2024 10:40 — forked from stenuto/hls.sh
HLS ffmpeg script
#!/bin/bash
# Function to display usage information
usage() {
echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]"
exit 1
}
# Check if at least one argument (input file) is provided
if [ $# -lt 1 ]; then
@Jemeni11
Jemeni11 / medium.user.js
Last active January 2, 2024 02:46 — forked from mathix420/medium.user.js
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @grant none
// @version 1.5
// @inject-into content
// @updateURL https://gist.github.com/mathix420/e0604ab0e916622972372711d2829555/raw/medium.user.js
@Jemeni11
Jemeni11 / main.py
Last active September 27, 2023 08:15
EPUB Scraper for getting story links
import argparse
import sys
import os
import ebooklib
from ebooklib import epub
from bs4 import BeautifulSoup
__version__ = "1.0.0"
@Jemeni11
Jemeni11 / ebook.py
Last active May 2, 2023 15:18
This code should edit an ePub by grabbing the href attribute from the "[img: <a href='' >..</>" string inside of a p tag, downloading the images, adding them and creating a new ePub. THIS DOES NOT WORK.
import sys
import ebooklib
from ebooklib import epub
from bs4 import BeautifulSoup
from image import get_image_from_url
def main(path_to_epub: str) -> None:
"""
@Jemeni11
Jemeni11 / main.py
Last active May 4, 2022 17:21
Scraping Story Metadata from Fanfiction.net using Selenium and undetected_chromedriver
from bs4 import BeautifulSoup
from time import sleep
from undetected_chromedriver import Chrome
from selenium import webdriver
def fanfictiondotnet(url: str):
try:
print("[INFO]\tStarting Browser")
options = webdriver.ChromeOptions()
# options.add_argument('--headless') # for some reason, undetected_chromedriver doesn't work in headless mode
@Jemeni11
Jemeni11 / gist:1110bba57ab1f1fd7d7bee233e8bf96b
Created May 13, 2021 14:34 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: