Skip to content

Instantly share code, notes, and snippets.

@wmadfaa
wmadfaa / BLE-programming-Raspberry-Pi.md
Created July 14, 2022 15:39 — forked from stonehippo/BLE-programming-Raspberry-Pi.md
Bluetooth LE Programming On Raspberry Pi

Bluetooth LE Programming On Raspberry Pi

I'm looking at building up some Bluetooth LE programming expertise on Linux, specifically for use with Raspberry Pi 3 B+ and Pi Zero W models.

This is a compendium of libraries and tools that I'm looking at to build that skill on.

DON'T FORGET!!!

On the Raspberry Pi Zero W, a user must be a member of the bluetooth group to work with tools like bluetoothctl. Set this up with:

@wmadfaa
wmadfaa / JavaScript GUI libraries.md
Created September 24, 2021 11:26 — forked from SMUsamaShah/List of JavaScript GUI libraries.md
dat.gui alternatives to create GUI from JavaScript object

JavaScript GUI libraries

These libraries can be used to quickly create a GUI for configureable parameters using sliders, checkboxes, colors pickers etc

  1. Tweakpane https://cocopon.github.io/tweakpane/
  2. control-panel https://github.com/freeman-lab/control-panel
  3. ControlKit https://github.com/automat/controlkit.js
  4. guify https://github.com/colejd/guify Main site is down, here is the demo https://jons.website/projects/guify/index
  5. oui https://github.com/wearekuva/oui
  6. Palette.js https://github.com/lehni/palette.js
@wmadfaa
wmadfaa / machine.js
Created March 31, 2021 10:13
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@wmadfaa
wmadfaa / machine.js
Last active March 23, 2021 23:53
Generated by XState Viz: https://xstate.js.org/viz
const increment = context => context.count + 1;
const decrement = context => context.count - 1;
const counterMachine = Machine({
initial: 'active',
context: {
count: 0
},
states: {
active: {
@wmadfaa
wmadfaa / .storybook
Created December 16, 2020 15:21 — forked from ademilter/.storybook
postcss config for storybook
- webpack.config.js
- postcss.config.js
- config.js
- addons.js
@wmadfaa
wmadfaa / package.json
Created December 7, 2020 21:15 — forked from adamreisnz/package.json
Simple pure npm scripts build process
{
"name": "project-name",
"description": "Template for static sites",
"version": "1.0.0",
"homepage": "http://www.project-name.com",
"author": {
"name": "Adam Reis",
"url": "http://adam.reis.nz"
},
"license": "UNLICENSED",
@wmadfaa
wmadfaa / fragments.js
Created November 18, 2020 17:32 — forked from nicoandrade/fragments.js
Gatsby gatsby-transformer-sharp fragments
/**
* This is a list of the parameters for the gatsby-transformer-sharp fragments
* If you are trying to use, for example, '...GatsbyImageSharpFluid' and you are getting this error:
* Unknown fragment "GatsbyImageSharpFluid"
* Just use the parameters directly
*
* The simplest set of fields for fixed sharp images
* @type {Fragment}
* @example
* childImageSharp {
ZSH_THEME="af-magic"
plugins=(git colored-man-pages colorize pip python brew osx zsh-syntax-highlighting command-not-found dotenv node npm nvm vscode yarn zsh-navigation-tools zsh_reload zsh-autosuggestions)