Skip to content

Instantly share code, notes, and snippets.

View trentonstrong's full-sized avatar

Trent Strong trentonstrong

View GitHub Profile
@trentonstrong
trentonstrong / response.md
Created April 21, 2023 23:40
D&D 5e Firearm Extension

Certainly, I can help you with that! To integrate modern firearms and grenades into your Dungeons and Dragons 5th edition game, you'll want to consider the following aspects:

  1. Weapon statistics and properties
  2. Ammunition and reloading
  3. Ranged weapon attack rules
  4. Grenades and explosives
  5. Character balance and class modifications

Below are some suggestions for each of these aspects. Feel free to customize them as needed to fit your campaign.

@trentonstrong
trentonstrong / titan_conquest_keys.json
Created September 1, 2021 02:52
Titan Conquest Keyboard Shortcuts
[
{
"key": "1",
"label": "1st Enemy",
"action": "javascript",
"blacklist": false,
"sites": "",
"code": "$$('#enemyList li a')[1].click();",
"sitesArray": [
""
#!/bin/bash -ex
METADATA_URL_BASE="http://169.254.169.254/2012-01-12"
if [[ $# -eq 0 ]]; then
echo "Usage: mount-ephemeral.sh ROOT"
exit 1
fi
ROOT=$1
poker » gem install nmatrix -V ~/Development/personal/poker
HEAD https://api.rubygems.org/api/v1/dependencies
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=nmatrix
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=packable
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=backports
200 OK
/usr/local/lib/ruby/gems/2.2.0/gems/nmatrix-0.2.3/ext/nmatrix/binary_format.txt
package org.trentonstrong;
import java.util.Collection;
import java.util.Iterator;
import java.util.Queue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
@trentonstrong
trentonstrong / MapValues.java
Created August 31, 2016 18:00
MapValues spike
package com.projector.flow.transform;
import com.google.cloud.dataflow.sdk.transforms.*;
import com.google.cloud.dataflow.sdk.transforms.display.DisplayData;
import com.google.cloud.dataflow.sdk.values.KV;
import com.google.cloud.dataflow.sdk.values.PCollection;
import com.google.cloud.dataflow.sdk.values.TypeDescriptor;
import com.projector.flow.flow.SessionFlow;
public class MapValues<K, T, U> extends PTransform<PCollection<KV<K, T>>, PCollection<KV<K, U>>> {
@trentonstrong
trentonstrong / TDigestFn.java
Created August 24, 2016 21:44
TDigest Combiner
static class TDigestFn extends Combine.CombineFn<Double, TDigest, TDigest> {
private static final int COMPRESSION_RATIO = 100;
@Override
public TDigest createAccumulator() {
return TDigest.createDigest(COMPRESSION_RATIO);
}
@Override
public TDigest addInput(TDigest tDigest, Double value) {
import urllib
import boto3
import datetime
import json
import unittest
print('Loading function')
s3 = boto3.client('s3')
lambda_client = boto3.client('lambda')

Keybase proof

I hereby claim:

  • I am trentonstrong on github.
  • I am trentonstrong (https://keybase.io/trentonstrong) on keybase.
  • I have a public key whose fingerprint is 5C6C 10A2 770B 68EC 42AF CCE7 998B 5E68 1A46 E4E3

To claim this, I am signing this object:

[Main]
# The host of the Datadog intake server to send Agent data to
dd_url: https://app.datadoghq.com
# If you need a proxy to connect to the Internet, provide the settings here
# proxy_host: my-proxy.com
# proxy_port: 3128
# proxy_user: user
# proxy_password: password