Skip to content

Instantly share code, notes, and snippets.

View oliverbaptiste's full-sized avatar

Oliver Baptiste oliverbaptiste

View GitHub Profile
@oliverbaptiste
oliverbaptiste / sun-fun-cluster.org
Last active August 6, 2023 00:26
Sun keyboard fun cluster

Sun keyboard “fun cluster”

Type 3 nameType 4–7 nameQMK keycodeEmacs nameEmacs binding
L1StopKC_STOP<cancel>
L3PropsKC_MENU<SunProps>
L5FrontKC_SELECT<SunFront>
L7OpenKC_EXECUTE<XF86Open>
L9FindKC_FIND<find>search-forward
@oliverbaptiste
oliverbaptiste / Keebio-Sinc-Rev_-4---75_-_-NicePBT-Type-6.kbd.json
Last active August 13, 2025 03:32 — forked from nooges/Sinc-_Matrix-mapping_.kbd.json
Keebio Sinc Rev. 4 - 75% ⨉ NicePBT Type 6
[
{
"name": "Keebio Sinc Rev. 4 - 75% ⨉ NicePBT Type 6",
"author": "Oliver Baptiste",
"switchMount": "cherry"
},
[
{
"c": "#d0d4d5",
"t": "#231e3c\n\n\n\n\n#70708c",
@oliverbaptiste
oliverbaptiste / quefrency_rev2_2021-05-02.json
Created May 2, 2021 21:43
VIA layout - Quefrency Rev. 2
{
"name": "Quefrency Rev. 2",
"vendorProductId": 3406832215,
"macros": [
"{KC_LGUI,KC_LSFT,KC_LBRC}",
"{KC_LGUI,KC_LSFT,KC_RBRC}",
"{KC_LGUI,KC_LALT,KC_F11}",
"",
"",
"",
@oliverbaptiste
oliverbaptiste / Keebio-Quefrency-Rev_-2---65_.kbd.json
Last active May 3, 2025 01:36
Keebio Quefrency Rev. 2 - 65%
[
{
"name": "Keebio Quefrency Rev. 2 - 65%",
"switchMount": "cherry"
},
[
{
"c": "#aaaaaa",
"p": "SA R1",
"a": 7
@oliverbaptiste
oliverbaptiste / nuclear-edit-keymap.c
Created April 22, 2021 13:43
qmk-keymap-bdn9-rev2
/* Copyright 2019 Danny Nguyen <danny@keeb.io>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@oliverbaptiste
oliverbaptiste / init.el
Last active June 4, 2021 03:25
My Emacs init.el
;; Reference: "Configuring Emacs from Scratch — Intro" by Suvrat Apte
;; https://suvratapte.medium.com/configuring-emacs-from-scratch-intro-3157bed9d040
;; Do not show the startup screen.
(setq inhibit-startup-message t)
;; Disable tool bar
(tool-bar-mode -1)
;; Disable menu bar
@oliverbaptiste
oliverbaptiste / knickerbot.js
Created February 24, 2020 04:09
The positronic brain of Knickerbot
module.exports = function(robot) {
// "@hubot test"
robot.respond(/\btest$/i, function(res) {
return res.send("GO NEW YORK GO NEW YORK GO!");
});
// "Ugh, the Knicks (smh)"
robot.hear(/\bknicks\b/i, function(res) {
return res.send("GO NEW YORK GO NEW YORK GO!");
});
@oliverbaptiste
oliverbaptiste / card.py
Created November 26, 2018 22:39
Deck of cards - Raspberry Pi tutorial
# Deck of cards
# https://projects.raspberrypi.org/en/projects/deck-of-cards
# Create a class
class Card:
def __init__(self, suit, number):
self._suit = suit # underscore indicates to not access attribute directly
self._number = number
def __repr__(self):
return self.number + " of " + self.suit
const arcana = {
glyph: {
minor: {
// spades - pip
'AS': '\u{1F0A1}',
'2S': '\u{1F0A2}',
'3S': '\u{1F0A3}',
'4S': '\u{1F0A4}',
'5S': '\u{1F0A5}',
'6S': '\u{1F0A6}',
  • Base pack (54 cards)
    • standard 52 cards plus 2 Jokers
  • Tarot expansion pack (36 cards)
    • 4 Knights
    • 22 Trumps (Fool, 1–21)
    • 10 Jokers

Total cards: 90