Skip to content

Instantly share code, notes, and snippets.

View beosro's full-sized avatar
💭
Grabbing info!

beosro

💭
Grabbing info!
View GitHub Profile

nvm allows you to quickly install and use different versions of node via the command line.

curl

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
@beosro
beosro / A0_NOTICE.md
Created April 19, 2021 15:07 — forked from YashasSamaga/A0_NOTICE.md
GSoC 2019 | OpenCV | Adding a CUDA backend to the DNN module

DISCLAIMER

This gist documents the Google Summer of Code project. It is not updated and hence does not indicate current status of the CUDA backend.

For updated details, please see this gist.

#include <SimpleTimerA.h>
#include <PubSubClient.h>
#include <Ethernet.h>
#include <SPI.h>
//USER CONFIGURED SECTION START//
const char* mqtt_server = "192.168.1.27";
const int mqtt_port = 1883;
const char *mqtt_user = "MQTT";
const char *mqtt_pass = "xxxxxxx";
@beosro
beosro / throttled.sh
Created January 13, 2021 16:16 — forked from aallan/throttled.sh
Script to parse the output of the 'vcgencmd get_throttled' command on a Raspberry Pi
#!/bin/bash
# https://retropie.org.uk/forum/topic/2295/runcommand-warning-if-voltage-temperature-throttling
#Flag Bits
UNDERVOLTED=0x1
CAPPED=0x2
THROTTLED=0x4
HAS_UNDERVOLTED=0x10000
HAS_CAPPED=0x20000
@beosro
beosro / tegra-cam-caffe-threaded.py
Created January 22, 2020 23:20 — forked from jkjung-avt/tegra-cam-caffe-threaded.py
Capture live video from camera and do Caffe image classification on Jetson TX2/TX1.
# --------------------------------------------------------
# Camera Caffe sample code for Tegra X2/X1
#
# This program captures and displays video from IP CAM,
# USB webcam, or the Tegra onboard camera, and do real-time
# image classification (inference) with Caffe. Refer to the
# following blog post for how to set up and run the code:
#
# https://jkjung-avt.github.io/camera-caffe-threaded/
#
@beosro
beosro / camera-ssd-threaded.py
Created January 22, 2020 23:15 — forked from jkjung-avt/camera-ssd-threaded.py
Capture live video from camera and do Single-Shot Multibox Detector (SSD) object detetion in Caffe on Jetson TX2/TX1.
# --------------------------------------------------------
# Camera Single-Shot Multibox Detector (SSD) sample code
# for Tegra X2/X1
#
# This program captures and displays video from IP CAM,
# USB webcam, or the Tegra onboard camera, and do real-time
# object detection with Single-Shot Multibox Detector (SSD)
# in Caffe. Refer to the following blog post for how to set
# up and run the code:
#
@beosro
beosro / mjpeg2.py
Created November 8, 2019 22:53 — forked from walchko/mjpeg2.py
a better mjpeg streamer in python using opencv 3.x
#!/usr/bin/env python
# MIT License
# (c) 2017 Kevin J. Walchko
from __future__ import print_function
import cv2
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
import time
import argparse
@beosro
beosro / rpi3_iot_server.md
Created April 26, 2019 15:27 — forked from xoseperez/rpi3_iot_server.md
Raspberry Pi 3 with Mosquitto, Node-RED, InfluxDB, Grafana and Nginx (as a reverse proxy)
@beosro
beosro / docker.sh
Created April 13, 2019 09:57 — forked from kikitux/docker.sh
Install docker-ce in odroid xu4/xu4q linux-arm arm
#!/usr/bin/env bash
set -e
apt-get update
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository \
"deb [arch=armhf] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
@beosro
beosro / ui-lovelace.yaml
Created December 18, 2018 10:26 — forked from dale3h/ui-lovelace.yaml
[Lovelace] How to Duplicate a Lovelace Card
title: Home
views:
- title: View 1
cards:
- &card1
type: entities
title: Card 1
show_header_toggle: false
entities:
- light.bedroom