Skip to content

Instantly share code, notes, and snippets.

{
"Response": {
"profiles": [
{
"dateLastPlayed": "2020-07-21T18:32:22Z",
"isOverridden": false,
"isCrossSavePrimary": true,
"platformSilver": {
"platformSilver": {
"TigerPsn": {
#SingleInstance, force
#NoEnv
#MaxThreadsPerHotkey 2
f7::
Toggle := !Toggle
loop
{
If not Toggle
break
#SingleInstance, force
#NoEnv
#MaxThreadsPerHotkey 2
f9::
Toggle := !Toggle
loop
{
If not Toggle
break
#SingleInstance, force
#NoEnv
#MaxThreadsPerHotkey 2
f7::
Toggle := !Toggle
loop
{
If not Toggle
break
@joshhunt
joshhunt / _query.sql
Created November 14, 2019 22:11
sample stadia matches
SELECT distinct on ("mode") mode, * from "Activities" where "primaryMembershipType" = 5;
Dark Glimmer General Armor Mod enhancements.v2_general Mods 59Armor Mods 4104513227
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>
	${i.itemTypeDisplayName}
@joshhunt
joshhunt / godrolls.json
Last active November 23, 2018 15:57
mercules69
{ version: 2}
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);
const makeMessages = (src = {}, path = []) =>
new Proxy(src, {
get(target, name) {
const newPath = [...path, name];
// For _any_ key on messages, return a function that returns the string-path to that key.
// Also, wrap that function in this proxy to do the same for any key on the function
return makeMessages(() => newPath.join('.'), newPath);
}
});