Skip to content

Instantly share code, notes, and snippets.

Josh Hunt joshhunt

View GitHub Profile
@joshhunt
joshhunt / profiles.json
Last active Aug 3, 2020
Players with the "After the Nightfall" emblem
View profiles.json
[
{
"membershipId": "4611686018432827035",
"membershipType": 1,
"collectibleState": 16
},
{
"membershipId": "4611686018438475521",
"membershipType": 2,
"collectibleState": 32
View GetLinkedProfiles.json
{
"Response": {
"profiles": [
{
"dateLastPlayed": "2020-07-21T18:32:22Z",
"isOverridden": false,
"isCrossSavePrimary": true,
"platformSilver": {
"platformSilver": {
"TigerPsn": {
View gist:0cf1d007b9973af447ccd027d407278a
#SingleInstance, force
#NoEnv
#MaxThreadsPerHotkey 2
f7::
Toggle := !Toggle
loop
{
If not Toggle
break
View bounties.ahk
#SingleInstance, force
#NoEnv
#MaxThreadsPerHotkey 2
f9::
Toggle := !Toggle
loop
{
If not Toggle
break
View click.ahk
#SingleInstance, force
#NoEnv
#MaxThreadsPerHotkey 2
f7::
Toggle := !Toggle
loop
{
If not Toggle
break
@joshhunt
joshhunt / _query.sql
Created Nov 14, 2019
sample stadia matches
View _query.sql
SELECT distinct on ("mode") mode, * from "Activities" where "primaryMembershipType" = 5;
View gist:ec0e83e28e262dc8bfc9ecfd01cded28
Dark Glimmer General Armor Mod enhancements.v2_general Mods 59Armor Mods 4104513227
View mods.md
html = itemDefs
.filter(v => v.itemCategoryHashes)
.filter(v => v.itemCategoryHashes.includes(4104513227)) // armour mods
.filter(v => v.plug && v.plug.energyCost) // exlude ornaments
.sort((a, b) => a.index - b.index)
.map(i => `<tr>
	<td><img src="https://bungie.net${i.displayProperties.icon}" width="30" height="30"> </td>
	<td>${i.displayProperties.name}</td>
	<td>${i.itemTypeDisplayName}</td>
View inspector.js
inspector = options => {
// apiKey for api.braytech.org (to do)
if (!inspector.init) {
inspector.init = true;
var inspectorWindow = document.createElement('div');
inspectorWindow.setAttribute('id', 'inspector');
document.body.appendChild(inspectorWindow);
You can’t perform that action at this time.