Skip to content

Instantly share code, notes, and snippets.

View DrMcCoy's full-sized avatar
😸
Working on this and that, but also RLing

Sven Hesse DrMcCoy

😸
Working on this and that, but also RLing
View GitHub Profile
@DrMcCoy
DrMcCoy / twitter-alt-to-title.user.js
Created December 24, 2020 20:50 — forked from porglezomp/twitter-alt-to-title.user.js
Copy the alt text in tweets into the title text, so that you can see it on hover.
// ==UserScript==
// @name Twitter Alt-Text to Title-Text
// @description Copy the alt attribute of twitter images into the title attribute, so that I can see the alt text on hover.
// @version 1
// @grant none
// @include https://twitter.com/*
// ==/UserScript==
const SELECTORS = `.tweet .AdaptiveMedia-photoContainer img
, .Gallery-media img
@DrMcCoy
DrMcCoy / nwn2_playerinfo_format.rst
Created February 10, 2019 23:16 — forked from Arbos/nwn2_playerinfo_format.rst
NWN2 playerinfo.bin format

NWN2 playerinfo.bin format

This file is located at each save game directory and contains the data shown in the info pane of the load and save screens.

========= =========== Type Description ========= =========== uint32 First name length

NWN2 TRN.ASWM packet structure

Thibaut CHARLES - CromFr@gmail.com

This document is a mix of information:

  • I found by reverse engineering: basic structure, vertices, edged, triangles
  • Extracted from Skywing NWN2DataLib source code: everything else

My implementation can be found here, and supports parsing, serialization, mesh importation, path table & island