Skip to content

Instantly share code, notes, and snippets.

View EliW's full-sized avatar

Eli White EliW

View GitHub Profile
@EliW
EliW / p15.html
Created April 20, 2021 13:27
p15 Sample Template
<table bgcolor="white" cellpadding="0" cellspacing="0" role="presentation" style="table-layout: fixed; vertical-align: top; min-width: 320px; max-width: 650px; border-spacing: 0; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: white; width: 100%; margin:auto;" valign="top" width="100%">
<tbody>
<tr style="vertical-align: top;" valign="top">
<td style="word-break: break-word; vertical-align: top;" valign="top">
<div style="min-width: 320px; max-width: 650px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; Margin: 0 auto; background-color: #ffffff;">
<div align="center" style="border-top:0px solid transparent; border-left:0px solid transparent; border-bottom:0px solid transparent; border-right:0px solid transparent; padding-top:5px; padding-bottom:5px; padding-right: 0px; padding-left: 0px;">
<img align="center" alt="smarTours" border="0" class="center autowidth" src="https://smartours.com/wp-content/uploads/2021/04/smartours-ta

So @everyone -- I think I'm ready for tonight. Spent, as usual, what feels like too much time. But given that I knew the source material, and literally had made the maps myself, that went better. I wanted to share a few thigns though, because it was the lighting that threw me again. And I think I've grokked (many) of the gotchas. Putting this here for myself in the future as much as y'all:

  1. Advanced lighting, in fact, doesn't seem to support dim light at the moment. Which lead me for this encounter to want to go back to the old lighting.

1.a) As a note: When doing advanced lighting, you turn it on via the 'Dynamic Lighting' tab on the page. This is not ALL dynamic lighting, just advanced. Once turned on, the visuals for the characters are controlled by the similarly matching "Dynamic Lighting" tab on each character/token. Only those settings matter.

1.b) ALSO: (the main reason I went 'old' for this one), is that there seems to be an issue with the new lighting, where instead of looking a

@EliW
EliW / seriallog-debug.txt
Created November 18, 2019 01:54
output of serial communication with octopi and Rostock v3 - debugging
This file has been truncated, but you can view the full file.
2019-11-18 01:35:39,438 - Changing monitoring state from "Operational" to "Starting"
2019-11-18 01:35:39,521 - Send: N0 M110 N0*125
2019-11-18 01:35:39,538 - Recv: ok
2019-11-18 01:35:39,543 - Changing monitoring state from "Starting" to "Printing"
2019-11-18 01:35:39,594 - Send: N1 G90*17
2019-11-18 01:35:39,601 - Recv: ok
2019-11-18 01:35:39,604 - Send: N2 M82*27
2019-11-18 01:35:39,608 - Recv: ok
2019-11-18 01:35:39,611 - Send: N3 M106 S0*100
2019-11-18 01:35:39,617 - Recv: ok
/* Adjust bases to be full-size */
html body .pawn-container.large1 .base,
html body .pawn-container.large2 .base {
height: 1.9in;
}
html body .pawn-container.medium .base,
html body .pawn-container.small .base {
height: .95in;
}
@EliW
EliW / invite_to_slack.js
Created March 7, 2018 13:29 — forked from dommmel/invite_to_slack.js
Zapier Code to auto invite users to slack
var slackTeam = "YOUR_SLACK_TEAM_NAME ";
var token = 'YOUR_ADMIN_TEST_TOKEN';
// A test token will suffice.
// You can generate one at https://api.slack.com/docs/oauth-test-tokens
// Just make sure that the user issuing the test token is an admin.
var url = 'https://'+ slackTeam + '.slack.com/api/users.admin.invite';
fetch(url, {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
@EliW
EliW / keybase.md
Created March 24, 2014 13:40
Keybase.IO Proof

Keybase proof

I hereby claim:

  • I am EliW on github.
  • I am EliW (https://keybase.io/EliW) on keybase.
  • I have a public key whose fingerprint is 4338 42ED 372C E02D 1D47 AB7E 5130 55CE 6A31 08A2

To claim this, I am signing this object: