Skip to content

Instantly share code, notes, and snippets.

View tshal0's full-sized avatar
🎯
Focusing

Thomas Shallenberger tshal0

🎯
Focusing
  • Yahoo, Inc.
  • Huntsville, AL
  • 22:13 (UTC -05:00)
View GitHub Profile
@tshal0
tshal0 / keybase.md
Created December 2, 2023 03:42
keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

import {
createRoutine,
// @ts-ignore
createRoutineCreator,
// @ts-ignore
defaultRoutineStages,
ResolveActionCreatorByPayload,
Routine,
} from "redux-saga-routines";
@tshal0
tshal0 / container-webapp-template.json
Created August 12, 2021 07:05
An ARM template for deploying a containerized AppService, where the container resides in a resource group outside of your apps resource group (as is recommended by Azure).
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"webAppName": {
"type": "String"
},
"hostingPlanName": {
"type": "String"
},
import { createRoutine } from "redux-saga-routines";
import { Reducer } from "redux";
import { takeLatest, all } from "redux-saga/effects";
import * as _ from "lodash";
import { createSelector } from "reselect";
import { denormalize } from "normalizr";
const MODULE_NAME: string = "Duck";
export interface IDuckState {
@tshal0
tshal0 / progRocknameGenerator.js
Last active September 24, 2019 18:26
Progressive Rock Band Name Generator
var a1=new Array("a","Rainbow","Wuzzy",3,"A","Bunny","A","Destiny")
var b1=new Array("b","Ancient","Turkey",2,"B","Fluffy","B","Totem")
var c1=new Array("c","Alien","Merry",3,"C","Mince-pie","C","Gnome")
var d1=new Array("d","Electric","Baby",2,"D","Holly","D","Platypus")
var e1=new Array("e","Sword","Peachey",3,"E","Berry","E","Machine")
var f1=new Array("f","Planet","Yummy",2,"F","Twinkle","F","Toad")
var g1=new Array("g","Age","Shiney",3,"G","Chilly","G","Trapeze")
var h1=new Array("h","Musique","Cheeky",2,"H","Holly","H","Trees")
var i1=new Array("i","Tyrannosaurus","Silly",3,"I","Christmas","I","Tripod")
var j1=new Array("j","Dawn","Lovely",2,"J","Turkey","J","Mushroom")
pragma solidity ^0.4.23;
import "../node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721Token.sol";
contract SmartProductLicense is ERC721Token {
constructor (string _name, string _symbol) public
ERC721Token(_name, _symbol)
{
}
var _ = require("lodash");
var Promise = require("bluebird");
import chai from 'chai'
import chaiAsPromised from 'chai-as-promised'
module.exports = {
assertEvent: function(contract, filter) {
return new Promise((resolve, reject) => {
var event = typeof contract[filter.event] == 'function' ? contract[filter.event]() : reject(Error("Event doesn't exist"));
event.watch();