Skip to content

Instantly share code, notes, and snippets.

title:wothins personal picks
description:wothins personal picks: https://gist.githubusercontent.com/lithium/d56cdc51adfaf8444a545fbf1b6280d0/raw/wothin_destiny2_wishlist.txt
// Wolftone Draw - wothin's preferred. MW: draw time ()
//notes: wothin's preferred. MW: draw time
dimwishlist:item=3472875143&perks=3768438372,2154191829,201365942,2848615171
// Wolftone Draw - wothin's second choice. MW: draw/reload ()
class Testing {
constructor() {
this.items = [1,2,3];
this.items.forEach(_ => process(_))
}
process(item) {
console.log(item)
}
}
# OBJ Exported from DrPetter's Sculptris
# symmetry 1
usemtl (null)
s 0
v 0.000000 -0.004913 -0.512500
v 0.000000 -0.444368 1.239168
v 0.000000 1.073930 0.782017
v 0.000000 -0.926368 0.890345
v 0.000000 0.820493 -0.524121
v 0.972502 -0.059317 -0.492597
// internal register cache, copy on write
#define YM_REG_LAST_ADDR 0xB4
#define YM_REG_FIRST_ADDR 0x22
#define YM_REG_PART_SIZE (YM_REG_LAST_ADDR - YM_REG_FIRST_ADDR + 1)
#define YM_REG_NUM_PARTS 2
uint8_t registers[YM_REG_NUM_PARTS][YM_REG_PART_SIZE];
void Ym2612::set_register(uint8_t part, uint8_t ym_addr, uint8_t value)
#include <Wire.h>
#include <Adafruit_MCP4725.h>
Adafruit_MCP4725 dac;
#define GATE_PIN 12
void setup() {
#include "tables.h"
#include <MIDI.h>
MIDI_CREATE_DEFAULT_INSTANCE();
#define FS 20000.0 // sample rate in hz
#define ledPin 13
@lithium
lithium / Code.gs
Last active August 29, 2021 02:28
web grouping google sheets script
function onOpen() {
var ui = SpreadsheetApp.getUi();
ui.createMenu('WEB Tools')
.addItem('Make Groups', 'makeGroups')
.addToUi();
}
function scrub_string(str) {
return str.replace(/[\s,]+/g,'')
import time
from contextlib import contextmanager
class TimedResult(object):
def __init__(self):
self.started = None
self.stopped = None
def start(self):
// ==UserScript==
// @id iitc-plugin-signal-survey@nobody889
// @name IITC plugin: Signal Survey
// @category Info
// @version 0.1.0
// @namespace https://github.com/lithium/iitc-plugin-signal-survey
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description Add a survey link for portal signal coverage
// @include https://www.ingress.com/intel*
timestamp Movies
1455321600 1
1455408000 1
1455494400 1
1455580800 1
1455667200 1
1455753600 1
1455840000 2
1455926400 2
1456012800 1