Skip to content

Instantly share code, notes, and snippets.

View WillyJL's full-sized avatar
🗿

WillyJL WillyJL

🗿
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.

@fre-sch
fre-sch / showmodal.reds
Created February 5, 2021 14:22
Cyberpunk 2077 - Showing some (debug) information in redscripts
let evt = new NotifyShardRead();
evt.title = "Title for modal";
evt.text = "Text for modal;
/* NotifyShardRead has other properties that can be left unset */
let gi: GameInstance = player.GetGame(); /* any GameObject provides GetGame() -> GameInstance */
GameInstance.GetUISystem(gi).QueueEvent(evt);
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active August 5, 2025 13:20
Recommended OptiFine alternatives on Fabric

The list is moving out!

If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives

It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.

The gist version of this list will stop being updated.

Why?

@fnky
fnky / ANSI.md
Last active December 10, 2025 11:51
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active December 10, 2025 05:50 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

Aligning images

This is a guide for aligning images.

See the full Advanced Markdown doc for more tips and tricks

left alignment

@okunishinishi
okunishinishi / Remove all git tags
Created March 8, 2014 03:12
Delete all git remote tags
#Delete local tags.
git tag -l | xargs git tag -d
#Fetch remote tags.
git fetch
#Delete remote tags.
git tag -l | xargs -n 1 git push --delete origin
#Delete local tasg.
git tag -l | xargs git tag -d
@jawa0
jawa0 / loadTexture.py
Created November 2, 2012 17:39
Use the Python Imaging Library (PIL), and NumPy to read an image into an OpenGL texture
from OpenGL.GL import *
import Image
import numpy
imname = 'uv-grey.jpg'
# glTexImage2D expects the first element of the image data to be the bottom-left corner of the image.
# Subsequent elements go left to right, with subsequent lines going from bottom to top.
#
# However, the image data was created with PIL Image tostring and numpy's fromstring, which means we