Skip to content

Instantly share code, notes, and snippets.

View oliverbaptiste's full-sized avatar

Oliver Baptiste oliverbaptiste

View GitHub Profile
@faustinoaq
faustinoaq / myAngular.html
Last active July 7, 2026 07:13
Front-end libraries (React, Vue, Angular) and the basic principles of how they work, all in a single file using pure JavaScript (VanillaJS).
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Angular from Scratch</title>
<style>
.my-component {
font-family: Arial, sans-serif;
@floookay
floookay / Adelheid.kbd.json
Last active September 21, 2026 11:22
Adelheid
[
{
"backcolor": "#141414",
"name": "Adelheid",
"author": "floookay",
"switchMount": "cherry",
"switchBrand": "gateron",
"pcb": true
},
[
@josefadamcik
josefadamcik / SofleKeyboard.kbd.json
Last active September 18, 2026 13:33
SofleKeyboard
[
{
"name": "SofleKeyboard",
"author": "Josef Adamcik",
"switchMount": "cherry"
},
[
{
"y": 0.2,
"x": 3,
@fauxpark
fauxpark / applefn.patch
Last active September 30, 2026 13:21
QMK Apple Fn
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 18f8b0bbfc..4ef3e230e4 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -878,6 +878,10 @@ ifeq ($(strip $(JOYSTICK_ENABLE)), yes)
endif
endif
+ifeq ($(strip $(APPLE_FN_ENABLE)), yes)
+ OPT_DEFS += -DAPPLE_FN_ENABLE
@Steamforge
Steamforge / template-literal-function.js
Last active July 2, 2021 12:43
A Template Literal Funciton
// an array of colors
let colors = ['red', 'green', 'blue'];
// a function to build a list
let makeTemplate = function (data) {
let newList = '';
data.forEach(function(element) {
newList += `<li>${element}</li>`;
});
return newList;
@rnwolf
rnwolf / spacemacs-keybindings.md
Last active February 6, 2026 20:21 — forked from kiambogo/spacemacs-keybindings
spacemacs keybindings that i need to learn
@jorwan
jorwan / macport_cheat_sheet.md
Last active May 27, 2026 00:12
MacPort Cheat Sheet

MacPort Cheat Sheet


Installing

Installing vim with macport
$ port install vim
@jonathlt
jonathlt / ZX81Kiosk.md
Last active February 3, 2023 20:22
Run a ZX81 Emulator in "kiosk" mode on a Raspberry Pi

Introduction

I wanted to be able to produce an SD Card distribution for the Raspberry PI which would emulate the ZX81 "out of the box". On startup an appropriate splash screen would be shown and the pi would enter an emulator. Saving would be via a sync with Google drive.

Method

For the most part, I have followed the instructions here:

http://blog.qruizelabs.com/2014/04/29/raspberrypi-kiosk-matchbox-uzbl/

@paulirish
paulirish / bling.js
Last active May 2, 2026 11:52
bling dot js
/* bling.js */
window.$ = document.querySelector.bind(document);
window.$$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function(name, fn) { this.addEventListener(name, fn); };
NodeList.prototype.__proto__ = Array.prototype;
NodeList.prototype.on = function(name, fn) { this.forEach((elem) => elem.on(name, fn)); };