Skip to content

Instantly share code, notes, and snippets.

View mrprompt's full-sized avatar
🏠
Working from home

Thiago Paes mrprompt

🏠
Working from home
View GitHub Profile
@mondaini
mondaini / Remote.md
Last active November 24, 2023 20:08
List of companies hiring for full remote positions to work with companies in the US/Europe
@edharman
edharman / Dockerfile
Created March 17, 2021 14:50
Running RMS within a Docker container
FROM scratch
LABEL "version=0.1"
FROM dorowu/ubuntu-desktop-lxde-vnc
RUN apt-get update && apt-get install -y git \
git mplayer python3 python3-dev python3.8-tk python3-pip libblas-dev libatlas-base-dev \
liblapack-dev at-spi2-core libopencv-dev python-imaging-tk libffi-dev libssl-dev socat ntp \
libxml2-dev libxslt-dev imagemagick ffmpeg cmake unzip \
--no-install-recommends
@edharman
edharman / gist:2eb2f019131109191c4e626f815d25a0
Last active July 15, 2021 16:41
HowTo run multiple RMS cameras from a single host
This is a very much WIP -
From a default RMS install –
Open a terminal
$: ‘sudo pip3 install virtualenv-clone’
$: virtualenv-clone vRMS <new env-name>
Note: the new env directory must reside at the same directory level as your base RMS install, e.g.
@edharman
edharman / README
Last active February 24, 2022 17:38
GMN RMS install scripts for Linux
Copy and save both install.sh and opencv4_install.sh to your home directory ~/
make them executable -
chmod +x *.sh
You may wish to edit the opencv4_install.sh to reflect any additional components you may wish to configure e.g. GPU options.
As-is this should work ok if you have an Intel Iris enabled CPU, if you use Nvidia you'll have to google for specific instructions.
Also you can optimise the number of threads used for the compilation by adjusting the line -
make -j4
to -
@jj1bdx
jj1bdx / direwolf.conf
Last active February 24, 2024 19:41
Direwolf 1.6G configuration and settings for Raspberry Pi 3B and SCU-17
ACHANNELS 1
# SCU-17 PCM CODEM device: check with `aplay -l`
ADEVICE plughw:1,0
# This serial device name is for SCU-17. Use `if01-port0` for the PTT control of the data port with RTS.
PTT /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_devicename-if01-port0 RTS
CHANNEL 0
MYCALL yourcall-SSID
@shawwwn
shawwwn / uping.py
Last active May 10, 2024 12:25
µPing: Ping library for MicroPython
# µPing (MicroPing) for MicroPython
# copyright (c) 2018 Shawwwn <shawwwn1@gmail.com>
# License: MIT
# Internet Checksum Algorithm
# Author: Olav Morken
# https://github.com/olavmrk/python-ping/blob/master/ping.py
# @data: bytes
def checksum(data):
if len(data) & 0x1: # Odd number of bytes
@lxe
lxe / goes16-rtlsdr.md
Last active May 8, 2024 20:43
Receive GOES-16 and GOES-17 Images with a Raspberry Pi and RTL-SDR dongle
@aaronpenne
aaronpenne / images_to_gif.py
Created August 29, 2018 23:26
Converts images in a directory to an animated gif. Directory and image type are selectable. Requires imageio.
import os
import sys
import imageio
import argparse
import datetime
parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter,
description='Convert images in a directory to gif.\nDefaults to png files in current directory.')
parser.add_argument('-d', '--dir', help='directory containing image files')
parser.add_argument('-f', '--format', help='image format to be converted to gif')
@lcobucci
lcobucci / text.md
Last active May 24, 2018 16:33
OMG I've created yet another microframework!

OMG I've created yet another microframework!

Yeap, that's right... you didn't misread it 😂

Oh no, are you crazy? Why on Earth did you do that!?

Great question! I'll try to explain my reasons here.

But first, let me make one thing straight: I actually didn't create a microframework. I've created a small set of abstractions that allow us to use many different components together

@gerardo-junior
gerardo-junior / Dockerfile
Last active April 1, 2019 00:53
example of installing xdebug inside a docker container
FROM library/alpine:3.7
ARG DEBUG=false
ARG XDEBUG_VERSION=2.6.0
ARG XDEBUG_VERSION_SHA256=b5264cc03bf68fcbb04b97229f96dca505d7b87ec2fb3bd4249896783d29cbdc
ARG XDEBUG_SOURCE_URL=https://xdebug.org/files
# ( ... ) Install the php
# Compile, install and configure XDebug php extension