Skip to content

Instantly share code, notes, and snippets.

@ColmBhandal
ColmBhandal / MatchScheduler.java
Created March 22, 2024 17:11
More efficient variant of joriki/Question4882568.java
import java.util.ArrayList;
import java.util.BitSet;
import java.util.List;
public class MatchScheduler {
static boolean [] [] played;
static int count;
static int n;
static List<Integer> factorials = new ArrayList<Integer>();
@ColmBhandal
ColmBhandal / CONTRIBUTING.md.template
Last active October 10, 2023 10:24
Contributing Template for Canonical Charmed Kubeflow Repos
# Contributing
## Overview
This document outlines the processes and practices recommended for contributing enhancements to `{{ charm }}`.
## Talk to us First
Before developing enhancements to this charm, you should [open an issue](/../../issues) explaining your use case. If you would like to chat with us about your use-cases or proposed implementation, you can reach us at [MLOps Mattermost public channel](https://chat.charmhub.io/charmhub/channels/mlops-documentation) or on [Discourse](https://discourse.charmhub.io/).
@ColmBhandal
ColmBhandal / README.md
Last active August 8, 2022 20:49
Typescript Version of AndreasBBS's React Router Decorator

Original solution thanks to AndreasBBS here.

@ColmBhandal
ColmBhandal / 17_cell_multiplicity_alternative
Created April 8, 2022 09:13
Slightly alternative fork/join semantics allowing a forked thread's return value to be brought back to the main thread
module LESSON-17-B
imports INT
imports BOOL
imports ID-SYNTAX
syntax Stmt ::= Id "=" Exp ";" [strict(2)]
| "return" Exp ";" [strict]
syntax Stmts ::= List{Stmt,""}
syntax Exp ::= Id
| Int
@ColmBhandal
ColmBhandal / CITATION.cff
Created January 23, 2022 19:07
Mockup citation file for PVLib
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: PVLib
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors: