Skip to content

Instantly share code, notes, and snippets.

View adamplabarge's full-sized avatar

Adam LaBarge adamplabarge

View GitHub Profile
@adamplabarge
adamplabarge / javasctipt_extra_practice.js
Last active June 13, 2021 21:53
NuCamp ES6 - extra practice - JavaScript Array and Object
// Here is some extra practice work for javascript arrays and objects.
const data = [
{
id: 2,
name: 'Michael',
address: {
state: 'CA',
zip: 94501
}
},
@adamplabarge
adamplabarge / bluecharm.js
Last active May 28, 2022 04:47
[DOES NOT CURRENTLY SEEM TO WORK] A script to listen to BC08 Water-Resistant iBeacon BLE 4.0/5.0 MultiBeacon
// NOTE - This code does not seem to show motion events from the beacon.
/**
...dependencies & engine
"dependencies": {
"@abandonware/bluetooth-hci-socket": "^0.5.3-8",
"@abandonware/noble": "^1.9.2-15",
"node-beacon-scanner": "^0.2.2"
},
"engines": {
"node": "12.22.12",
@adamplabarge
adamplabarge / docker-compose.yml
Created August 23, 2022 01:34
WordPress, phpMyAdmin, MariaDb, NocoDb
version: '3'
services:
db:
# We use a mariadb image which supports both amd64 & arm64 architecture
image: mariadb
# If you really want to use MySQL, uncomment the following line
#image: mysql:8.0.27
command: '--default-authentication-plugin=mysql_native_password'
volumes:
- db_data:/var/lib/mysql