Skip to content

Instantly share code, notes, and snippets.

View arthurom254's full-sized avatar

Arthur Okumu arthurom254

  • Cooperative University
View GitHub Profile
@arthurom254
arthurom254 / main.json
Created June 2, 2025 11:15
Kenya universities with their respective campuses.
{
"kenyan_universities": {
"public_universities": [
{
"name": "University of Nairobi",
"year_chartered": 1970,
"year_established": 1956,
"location": "Nairobi",
"original_name": "Royal Technical College, Royal College Nairobi",
"campuses": [
@arthurom254
arthurom254 / email.html
Last active April 3, 2025 06:52
This is the send email implementation in django
<!-- templates/email/email.html -->
<h2 style="color: gray;">Hello {{fname}} {{lname}},</h2>
<h3 style="color:darkorchid;">We Have ...</h3>
<p>Thank you for ... with us.</p>
<p>Regards</p>
<p>me...</p>
<p>&copy; com</p>
@arthurom254
arthurom254 / gist:fcdd8daeeeede9b9548707a9d4135c6e
Last active March 29, 2025 20:22
Upload and share files for free from anywhere using filebin api
# Upload and share files for free from anywhere
curl -X POST -H "filename: myfile.txt" -F "[email protected];filename=myfile.txt" https://filebin.net/
@arthurom254
arthurom254 / MonoSingleton.cs
Created March 20, 2025 10:39 — forked from onevcat/MonoSingleton.cs
Mono singleton Class. Extend this class to make singleton component.
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Mono singleton Class. Extend this class to make singleton component.
/// Example:
/// <code>
/// public class Foo : MonoSingleton<Foo>
/// </code>. To get the instance of Foo class, use <code>Foo.instance</code>