Skip to content

Instantly share code, notes, and snippets.

View PierceLBrooks's full-sized avatar
🇵🇸

Pierce Brooks PierceLBrooks

🇵🇸
View GitHub Profile

iOS NDEF Record Compatibility

Introduction

NDEF (NFC Data exchange format) is a method of transferring (relatively small amounts of) information from a passive or actively emulated tag by way of "records" which specify the type of information is being received and the function it is meant to have.

iPhones do not have a full suite of NDEF compatibility, the reason for this is unknown (to me at least), what this means is the background polling on iPhones will not interpret some specific record types, with compatible NDEF records, a notification will pop up directing the user to follow the received data into its respective app to complete whatever action was intended by the record.

Compatibility Table

Below are the options offered by NFC Tools on IOS for NDEF Encoding, some of the options below are other record types but with a specific function IE social links are just URLs.

@ravarcheon
ravarcheon / spectralRotation.py
Last active April 12, 2025 04:35
rotates an audio file by 90 degrees in the spectrum while being a reversible process with minimal loss (only floating point errors which are like -150 dB but thats literally silence ahaha~)
import numpy as np
import soundfile as sf
from scipy.fftpack import fft, ifft
def rotateSignal(signal,flip):
if flip:
signal = signal[::-1]
x = np.concatenate((signal, signal[1:][::-1])) # concatenating the array with a reverse of itself makes it such that the fourier transform doesn't layer over a reversed version of itself in the inverse fft
rotSig = ifft(x)
@dliptai
dliptai / build-openvdb-python.md
Created August 31, 2023 05:57
Building OpenVDB with Python bindings
@travisbrown
travisbrown / NickJFuentes-followers.csv
Last active January 27, 2023 04:14
Followers for @NickJFuentes (ID, screen name, follower count; some info missing for suspended accounts)
We can't make this file beautiful and searchable because it's too large.
1618117522473062401,AmerCrusader,0
805901211291422720,PatriotGulag,103
897873361161732098,presidentmeeks,40
1369024312401870852,obama_baroque,154
1365839268476645378,vylpill,8705
1616533685427208192,lpbr0014,102
1606569725235978240,chitochipper,37
1530966028221661184,originalpod5,9
1586008148552212481,TheFaddedGamer,12
1589871939786620929,Truthyfren,1253
@melroy89
melroy89 / mastodon-docker-setup.md
Last active June 30, 2025 17:42 — forked from akuechl/mastodon-docker-setup.md
Mastodon Docker Setup - most complete and easiest guide online
@T1T4N
T1T4N / generate-xcode-compilation-database.md
Last active June 3, 2025 13:54
Generate a JSON Compilation Database from an Xcode project

Introduction

A JSON compilation database is a very handy output format which is parsed and used by many development tools. Unfortunately for us Apple Developers, it is not straightforward to generate one from within Xcode, as it is (probably) not Apple's priority and therefore there is no toggle/switch/setting that can be easily enabled to get this information.

There is however a solution, thanks to Apple using Clang/LLVM as their main toolchain.

Implementation

The standard way to generate this with clang would be to use the -MJ flag and give it a file name that typically corresponds to the input file. Using this flag indirectly through Xcode is hard, given that we're not aware of all the other arguments when a compiler call is executed.

However, there is a second hidden/badly documented LLVM flag: -gen-cdb-fragment-path - it is implemented in terms of -MJ and has the same functionality, but it's argument in contrast is an output directory.

@frnsys
frnsys / mixamo.json
Created July 25, 2022 20:38
Mixamo rig mapping for BVH retargeter
{
"name" : "Mixamo",
"url" : "",
"bones" : {
"mixamorig:Hips" : "hips",
"mixamorig:Spine" : "spine",
"mixamorig:Spine1" : "spine-1",
"mixamorig:Spine2" : "chest",
"mixamorig:Neck" : "neck",
@salcoast
salcoast / MrAndyNgo-deleted.md
Last active November 9, 2022 05:47
Updated Deleted Tweets for MrAndyNgo

Deleted tweets for MrAndyNgo

Please view the deleted tweet list in our main archive.

@interfect
interfect / castanet.sh
Last active May 30, 2025 07:08
Set up a Chromecast from a Linux PC, without an Android or iOS mobile device and without Google Home
#!/usr/bin/env bash
# castanet.sh: Script to connect a chromecast to a WiFi network.
#
# Allows you to put your Chromecast on WiFi and do Chromecast initial setup
# without using the Google Home app at all, just using a normal Linux computer.
#
# You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi
# network with your PC, and you also need to find out its IP yourself with e.g.
# Wireshark.
@loretoparisi
loretoparisi / thread_support.py
Created August 5, 2021 16:56
Python Thread Support with Bounder Thread Pool or Process Executor
from functools import wraps
from .bounded_pool_executor import BoundedThreadPoolExecutor
from .bounded_pool_executor import BoundedProcessPoolExecutor
_DEFAULT_POOL = BoundedThreadPoolExecutor(max_workers=5)
_PROCESS_POOL = BoundedProcessPoolExecutor(max_workers=5)
def threadpool(f, executor=None):
@wraps(f)
def wrap(*args, **kwargs):