Skip to content

Instantly share code, notes, and snippets.

sugar_config_si = array (
'setup_db_host_name' => 'localhost',
'setup_db_database_name' => 'sugarcrm',
'setup_db_drop_tables' => true,
'setup_db_create_database' => true,
'setup_site_admin_user_name' => 'admin',
'setup_site_admin_password' => 'admin',
'setup_db_create_sugarsales_user' => false,
'setup_db_admin_user_name' => 'root',
'setup_db_admin_password' => 'root',
#
# This is how I moved a DB2 database from one server to another.
#
# The source DB2 instance was setup to point to db2inst3 with a schema of DB2INST3
# The target DB2 instance was setup to point to db2inst1 with a schema of DB2INST1
#
# The basic flow was to:
# 1. Restore the backup on the target server
# 2. Create a user that matched the source DB user, and grant rights to the target DB user
# 3. Export the source Schema and Table Data
// Basic OLED demo for accelerometer readings from Adafruit MPU6050
// ESP32 Guide: https://RandomNerdTutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/
// ESP8266 Guide: https://RandomNerdTutorials.com/esp8266-nodemcu-mpu-6050-accelerometer-gyroscope-arduino/
// Arduino Guide: https://RandomNerdTutorials.com/arduino-mpu-6050-accelerometer-gyroscope/
#include <Adafruit_MPU6050.h>
#include <Adafruit_SSD1306.h>
#include <Adafruit_Sensor.h>
#include <driver/adc.h>
/* ejri
// This code: connecting 5 accelerometers to esp32.
The processed data is sent to IoT Hub over LTE Cat-M.
LTE cat-M connection over TinyGSM
https://github.com/vshymanskyy/TinyGSM
Note: even though wifi doesn't actually connect:
@chicks
chicks / updates.diff
Last active October 15, 2022 23:07
jackcaddy_lilygo_wifi
(base) chicks@Charless-MacBook-Pro jackcaddy % git show a9c172c505341b7c1d7e87a7de833e14cab89e7e
commit a9c172c505341b7c1d7e87a7de833e14cab89e7e (HEAD -> lte_refactor_broken)
Author: Charles Hicks <[email protected]>
Date: Sat Oct 15 16:02:45 2022 -0700
Attempt to refactor for lte support.
diff --git a/platformio.ini b/platformio.ini
index 26a0870..13d0e63 100644
--- a/platformio.ini