Skip to content

Instantly share code, notes, and snippets.

@psolyca
psolyca / honor_band_4_re.md
Last active April 23, 2024 19:37
Honor Band 4 RE

Introduction

Lots of works have been made to communicate with the Honor Band 3/4 in order to be used with GadgetBridge.
RE is followed in issue 1021 BTW, communication where not complete and the RE was done on BLE LPv2.
A new protocol LPv3 appeared.

Goal

RE the LPv3 BLE protocol and integrate Honor devices in GadgetBridge.

Keys

@dapize
dapize / TP-Link-AC1300-driver-installer-Linux-Debian.sh
Last active April 23, 2024 19:35
TP-Link AC1300 driver installer Linux Debian
@namazso
namazso / CMakeLists.txt
Created March 26, 2024 10:22
Universal function proxy
cmake_minimum_required(VERSION 3.28)
project(untitled C ASM)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_ASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreaded "")
set(CMAKE_ASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDLL "")
set(CMAKE_ASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDebug "")
set(CMAKE_ASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDebugDLL "")
@beryann
beryann / Aléatoire#1.rb
Last active April 23, 2024 19:34
Aléatoire#1
Aléatoire #1 début
with_fx :level, amp: 0.4 do
use_random_source :white
live_loop :source do
@yassineaboukir
yassineaboukir / List of API endpoints & objects
Last active April 23, 2024 19:31
A list of 3203 common API endpoints and objects designed for fuzzing.
0
00
01
02
03
1
1.0
10
100
1000
@bcnzer
bcnzer / postman-pre-request.js
Last active April 23, 2024 19:26
Postman pre-request script to automatically get a bearer token from Auth0 and save it for reuse
const echoPostRequest = {
url: 'https://<my url>.auth0.com/oauth/token',
method: 'POST',
header: 'Content-Type:application/json',
body: {
mode: 'application/json',
raw: JSON.stringify(
{
client_id:'<your client ID>',
client_secret:'<your client secret>',
@tatumroaquin
tatumroaquin / archlinux-qemu-kvm.md
Last active April 23, 2024 19:25
QEMU-KVM Installation for Arch Linux

Arch Linux QEMU-KVM

install all necessary packages

sudo pacman -S virt-manager virt-viewer qemu qemu-arch-extra \
edk2-ovmf vde2 ebtables dnsmasq bridge-utils openbsd-netcat libguestfs

enable libvirt daemon

[
"1185030898148724777",
"956131521733984287",
"956097947727179806",
"1185045871478448242",
"932096380879667253",
"956246550152118374",
"928549000431407164",
"976786710836944936",
"956128945227567145",
@mp035
mp035 / tk_scroll_demo.py
Last active April 23, 2024 19:23
A simple scrollable frame class for tkinter, including example usage.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
import tkinter as tk
import platform
# ************************
# Scrollable Frame Class
# ************************
@bradtraversy
bradtraversy / node_nginx_ssl.md
Last active April 23, 2024 19:23
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user