Skip to content

Instantly share code, notes, and snippets.

View tomhermans's full-sized avatar
👻
tinkering

Tom Hermans tomhermans

👻
tinkering
View GitHub Profile
{
"colors": {
"primary-color": "#ff2222",
"secondary-color": "#77878d"
},
"fonts": {
"primary-font": "chalkduster",
"secondary-font": "Times New Roman, serif"
},
"typesize": {
/**
This Node.js script converts WebP images to either PNG or JPG format.
It's a command-line tool that processes all WebP files in a specified input folder and saves the converted images in a new output folder with a unique timestamp.
more info below:
*/
const fs = require('fs');
const path = require('path');
const sharp = require('sharp');
const readline = require('readline');
/* based on @file MultiKey.ino || @version 1.0 || @author Mark Stanley|| @contact [email protected]
|| @description This sketch is an example of how you can get multiple key presses from a keypad or keyboard.
|| #
*/
#include <Keypad.h>
#include <BleKeyboard.h>
// 135x240px display
#include <SPI.h>
#include <TFT_eSPI.h> // Hardware-specific
TFT_eSPI tft = TFT_eSPI(135, 240);
{
"version": "90",
"updatedAt": "Fri Apr 08 2022 18:27:06 GMT+0200 (Central European Summer Time)",
"values": {
"global": {
"brand": {
"neutral": {
"value": "#c4c4c4",
"type": "color"
},
@tomhermans
tomhermans / 3-fork-distributed-dots-on-a-half-circle-in-svg-lines-from-center.markdown
Created February 4, 2022 13:13
3 fork: distributed dots on a half circle in SVG + lines from center
@tomhermans
tomhermans / adding-an-eventlistener-to-multiple-elements-using-foreach-js-tweakpane-dec2020.markdown
Created October 13, 2021 22:49
Adding an EventListener to Multiple Elements using forEach() JS + tweakpane - dec2020
@tomhermans
tomhermans / codeswing.json
Last active October 10, 2021 13:12
password-regex-validation
{
"scripts": [],
"styles": [
"https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.16/tailwind.css"
]
}
@tomhermans
tomhermans / codeswing.json
Last active October 7, 2021 13:02
testing codeswing and gistpad for VSCode
{
"scripts": [],
"styles": [
"https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.16/tailwind.css"
]
}