Skip to content

Instantly share code, notes, and snippets.

View goldbattle's full-sized avatar

Patrick Geneva goldbattle

View GitHub Profile
int n = (int)Amm.rows();
double **M = new double *[n];
double *evals = new double[n]; // Store the eigenvalues here.
double **evecs = new double *[n]; // Store the eigenvectors here.
for (int r = 0; r < n; r++) {
M[r] = new double[n];
evecs[r] = new double[n];
for (int c = 0; c < n; c++) {
M[r][c] = Amm(r, c);
}
type: vertical-stack
title: Containers Running
cards:
- type: custom:auto-entities
card:
type: custom:layout-card
layout_type: horizontal
layout_options:
width: 120
max_cols: 5
/**
* @brief Given a gravity vector, compute the rotation from the inertial reference frame to this vector.
*
* The key assumption here is that our gravity is along the vertical direction in the inertial frame.
* We can take this vector (z_in_G=0,0,1) and find two arbitrary tangent directions to it.
* https://en.wikipedia.org/wiki/Gram%E2%80%93Schmidt_process
*
* @param gravity_inI Gravity in our sensor frame
* @param R_GtoI Rotation from the arbitrary inertial reference frame to this gravity vector
# to fix cookie problem because not behind proxy
# need to remove the following
# https://github.com/overleaf/overleaf/issues/1032#issuecomment-1279719119
SHARELATEX_SITE_URL
SHARELATEX_SECURE_COOKIE
SHARELATEX_BEHIND_PROXY
# docker in unraid cmd
docker container ls
{
"_id": "a5430fbf-cda9-4a23-bfbd-580a56133778",
"created_at": "2023-05-18T13:52:18.082-04:00",
"channel_id": "26301881",
"content_type": "video",
"content_id": "1823185891",
"content_offset_seconds": 123.391516992,
"commenter":
{
"display_name": "BraveShadow",

Recteq Grill Home Assistent Integration via LocalTuya

Some intial background. I have a Recteq RT-B380X Bullseye Deluxe that I wish to track its usage from home assistent and have local control over it. It is important to note that this will require you to unpair your grill from the Recteq app, which I was ok with since I could just control it via HA if desired. There are some projects which have worked to add this to home assistent but have since stopped working due to issues getting the localkey and protocal changes.