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 January 6, 2025 08:47
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 October 25, 2024 11:15
Adelheid
[
{
"backcolor": "#141414",
"name": "Adelheid",
"author": "floookay",
"switchMount": "cherry",
"switchBrand": "gateron",
"pcb": true
},
[
@josefadamcik
josefadamcik / SofleKeyboard.kbd.json
Last active November 22, 2024 15:40
SofleKeyboard
[
{
"name": "SofleKeyboard",
"author": "Josef Adamcik",
"switchMount": "cherry"
},
[
{
"y": 0.2,
"x": 3,
@fauxpark
fauxpark / applefn.patch
Last active December 30, 2024 01:39
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 October 28, 2024 02:30 — forked from kiambogo/spacemacs-keybindings
spacemacs keybindings that i need to learn
@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 November 22, 2024 20:26
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)); };
@natelandau
natelandau / .bash_profile
Last active January 4, 2025 14:58
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management