Skip to content

Instantly share code, notes, and snippets.

View seank-com's full-sized avatar

Sean Kelly seank-com

View GitHub Profile
function base64_encode(file) {
// read binary data
var bitmap = fs.readFileSync(file);
// convert binary data to base64 encoded string
return new Buffer(bitmap).toString('base64');
}
1>------ Build started: Project: imxusdhc, Configuration: Release ARM ------
2>------ Build started: Project: mx6pep, Configuration: Release ARM ------
3>------ Build started: Project: HalExtiMX6Timers, Configuration: Release ARM ------
4>------ Build started: Project: HalExtiMX7Timers, Configuration: Release ARM ------
5>------ Build started: Project: audio-common, Configuration: Release ARM ------
6>------ Build started: Project: imxgpio, Configuration: Release ARM ------
7>------ Build started: Project: imxecspi, Configuration: Release ARM ------
8>------ Build started: Project: HalExtiMXDma, Configuration: Release ARM ------
9>------ Build started: Project: imxpwm, Configuration: Release ARM ------
10>------ Build started: Project: mxpowerutil, Configuration: Release ARM ------
1>------ Build started: Project: imxusdhc, Configuration: Release ARM ------
2>------ Build started: Project: mx6pep, Configuration: Release ARM ------
3>------ Build started: Project: HalExtiMX6Timers, Configuration: Release ARM ------
4>------ Build started: Project: HalExtiMX7Timers, Configuration: Release ARM ------
5>------ Build started: Project: audio-common, Configuration: Release ARM ------
6>------ Build started: Project: imxgpio, Configuration: Release ARM ------
7>------ Build started: Project: imxecspi, Configuration: Release ARM ------
8>------ Build started: Project: HalExtiMXDma, Configuration: Release ARM ------
9>------ Build started: Project: imxpwm, Configuration: Release ARM ------
10>------ Build started: Project: mxpowerutil, Configuration: Release ARM ------
1>------ Build started: Project: imxusdhc, Configuration: Release ARM ------
2>------ Build started: Project: mx6pep, Configuration: Release ARM ------
3>------ Build started: Project: HalExtiMX6Timers, Configuration: Release ARM ------
4>------ Build started: Project: HalExtiMX7Timers, Configuration: Release ARM ------
5>------ Build started: Project: audio-common, Configuration: Release ARM ------
6>------ Build started: Project: imxgpio, Configuration: Release ARM ------
7>------ Build started: Project: imxecspi, Configuration: Release ARM ------
8>------ Build started: Project: HalExtiMXDma, Configuration: Release ARM ------
9>------ Build started: Project: imxpwm, Configuration: Release ARM ------
10>------ Build started: Project: mxpowerutil, Configuration: Release ARM ------
@seank-com
seank-com / iotedgeinstalltx2_gist.md
Last active September 11, 2023 09:26 — forked from marktayl1/iotedgeinstalltx2_gist.md
Install Steps for IoT Edge on NVIDIA Jetson Tx2

Install Steps for IoT Edge on NVIDIA Jetson Tx2

Multi-architecture method

Prerequisites: This assumes you already have docker up and running. You can also use Moby by following the instructions at https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-linux-arm just before the installation of IoT Edge in step: 10

  1. $ sudo dpkg --add-architecture armhf
  2. $ sudo apt-get update
  3. $ sudo apt-get install libc-bin libc-bin libc-dev-bin libc6 libc6:armhf libc6-dev libgcc1 libgcc1:armhf locales
  4. $ wget http://ports.ubuntu.com/ubuntu-ports/pool/main/h/hostname/hostname_3.16ubuntu2_armhf.deb
  5. $ sudo dpkg -i ./hostname_3.16ubuntu2_armhf.deb
@seank-com
seank-com / makefile
Created August 15, 2019 20:21
sample gcc makefile
INC=\
-I/usr/local/include/azureiot
LIB=\
-lwiringPi \
-liothub_client \
-liothub_client_mqtt_transport \
-lserializer \
-lumqtt \
@seank-com
seank-com / LLM.md
Created March 31, 2023 00:30 — forked from rain-1/LLM.md
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.