Skip to content

Instantly share code, notes, and snippets.

View ThatOhio's full-sized avatar
⁉️
Breaking Stuff

Justin Packwood ThatOhio

⁉️
Breaking Stuff
View GitHub Profile
DELETE FROM point
WHERE employee_id IN (SELECT id from employee WHERE last_name = 'MTR')
DELETE FROM reward
WHERE employee_id IN (SELECT id from employee WHERE last_name = 'MTR')
# To execute this docker-compose yml file use `docker-compose -f <file_name> up`
# Add the `-d` flag at the end for detached execution
version: "3.7"
services:
hub:
image: elgalu/selenium
ports:
- 4444:4444
volumes:
@ThatOhio
ThatOhio / blueprint
Created May 10, 2020 01:10
City Block
0eNq8vUmyXkeWbjcXtgNpXhfRfS311ZD0LC2MBV4GTBEEBYJhSkuLAWgeGplGogsQ978Hl/4d/5YjpE4myQDWv4+X23f5X9/98Lff3v7y4d3PH7/783999+7H9z//+t2f//t/fffru//4+fu/ffpvH//zl7ff/fm7f7z78PG3p//yp+9+/v7vn/7D73/izX/77p9/+u7dzz+9/T+/+3P855/A3/yfLn8zob/5P1/+ZkZ/83+9/M3yz3//03dvf/747uO7t79/9Od/+c+//Pzb3394++Hpcx5/+8ffPvzj7U9vPnz/7hPyl/e/Pv2d9z9/+r0nzpuYnv7kf37+h/6E/+ndh7c//v6/10/CvaKmF5ne/+37D29++f7nt0tqbP9Wn7nz3+o/F6z8YH3/44+//f23v33/8f2HFSvkB2nFKTYn3nKq+W2jbz+tmYM/shj7soB2DyqZq/kc3jcbnzy9WdhNQgwu535RxOh9mbNQY/JGXm+l1XTGfLKXmhDxZRP8+vFJuv/460e54T/92d9hY4mq7n76NC53oJdd8OtvP/z68fvPf3nFCfec7h5loT+DqjH+wx3/UF/Gv4vxn/ww6ytQCvw0W4PcC2CqQVue/+4FMMd2zFL21se8X6/JPf/n/XJN1d5C837BpnZwk4iNnTo/oRVquB+4+z5zsW8GPAdr/jfTn811PsnZkM1lbqzynPHFuNzPueCLcc2p5mUWyLmQzSXvnKW5W+tid23kYQ7Y5hrL0902u5u1hAOdRGzmEu1bej5QS1A60RzWqMw1hzXIVulf1sAaVO07Pr8MeRFD3mxY2MO6e2ttxnzg22/NmQe335JUXQ1m1HuOucJ3mMRvvTUo01tvjTHX9mbea3UP3P1arPbhvd8ktbun7ma0+em95pyc3ktSc1+mmwO3+ZaZxw0cv76B0woLzvH0+NLyNTivwPap/vL8zcsPL/zKKktQPXk5Z2GqaSf331quzu+/NWjw+28NmviWWXJ6wLfMmhMPbpk1KR28scQS6Bn
This file has been truncated, but you can view the full file.
{
"character": {
"id": 12419728,
"readonlyUrl": "https://dndbeyond.com/characters/12419728",
"avatarUrl": "",
"frameAvatarUrl": "",
"backdropAvatarUrl": "",
"smallBackdropAvatarUrl": "",
"largeBackdropAvatarUrl": "",
"thumbnailBackdropAvatarUrl": "",
@ThatOhio
ThatOhio / keybase.md
Created February 28, 2020 13:24
2020 Keybase Personal

Keybase proof

I hereby claim:

  • I am thatohio on github.
  • I am thatohio (https://keybase.io/thatohio) on keybase.
  • I have a public key ASBPTNQDaHVKlpK0gpgRGfpf_IGdfz7xD8YZ-phuQggShQo

To claim this, I am signing this object:

@ThatOhio
ThatOhio / PowerBanks.md
Last active February 17, 2020 20:22
Power Bank Recommendations

Power Bank Research Time!

FAA Regulation for battery banks is 100Wh. This means that 30,000 mAh batteries (at 111Wh) do NOT fit the guidelines, so to avoid needing to ask for approval from the airline beforehand, or getting held up at a security checkpoint, we should shoot for <100Wh. It's important to note that this limitation is for individual battery banks, you can have multiple power banks as long as each of them falls under 100Wh (individually). The companies that make these power banks know this regulation and conveniently make models of power banks with 26800mAh of capacity, which ends up being about 99 or so watt-hours.

I started my research just checking some clickbait lists to get some initial tabs open, and then diving into around 20 pages of Amazon. The most immediate thing I noticed is the marketing around power banks is SKETCHY. The most annoying thing I noticed is that they all try to cram as many different ports on the device, which sounds excellent upfront. But what they do, is configure m

using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using Leyline.Oracle.Core.Models.Abstract;
using Leyline.Oracle.Core.Repository.Contracts;
using Microsoft.EntityFrameworkCore;
/// <summary>Defines a generic repository that implements the common interactions we would have on entities.</summary>
/// <typeparam name="TModel">The BaseModel for this repository.</typeparam>
public interface IRepository<TModel> where TModel : BaseModel<TModel>
{
/// <summary>Gets an entity based on it's Id.</summary>
/// <param name="id">The id of the entity.</param>
/// <returns><see cref="Task"/>.</returns>
Task<TModel> GetAsync(long id);
/// <summary>Gets all of the entities in the database.</summary>
public class ScratchInteractivity : BaseInteractivity<object, ScratchEnum>
{
public int Target { get; set; }
[Step((int)ScratchEnum.One)]
public async Task StepOne(object arg)
{
Target = 100;
}

Keybase proof

I hereby claim:

  • I am thatohio on github.
  • I am jpackwood (https://keybase.io/jpackwood) on keybase.
  • I have a public key ASB0htaUEbzNwSl1MOd1uLwP8sHXEuWsPrvWSwO-nbO4nwo

To claim this, I am signing this object: