Skip to content

Instantly share code, notes, and snippets.

View geofmureithi's full-sized avatar

Njuguna Mureithi geofmureithi

View GitHub Profile
@geofmureithi
geofmureithi / quotes.py
Created October 4, 2025 05:50
African Proverbs Generator
# -*- coding: utf-8 -*-
from PIL import Image
from PIL import ImageFont
from PIL import ImageDraw
import textwrap
import sys
import os
from os.path import basename
import pyimgur
import time
@geofmureithi
geofmureithi / quasar.graphql
Created January 3, 2024 15:04
Quasar API Examples
{
accounts {
id
balance
createdAt
}
}
{
accounts(filter: { balance: {op: LESS_THAN_OR_EQUAL, value: 100000}}) {
balance
@geofmureithi
geofmureithi / lexer.rs
Created December 6, 2023 09:46 — forked from jdmichaud/lexer.rs
A simple tokenizer in rust
// rustc lexer.rs && curl -s https://norvig.com/big.txt | ./lexer
use std::io::{Read, Result, stdin};
#[derive(Debug)]
struct Token<'a> {
s: &'a str,
start_index: usize,
}