Skip to content

Instantly share code, notes, and snippets.

View LinusU's full-sized avatar
😅
Up to a few hundred notifications again, working thru them...

Linus Unnebäck LinusU

😅
Up to a few hundred notifications again, working thru them...
View GitHub Profile
@LinusU
LinusU / generate.js
Last active September 22, 2023 19:44
Stripe TypeScript definition generation
const input = require('./spec3.json')
function titleCase(snake) {
return snake.replace(/(^|_)([a-z])/g, (s) => s.replace('_', '').toUpperCase())
}
function isPrimitive(schema) {
switch (schema.type) {
case 'boolean':
case 'number':
@LinusU
LinusU / Flite_Sensor_Controller_DIY.md
Created November 26, 2023 14:17 — forked from DJMarlow/Flite_Sensor_Controller_DIY.md
Flite Keg Sensor and Controller DIY

FLITE KEG SENSOR AND CONTROLLER DIY

This DIY will walk you through the steps to build your own Flite keg sensor and controller. Before getting started, it's recommended that you have the following tools and skills:


TOOLS

  • Drill press with drill bits for stainless steel
  • Soldering iron
  • 3D printer