Skip to content

Instantly share code, notes, and snippets.

View drewhoener's full-sized avatar

Drew Hoener drewhoener

View GitHub Profile
Version: 121639, IsPerforceBuild: false, BuildConfiguration: Shipping, NetMode: Standalone
Unhandled exception
FactoryGame_Win64_Shipping!FMallocBinned2::Malloc() [d:\ws\sb-160502110050-fad\ue4\engine\source\runtime\core\public\hal\mallocbinned2.h:447]
FactoryGame_Win64_Shipping!TBlendableToken<float>::TBlendableToken<float><float &>() [d:\ws\sb-160502110050-fad\ue4\engine\source\runtime\moviescene\public\evaluation\blending\blendabletoken.h:101]
FactoryGame_Win64_Shipping!FMovieSceneFloatPropertySectionTemplate::Evaluate() [d:\ws\sb-160502110050-fad\ue4\engine\source\runtime\moviescenetracks\private\evaluation\moviescenepropertytemplates.cpp:68]
FactoryGame_Win64_Shipping!FMovieSceneEvaluationTrack::EvaluateStatic() [d:\ws\sb-160502110050-fad\ue4\engine\source\runtime\moviescene\private\evaluation\moviesceneevaluationtrack.cpp:458]
FactoryGame_Win64_Shipping!FMovieSceneRootEvaluationTemplateInstance::EvaluateGroup() [d:\ws\sb-160502110050-fad\ue4\engine\source\runtime\moviescene\private\evaluation\moviesce
pragma solidity >=0.6.2 <0.7.0;
// Implement the Nim board game (the "misere" version -- if you move last, you lose).
// See https://en.wikipedia.org/wiki/Nim for details about the game, but in essence
// there are N piles (think array length N of uint256) and in each turn a player must
// take 1 or more items (player chooses) from only 1 pile. If the pile is empty, of
// course the player cannot take items from it. The last player to take items loses.
// Also in our version, if a player makes an illegal move, it loses.
// To implement this game, you need to create a contract that implements the interface
library(shiny)
library(ggplot2)
library(plyr)
library(dplyr)
data <- read.csv("workbook.csv", stringsAsFactors = FALSE) #subset dataframe to reactive dataframe to input slider
ui <- fluidPage(
titlePanel("Ambient Particulate Matter"),
sidebarLayout(
sidebarPanel(
async execute(message: Message, args: string[]) {
const cur_encounter = await get_encounter(message.channel.id);
if (!cur_encounter) {
message.channel.send(`There isn't an Encounter/RP going on in this channel.\nTo start one, run \`!start [users]\``);
return;
}
if (!cur_encounter.members.find(obj => obj.id === message.author.id)) {
let guild_member = message.guild.members.cache.get(message.author.id);
if (!guild_member || !guild_member.hasPermission('MANAGE_CHANNELS')) {
message.channel.send(`You aren't part of this session ${message.author.toString()}! Have someone participating end it.`);
const arrayToList = (arr) => {
let head = {};
let list = head;
for(let i = 0; i < arr.length; i++){
list.val = arr[i];
list.rest = {};
list = list.rest;
}
return list;
#!/bin/bash
escrotum 'screenshot-%Y-%m-%d-%H:%M:%S.png' -e 'mv $f ~/images/screenshots'
notify-send "Screenshot Taken!"
import json
from enum import Enum
def as_color_packet(packet_dict):
if '__type__' in packet_dict and packet_dict['__type__'] == 'ColorPacket':
return ColorPacket(packet_dict['color_mode'], packet_dict['rainbow_mode'], packet_dict['color'],
packet_dict['decay'], packet_dict['twinkle_ratio'],
packet_dict['min_scale'], packet_dict['max_scale'], packet_dict['delay_ms'])

Keybase proof

I hereby claim:

  • I am drewhoener on github.
  • I am drewhoener (https://keybase.io/drewhoener) on keybase.
  • I have a public key ASD4-PQojMhILpwYNirbwqx7ORE2xlVohb3cbnwbL2AnEQo

To claim this, I am signing this object:

i=1
for monitor in $(bspc query -M); do
bspc monitor $monitor -d $monitor/1 $monitor/2 $monitor/3 $monitor/4 $monitor/5 $monitor/6 $monitor/7 $monitor/8 $monitor/9 $monitor/10
let i++
done
public QuickSorter(SwapList<T> list, Comparator<T> comparator) {
super(list, comparator);
}
@Override
public SwapList<T> sort() {
//recQuickSort(0, list.size() - 1);
recQuickSort(0, list.size() - 1);
return this.list;