Skip to content

Instantly share code, notes, and snippets.

@obfusk
obfusk / apkrepotool-cert.py
Last active January 19, 2025 22:42
get APK cert fingerprint using apkrepotool
#!/usr/bin/env python3
import hashlib
import sys
import apkrepotool
from pathlib import Path
for apk in sys.argv[1:]:
certs, _ = apkrepotool.get_signing_certs(Path(apk))
@zacs
zacs / tars-lines.txt
Last active January 19, 2025 22:40
Every line spoken by TARS in Interstellar. Not many, but in case you want to train a NN or Markov chain.
How did you find this place?
You had the coordinates for this facility marked on your map. Where did you get them?
How did you find us?
All here, Mr Cooper. Plenty of slaves for my robot colony.
I have a cue light I can turn on when I’m joking, if you like.
You can use it to find your way back to the ship after I blow you out the airlock.
One hundred percent.
Ninety percent.
Absolute honesty isn’t always the most diplomatic, or safe form of communication with emotional beings.
Eight months to Mars, then counter-orbital slingshot around.
@natmchugh
natmchugh / copying-Paxton-fobs.md
Last active January 19, 2025 22:38
How to copy, read and write Paxton fobs and cards with an RFIDler

How to copy, read and write Paxton fobs and cards with an RFIDler

A newer version of this info is available at https://badcfe.org/how-to-paxton-with-rfidler/

Paxton fobs and readers are popular in the UK especially the Net2 system where the fobs look like this with a blue ring: Paxton Fob

Paxton readers often look like this:

Paxton Reader

@xrandox
xrandox / palworldlua.md
Last active January 19, 2025 22:35
Teh's Lua Modding in Palworld Tutorial

DISCLAIMER: I am not an expert on UE4SS or lua modding. In fact, Palworld is the first game I've done any UE4SS modding. I self-taught myself from the UE4 docs, discord convos and brute force. I might not always do things the best way. But I have made a handful of mods and I think I have at least a decent understanding of the basics and overall process, and that's what I'm going to try and cover in this guide.


Prologue | Ground Rules

Hi, so I'm Teh, as some of you might know me from Nexus, or also im.null on Discord.

Lets set some ground rules so you don't complain about me wasting your time:

  • This is a Lua-only tutorial. I will not be covering BPs, BP interoperability, asset swapping or anything of the like. This will be pure, untainted Lua 😎. Some concepts will definitely transfer over, but if you want BP stuff, this aint it
  • I'm not going to cover Lua basics, like syntax or

ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}
@marc0janssen
marc0janssen / transmission-gc.sh
Last active January 19, 2025 22:32 — forked from onedr0p/transmission-gc.sh
Transmission Garbage Collector
#!/bin/bash
#
# INFO
#
# This works if sonarr and radarr are set up to have a Category of sonarr and radarr respectively
# If you are using other Categories to save your automated downloads, update the script where you see:
# "movies"|"series"|"music"|"general")
# This script will not touch anything outside those Categories
@osipxd
osipxd / !paper-versions.md
Last active January 19, 2025 22:31
Paper versions links
@ToyZ-one
ToyZ-one / TestgithubActivity.java
Created January 19, 2025 22:25 — forked from Detelca/TestgithubActivity.java
How to create/update file with github api v3 from android
package com.krama.testgithub;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import org.eclipse.egit.github.core.Blob;
import org.eclipse.egit.github.core.Commit;
import org.eclipse.egit.github.core.Reference;
@joepie91
joepie91 / mastodon-guide.md
Last active January 19, 2025 22:25
The 5-minute guide to the fediverse and Mastodon

The 5-minute guide to the fediverse and Mastodon

There are lots of guides explaining Mastodon and the broader fediverse, but they often go into way too much detail. So I've written this guide - it only talks about the basics you need to know to start using it, and you can then gradually learn the rest from other helpful fediverse users. Let's get started!

The fediverse is not Twitter!

The fediverse is very different from Twitter, and that is by design. It's made for building close communities, not for building a "global town square" or as a megaphone for celebrities. That means many things will work differently from what you're used to. Give it some time, and ask around on the fediverse if you're not sure why something works how it does! People are usually happy to explain, as long as it's a genuine question. Some of the details are explained in this article, but it's not required reading.

The most important takeaway is the "

@V-ed
V-ed / bookmarklet.js
Last active January 19, 2025 22:33
Mealie Add Recipe Bookmarklet
var recipeUrl = new URL(document.URL);
var mealie = "https://mealie.v-ed.ca";
var group_slug = "famille";
var doUseKeywords = false; // use keywords from recipe
var stayInEditMode = true;
var decoratedUrlParams = {
"hellofresh.ca": [
{