This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
OlderNewer