Skip to content

Instantly share code, notes, and snippets.

View hungaikev's full-sized avatar
🎯
Focusing

Hungai Amuhinda hungaikev

🎯
Focusing
View GitHub Profile
@hungaikev
hungaikev / cla.md
Last active January 14, 2024 10:19 — forked from ferretdb-bot/cla.md
CLA

Permify.co. Individual Contributor License Agreement ("Agreement")

(based on Individual Contributor License Agreement v2.1 by The Apache Software Foundation)

Thank you for your interest in contributing to the open source projects of Permify.co. (the "Company"). In order to clarify the intellectual property license granted with Contributions from any person or entity, the Company must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of the Company and its users; it does not change your rights to use your own Contributions for any other purpose.

You accept and agree to the following terms and conditions for Your present and future Contributions submitted to the Company. Except for the license granted herein to the Company and recipients of software distributed by the Company, You reserve all ri

@hungaikev
hungaikev / htoprc
Created August 1, 2023 15:23 — forked from janjitsu/htoprc
My Htop Setup
# Copy or symlink this file to ~/.config/htop/htoprc
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=111
sort_direction=1
tree_sort_key=1
tree_sort_direction=1
hide_kernel_threads=1
hide_userland_threads=1
@hungaikev
hungaikev / payments.go
Created May 19, 2023 12:21 — forked from spencer-kormos-gbf/payments.go
Proposed Scheduled Payments API
package payments
import (
"time"
"github.com/google/uuid"
)
type ScheduledTransactionStatus string

Speaker Rider

by Tatiana Mac

Last updated 14 April 2021

What is a speaker rider?

As speaking comes with immense privilege, I have crafted a speaker rider to set expectations and boundaries around my engagement. I am grateful to all the conference organisers who have brilliantly hosted me. I would love to continue to exercise this privilege to speak at conferences, and use this privilege to make the landscape more accessible and beneficial to tech's most historically excluded and marginalised communities.

Considerations

😫 I provide a lot of explanations for those of you who never had to consider these things. Most thoughtful conferences I've attended check most of these boxes intrinsically, particularly when conference runners are experienced speakers. They get it.

@hungaikev
hungaikev / ot-ws-general.md
Created January 20, 2019 16:11 — forked from kvncrw/ot-ws-general.md
opentracing abstract / detail

Observability Workshop: Kubernetes, Tracing, and Metrics

Time Requirements:

  • w/ Audience Participation: 2-3 hours
  • Instructor Only: 1.5 hours

The goal of this workshop is to familiarize application and site reliability engineers with the benefits that modern observability tools provide to the builders and curators of cloud native applications.

@hungaikev
hungaikev / LoggingMailbox.scala
Created September 18, 2017 04:51 — forked from patriknw/LoggingMailbox.scala
Logs the mailbox size when exceeding the configured limit. Implemented in Scala and Java. Copy one of them to your project and define the configuration. This code is licensed under the Apache 2 license.
/**
* Copyright (C) 2009-2014 Typesafe Inc. <http://www.typesafe.com>
*/
package akka.contrib.mailbox
import scala.concurrent.duration._
import java.util.concurrent.atomic.AtomicInteger
import java.util.concurrent.atomic.AtomicLong
import com.typesafe.config.Config
import akka.actor.{ ActorContext, ActorRef, ActorSystem, ExtendedActorSystem }

Advanced Functional Programming with Scala - Notes

Copyright © 2017 Fantasyland Institute of Learning. All rights reserved.

1. Mastering Functions

A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.

val square : Int => Int = x => x * x
@hungaikev
hungaikev / gist:1ddbe6158b7367c20f29405e20701011
Created April 29, 2016 07:25 — forked from SzymonPobiega/gist:5220595
DDD/CQRS/ES/Architecture videos

If you have two days to learn the very basics of modelling, Domain-Driven Design, CQRS and Event Sourcing, here's what you should do:

In the evenings read the [Domain-Driven Design Quickly Minibook]{http://www.infoq.com/minibooks/domain-driven-design-quickly}. During the day watch following great videos (in this order):

  1. Eric Evans' [What I've learned about DDD since the book]{http://www.infoq.com/presentations/ddd-eric-evans}
  2. Eric Evans' [Strategic Design - Responsibility Traps]{http://www.infoq.com/presentations/design-strategic-eric-evans}
  3. Udi Dahan's [Avoid a Failed SOA: Business & Autonomous Components to the Rescue]{http://www.infoq.com/presentations/SOA-Business-Autonomous-Components}
  4. Udi Dahan's [Command-Query Responsibility Segregation]{http://www.infoq.com/presentations/Command-Query-Responsibility-Segregation}
  5. Greg Young's [Unshackle Your Domain]{http://www.infoq.com/presentations/greg-young-unshackle-qcon08}
  6. Eric Evans' [Acknowledging CAP at the Root -- in the Domain Model]{ht
@hungaikev
hungaikev / introrx.md
Created February 4, 2016 10:28 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing