Skip to content

Instantly share code, notes, and snippets.

View thomafred's full-sized avatar

Thomas Li Fredriksen thomafred

View GitHub Profile
@ajudges
ajudges / provision-Devices-IoT-Core.md
Last active July 21, 2021 14:53
How to provision an IoT Device to Google Cloud IoT Core

Provisioning Devices to Google Cloud IoT Core

When deploying IoT devices on a global scale, many considerations have to be put in place. Remote accessibility, security, device management, simplicity, flow control, reliability, low latency, redundancy, integration with other cloud services represent some of the important considerations. To meet most of the requirements needed in deploying devices on a global scale, one has little or no option but to look to cloud platforms.

Google’s cloud platform provides Cloud IoT Core solution to meet the demands of secure and scalable IoT. Cloud IoT Core is a fully managed service to securely connect and manage a global device network. It features https/MQTT endpoints, automatic load balancing and global data access with Pub/Sub. Cloud IoT Core acts as a device manager and the integration with Pub/Sub enables IoT Core to also act as a communication broker. The use of Cloud IoT also ensures highway access to the rest of Google’s cloud platform.

![Cloud IoT Core Workfl

@JayKickliter
JayKickliter / debugging.md
Last active October 23, 2017 06:52
Debugging MBed nRF52DK board with GDB

Debugging nRF52DK MBed applications with GDB

Step 1 (one time only): replace MBed bootloader with JLink bootloader

  1. Power down nRF52DK
  2. Power up nRF52DK while holding down IF BOOT/RESET button
  3. Drag JLink bootloader binary to BOOTLOADER volume
  4. Power-cycle

At this point, the MBed bootloader has been replaced with JLink's.

@probonopd
probonopd / linux_fusion360.md
Last active May 21, 2024 07:40
Autodesk Fusion 360 on Linux

Autodesk Fusion 360 on Linux

In the Web Browser

Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.

https://myhub.autodesk360.com

On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED.

@rebcabin
rebcabin / kalmanSample.c
Last active April 22, 2020 18:16
Kalman filtering as a fold with CBLAS and LAPACK
/*
Copyright 2016 Brian C. Beckman
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@kode54
kode54 / iir_filter.c
Created October 4, 2014 04:34
IIR resonant low pass filter
#include <stdlib.h>
#include <string.h>
#define _USE_MATH_DEFINES
#include <math.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
@mfurquimdev
mfurquimdev / time_example.cpp
Created August 16, 2014 20:53
Operators for struct timeval
#include <iostream>
#include <stdlib.h>
#include <sys/time.h>
#include "timeval_operators.h"
using namespace std;
int main(int argc, char* argv[])
{
timeval t0, t1;