Skip to content

Instantly share code, notes, and snippets.

View mrprompt's full-sized avatar
:octocat:
I may be slow to respond.

Thiago Paes mrprompt

:octocat:
I may be slow to respond.
View GitHub Profile
@thiagokokada
thiagokokada / LEIAME.md
Last active February 18, 2025 16:44
[Vivo Fibra] Usando RTF3507VW-N1 em modo bridge

[Vivo Fibra] Usando RTF3507VW-N1 em modo bridge

Por que usar o RTF3507VW-N1 em modo bridge?

O roteador Askey RTF3507VW-N1 fornecido pela Vivo tem vários problemas:

  • Existe um cache interno de DNS (usando o dnsmasq?) bugado: ao fazer a mesma requisição DNS duas vezes seguidas, a primeira resposta vem correta, porém na seguinte temos:
@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.
php -v
pecl version
sudo apt-get install php7.4-dev -y
sudo apt-get install php-pear
sudo apt-get -y install gcc make autoconf libc-dev pkg-config -y
sudo pecl channel-update pecl.php.net
sudo apt-get -y install libmcrypt-dev
sudo pecl install mcrypt-1.0.3 # 7.4
# php 7.4
@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 -
@m5lil
m5lil / reset.sh
Last active May 8, 2025 10:31
[reset jetbrains application trial] reset jetbrains ide evals v1.0.4 #others
#!/bin/bash
# reset jetbrains ide evals v1.0.4
OS_NAME=$(uname -s)
JB_PRODUCTS="IntelliJIdea CLion PhpStorm GoLand PyCharm WebStorm Rider DataGrip RubyMine AppCode"
if [ "$OS_NAME" == "Darwin" ]; then
echo 'macOS:'
for PRD in $JB_PRODUCTS; do
@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
@juanje
juanje / podman_comands.sh
Created June 10, 2020 14:53
Run Redis with Podman. As a Systemd service and as a Pod.
# This is a simple example of how to run a basic service inside a container with Podman
# Podman
## Pull the Docker image
podman pull docker.io/redis
## Run the container as you would do with Docker
podman run -d --name redis_server -p 6379:6379 redis
# But Podman facilitate some extra ways:
@icebob
icebob / k3s_helm_install.sh
Last active May 8, 2025 08:27
K3S + Helm installing
# Install K3S
curl -sfL https://get.k3s.io | sh -
# Copy k3s config
mkdir $HOME/.kube
sudo cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config
sudo chmod 644 $HOME/.kube/config
# Check K3S
kubectl get pods -n kube-system