Skip to content

Instantly share code, notes, and snippets.

@jlobos
jlobos / run_uitests_parallel.sh
Created January 16, 2025 18:05 — forked from triztian/run_uitests_parallel.sh
A script to run clean parallel iOS UI Tests
#!/bin/zsh
# run_uitests_parallel.sh
# ParallelUITests
#
# Created by Tristian Azuara on 9/13/20.
set -e
device_name="CI UI Parallel"
echo "=> 1. Creating new device: '$device_name'"
@jlobos
jlobos / generate_instagram_enc_password.py
Created December 27, 2024 02:43 — forked from lorenzodifuccia/generate_instagram_enc_password.py
Encryption function used by Instagram (Browser App) to generate the 'enc_password' from PubKey (AES-GCM + SealedBox)
import base64
import struct
import datetime
import binascii
from urllib.parse import quote_plus
# pip install pycryptodomex
from Cryptodome import Random
from Cryptodome.Cipher import AES
@jlobos
jlobos / keymap.py
Created June 28, 2024 16:40 — forked from scientificRat/keymap.py
Use raspberry pi as Bluetooth HID mouse/keyboard emulator
#
# Taken from https://www.gadgetdaily.xyz/create-a-cool-sliding-and-scrollable-mobile-menu/
#
# Convert value returned from Linux event device ("evdev") to a HID code. This
# is reverse of what's actually hardcoded in the kernel.
#
# Lubomir Rintel <[email protected]>
# License: GPL
#
# Ported to a Python module by Liam Fraser.