Skip to content

Instantly share code, notes, and snippets.

View krmaxwell's full-sized avatar

Kyle Maxwell krmaxwell

View GitHub Profile
@krmaxwell
krmaxwell / into_the_odd.css
Created February 24, 2019 20:30 — forked from Lexaire/into_the_odd.css
Roll20 Character Sheet for Into the Odd
View into_the_odd.css
.repitem {
display: flex;
align-items: center;
margin-bottom: 3px;
justify-content: space-between;
}
.sheet-ability-value, .sheet-ability-button {
display: inline-block !important;
}
.sheet-flex-between {
View md_export.md

Stâkud Zimmistêm, "Stâkud Crestedportals", Bowyer


"I finished up some work. I am very satisfied."He feels satisfied at work. Within the last season, he felt euphoric due to inebriation. He felt satisfied upon improving mining. He felt pleasure near a fine Seat. He felt pleasure near a fine Seat. He felt pleasure near a fine Table. He felt satisfied remembering work. He felt satisfied at work. He felt tenderness talking with the spouse. He was blissful dining in a great dining room. He felt satisfied remembering receiving water. He felt satisfied after receiving water. He felt euphoric due to inebriation. He felt pleasure near a fine Door.


He is married to Nil Chainedwork and has one child: îton Modestglazes. He is a worshipper of Kor the Mysterious Auras and a casual worshipper of Esrel Escortace.


View magic-items.md

Magic Items. If you received a permanent magic item during the adventure, increase your magic item count by one.

(ALPG 7.0 p. 3)


Downtime: Trading Magic Items. Magic items can't be given away to another character, but characters can trade permanent magic items received in play with one another on a one-for-one basis. Each party to the trade must spend 15 downtime days to trade the item. If you’re trading with another character playing in the same adventure as you, the downtime cost is waived. Consumable magic items (scrolls, potions, and magical ammunition) can’t be traded.

Upon completing the trade, you must create an entry on your log sheet indicating who they traded with (and their DCI number if they have one), the item traded away, and the item received in exchange. Information regarding where the item was located: adventure name, encounter, table number, roll, etc., should be recorded as well.

@krmaxwell
krmaxwell / json_output.py
Last active September 8, 2017 16:23
Dealing with datetime objects when dumping JSON
View json_output.py
import json
import datetime
class DTEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, datetime.datetime):
return obj.isoformat()
@krmaxwell
krmaxwell / DTEncoder.py
Created October 18, 2016 18:48
Code to serialize datetime.datetime objects using ISO 8601. See http://stackoverflow.com/a/10721564/1569808
View DTEncoder.py
import datetime
import json
class DTEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, datetime.datetime):
return obj.isoformat()
@krmaxwell
krmaxwell / python-wrapper-advice.md
Last active February 25, 2016 19:46
Python wrapper API advice
View python-wrapper-advice.md
@krmaxwell
krmaxwell / gist:15e012372913233cce91
Created February 3, 2016 01:33 — forked from atcuno/gist:3425484ac5cce5298932
HowTo: Privacy & Security Conscious Browsing
View gist:15e012372913233cce91

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

@krmaxwell
krmaxwell / cli-tools.md
Last active January 7, 2016 19:18
Research tools and data sources
View cli-tools.md
@krmaxwell
krmaxwell / exercise-fibonacci-closure.go
Last active August 29, 2015 14:20
Tour of Go exercises
View exercise-fibonacci-closure.go
// https://tour.golang.org/moretypes/22
package main
import "fmt"
// fibonacci is a function that returns
// a function that returns an int.
func fibonacci() func() int {
n1, n2 := 1,1