Skip to content

Instantly share code, notes, and snippets.

View jzarca01's full-sized avatar

Jérémie Zarca jzarca01

View GitHub Profile
@adtac
adtac / README.md
Last active February 27, 2026 11:05
Using your Kindle as an e-ink monitor

3.5 fps, Paperwhite 3
@adtac_

step 1: jailbreak your Kindle

mobileread.com is your best resource here, follow the instructions from the LanguageBreak thread

I didn't really follow the LanguageBreak instructions because I didn't care about most of the features + I was curious to do it myself, but the LanguageBreak github repo was invaluable for debugging

@BennyCarlsson
BennyCarlsson / App.tsx
Last active December 5, 2024 13:50
useSyncExternalStore Firebase
function App() {
const data = useFirestore();
return <h1>{data}</h1>;
}
@henrik242
henrik242 / airtag-to-gpx-sync.sh
Last active February 28, 2026 00:36
Read AirTag data from the FindMy.app cache and convert to GPX
#!/usr/bin/env bash
#
# Reads AirTag data from the FindMy.app cache and converts it to a daily GPX file
#
# Rsyncs the data to a web accessible folder that can be displayed with e.g.
# https://gist.github.com/henrik242/84ad80dd2170385fe819df1d40224cc4
#
# This should typically be run as a cron job
#
@cliffordwhansen
cliffordwhansen / presence_non_binary.yaml
Last active February 24, 2026 14:31
Making Home Assistant’s Presence Detection not so Binary
blueprint:
name: "Person: Status Update"
description: Making Home Assistant’s Presence Detection not so Binary
domain: automation
input:
person_device_tracker:
name: Device tracker
description: This is the device tracker for the person
selector:
entity:
@hmatejx
hmatejx / exchanges.txt
Created April 28, 2021 19:47
Exchanges and XRP addresses
Address Name
r4hYwnBsNH764iTfhRSopu4M3Ct5gMkCGD BW
rJJpadphZDS2zKeheW4NiGE2UmdRjaTJLd BW
rpeLWnD5gCvxQp3V537drERQE24rg5yDyd BW
rKm6XqTFgJUpwwHhuXoPdGPtcbEhtj3Sza BW
rBV8rBpa56jqzuDpnsJKyoCfQ2KtWDAx2V BW
rpxyLEdkPiDVuG75ouVD2ApoKtvXf5zgwj DMM
rKP8QPCMPsxSBR7MW3SjuwADdV3ELHmDeC DMM
rHnd99GBCXDNiNkSme6wq5V3EDdpfHrSyp DMM
rQHoYXU12UhnsYDW7dQdVPKTbDLENJnVQr DMM
@CokePokes
CokePokes / gist:d50384a053478b7ac3564d121b8907d1
Last active September 10, 2020 08:38
How to use letsdowngrade
@interface letsdowngrade : NSObject
- (id)init;
- (void)performAppInstallFromBundleId:(NSString*)bundleID externalIdentifier:(NSString*)externalIdentifier promptDeletion:(BOOL)prompt;
@end
How to use in tweak:
void *handle = dlopen("/Library/MobileSubstrate/DynamicLibraries/letsdowngrade.dylib", RTLD_NOW);
if (!handle){
@rithvikvibhu
rithvikvibhu / LICENSE
Last active March 11, 2026 09:17
Get tokens for Google Home Foyer API
MIT License
Copyright (c) 2020 Rithvik Vibhu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@conclusionlogic
conclusionlogic / openssl_android
Created December 20, 2019 15:55
[extract SHA256 hash from SSL certificate] for Android certificate pinning #bash #openssl #pinning #android
#!/usr/bin/env bash
## from a running webserver
$ export DOMAIN="example.com"
$ openssl s_client -servername ${DOMAIN} -connect ${DOMAIN}:443 < /dev/null | sed -n "/-----BEGIN/,/-----END/p" | openssl x509 -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64 | pbcopy
## from certificate file
$ cat example.com.crt | openssl x509 -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64 | pbcopy
@rithvikvibhu
rithvikvibhu / README.md
Last active April 12, 2024 15:32
GHLocalApi Update

GHLocalApi Update

The Gist

Until recently, the Google Home app used to communicate with the device over port 8008 (HTTP) and did not require any authentication. Everything in the unofficial documentation worked as expected.

A few days (weeks) ago, Google pushed a new update to all GH devices and all endpoints (except /setup/eureka_info) started returning 403 (forbidden) errors. The app had switched over to port 8443 and HTTPS.

@EvanBacon
EvanBacon / apple-touch-startup-image.html
Created April 17, 2019 07:10
An example of full iOS PWA startup image (splash screen) support.
<html>
<head>
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-title" content="Expo" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<link
rel="apple-touch-icon"
sizes="180x180"