Skip to content

Instantly share code, notes, and snippets.

View fquinto's full-sized avatar

Fran Quinto fquinto

View GitHub Profile
@geekuillaume
geekuillaume / esphome-lilygot5.yaml
Created January 5, 2022 21:19
Configuration for ESPHome + LilyGo T5 4.7"
esphome:
name: lilygo-t5
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
@unoexperto
unoexperto / patch_apk_for_sniffing.md
Last active August 11, 2024 22:18
How to patch Android app to sniff its HTTPS traffic with self-signed certificate

How to patch Android app to sniff its HTTPS traffic with self-signed certificate

  • Download apktool from https://ibotpeaches.github.io/Apktool/
  • Unpack apk file: java -jar /home/expert/work/tools/apktool.jar d net.flixster.android-9.1.3@APK4Fun.com.apk
  • Modify AndroidManifest.xml by adding android:networkSecurityConfig="@xml/network_security_config" attribute to application element.
  • Create file /res/xml/network_security_config.xml with following content:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config>
import socket
import struct
import binascii
import time
import json
import urllib2
# Use your own IFTTT key, not this fake one
ifttt_key = '9cn3847ntc8394tn8-ab'
# Set these up at https://ifttt.com/maker
@joker-x
joker-x / debian_aeat.sh
Created April 16, 2014 23:46
Parche para hacer funcionar iceweasel en las gestiones de la AEAT
#!/bin/bash
# Cuando tratas de completar un trámite con Hacienda (AEAT)
# mediante un certificado digital correctamente instalado en iceweasel
# salta este error:
# es.gob.afirma.keystores.main.common.AOKeystoreAlternativeException
# Error message: Error al inicializar el almacen NSS unificado de
# Mozilla Firefox
@tomconte
tomconte / iftt_blink1.py
Created January 9, 2013 19:56
This is a very basic Python script that will let you poll ThingM's IFTT event service. You need to change the "IFTT key" in the URL, and use that same key in your IFTT blink(1) channel. I think any 16-character string will work but you should generate your own unique value, possibly including the blink(1) serial number (blink1-tool --list). The …
#!/usr/bin/python
import urllib2
import json
import time
import calendar
import subprocess
url = 'http://api.thingm.com/blink1/events/01234567DEADC0DE'