Skip to content

Instantly share code, notes, and snippets.

@YeapGuy
YeapGuy / airtag-decryptor.swift
Last active June 8, 2025 10:36
Decrypt macOS Find My .record file
//
// airtag-decryptor.swift
//
//
// Created by Matus on 28/01/2024.
//
import Foundation
import CryptoKit
// Function to decrypt using AES-GCM
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active July 5, 2025 14:04
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@Jiab77
Jiab77 / samsung-printer-c480w-net-install.md
Last active October 31, 2024 12:17
This is a short guide to keep track on how to setup this damn printer 😅

Installing Nightscout on DigitalOcean Server

Why?

  • You have full SSH access to your server
  • Creating a server takes a minute
  • You can choose from various places on earth where the server should be located
  • You can make a backup / snapshot of the server in order to delete and later restore it (saves money if you don't need it for a while)
  • You pay per hour, the $5 / month version should be sufficient
  • Loads of documentation on how to install things
  • Control and track the server via the DigitalOcean control panel website
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emmanueltissera
emmanueltissera / patchprocess.md
Last active February 2, 2023 12:14
Git - Applying patches to a different branch

Applying Patches to a different branch

Creating the patch

git format-patch -1 HEAD

OR

git format-patch -1 <SHA>

Applying the patch:

@pimeys
pimeys / diabetes.json
Created February 13, 2017 22:55
a diabetes dashboard for grafana+xdrip plus
{
"__inputs": [
{
"name": "DS_DIABETES",
"label": "Diabetes",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
@johnmales
johnmales / Setup Rasbpian Jesse Lite instance
Created September 13, 2016 12:17
oref0-setup.sh script
After installing Raspbian Jesse Lite I ran the following commands to setup OpenAPS:
```
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install npm
sudo apt-get install python python-dev python-setuptools python-software-properties python-numpy
sudo apt-get -y install python python-setuptools git curl
wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
cd && cd src
git clone https://github.com/bewest/decoding-carelink.git
<?
/////////////////////
// slack2html
// by @levelsio
/////////////////////
//
/////////////////////
// WHAT DOES THIS DO?
/////////////////////
//