Skip to content

Instantly share code, notes, and snippets.

View cadenassog's full-sized avatar

Gaston Cadenasso cadenassog

  • Distribuciones El Chango S.R.L.
  • Viedma - Rio Negro
View GitHub Profile
@warwickchapman
warwickchapman / dynDns.rsc
Last active April 10, 2025 17:22
Mikrotik RouterOS 7 Cloudflare DNS Record Update
# Prerequisites
# - A Cloudflare account and a domain managed by Cloudflare.
# - The Zone ID of your domain in Cloudflare. You can find this in the Cloudflare dashboard under your domain's overview tab.
# - An API token with permissions to edit DNS records. You can create this in the Cloudflare dashboard under "My Profile" > "API Tokens".
# Creating an API Token in Cloudflare
# - Go to Cloudflare Dashboard > My Profile > API Tokens.
# - Click "Create Token".
# - Use the "Edit zone DNS" template.
# - Set permissions for the specific zone (domain) you wish to update via DDNS.
@superjojo140
superjojo140 / apache_and_php.md
Last active April 9, 2025 23:37
Apache, PHP, MariaDB and PhpMyAdmin on Archlinux

Guide to install a LAMP system on on your archlinux system and serve php-based database applications.
LAMP stands for a Linux system with Apache (webserver), MariaDB (database) and PHP (programming language). In this guide we will also install PhpMyAdmin (database admin GUI) to easily manage the SQL tables.

Apache

apache logo

The Apache HTTP Server is an open-source and free product of the Apache Software Foundation and one of the most widely used web servers on the Internet. In addition to factors such as performance, expandability, security, freedom from license costs and support from a very large community, its long-term availability for a wide variety of operating systems is one of the reasons for its widespread use; it is most frequently used as a LAMP system.

Install packages

@unresolvedsymbol
unresolvedsymbol / nps2pkgi.py
Last active September 14, 2023 05:21
PKGi-PS3 database generator (via NPS)
#!/usr/bin/env python3
import csv, codecs, urllib.request
print('Database generator by Void')
host = codecs.decode(b'aHR0cHM6Ly9ub3BheXN0YXRpb24uY29tL3Rzdg==', 'base64').decode('ascii')
content = {
"unknown" : "",
"games": "PS3_GAMES.tsv",
@sergiks
sergiks / MiniBoost.py
Last active April 6, 2023 19:46
DJI Mavic Mini CE fake GPS lock
import serial
comport = "COM5"
ser = serial.Serial(comport, 9600)
command1 = b'\x55\x0e\x04\x66\x2a\x1b\x07\x27\x40\x06\xfb\x02\xac\x35'
ser.write(command1)
print ('You have hacked Your Mini')
@jamesmcm
jamesmcm / networkns.sh
Created January 26, 2020 13:35
networkns.sh
# Running specific applications through a VPN with network namespaces
# Initial state
curl ifconfig.co/city
sudo ip link list
sudo ip netns list
# Disable Uncomplicated Firewall (Ubuntu)
sudo ufw disable
@LucioD3v
LucioD3v / .json YouTube
Last active August 19, 2024 05:35
JSON YouTube Skill
{
"interactionModel": {
"languageModel": {
"invocationName": "YouTube",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": [
"cancela"
]
@anhhtz
anhhtz / Ubiquiti UniFi SSH Commands.md
Last active March 15, 2023 16:46
Ubiquiti UniFi SSH Commands

Ubiquiti UniFi SSH Commands:

Login

root / ubnt or ubnt / ubnt

Reboot

Reboot

Reset AP to Factory Default

syswrapper.sh restore-default

@xmfcx
xmfcx / Voice-Controlled-IoT.md
Last active February 13, 2025 09:18
OK Google, Arduino Uno, ESP8266, Blynk, IFTTT, Google Assistant Integration Tutorial

OK Google, Arduino Uno, ESP8266, Blynk, IFTTT, Google Assistant Integration Tutorial

This is a tutorial to realize following video: https://www.youtube.com/watch?v=PBiOGvJRPqg

Requirements:

  • Android phone Marsmallow or higher or Apple phone (for google assistant)
  • IFTTT app
  • Blynk app
  • Arduino UNO
  • ESP8266 Wifi module
@swiftgeek
swiftgeek / iButtonRW.ino
Last active April 13, 2025 13:58
RW1990 programmer, with arduino
// Based on https://danman.eu/blog/cloning-ibutton-using-rw1990-and-avr/
// and: http://elimelecsarduinoprojects.blogspot.com/2013/06/read-dallas-ibutton-arduino.html
// By Swift Geek 28-08-2015
// TODO: danger to atmega328! Use OpenCollector logic!
// Used 4.8kΩ Pull-up and 3.1 Vcc for arduino/pull-up
#include <OneWire.h>
OneWire ibutton (8); // I button connected on PIN 2.
@kennedy
kennedy / BF888S_default_01012019.csv
Last active January 18, 2025 00:35
Baofeng BF888S default frequencies
Location Name Frequency Duplex Offset Tone rToneFreq cToneFreq DtcsCode DtcsPolarity Mode TStep Skip Comment URCALL RPT1CALL RPT2CALL DVCODE
1 462.125000 0.000000 TSQL 88.5 69.3 023 NN FM 5.00 S
2 462.225000 0.000000 88.5 88.5 023 NN FM 5.00 S
3 462.325000 0.000000 88.5 88.5 023 NN FM 5.00 S
4 462.425000 0.000000 TSQL 88.5 103.5 023 NN FM 5.00 S
5 462.525000 0.000000 TSQL 88.5 114.8 023 NN FM 5.00 S
6 462.625000 0.000000 TSQL 88.5 127.3 023 NN FM 5.00 S
7 462.725000 0.000000 TSQL 88.5 136.5 023 NN FM 5.00 S
8 462.825000 0.000000 TSQL 88.5 162.2 023 NN FM 5.00 S
9 462.925000 0.000000 DTCS 88.5 88.5 023 NN FM 5.00 S