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
{ | |
"statements": [ | |
{ | |
// the average of the last three scores must be within 60 and 80. And it won't apply untill 3 had gone by | |
"averageOfLastThreeScoresMin": "60.0", | |
"averageOfLastThreeScoresMax": "80.0", | |
"atleastThisManyPlays": "3", | |
"statement": "You did alright.", | |
}, | |
{ |
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
getPositionedAdjectives = (_data: any[], max: number, direction: number, nameMatch: string) => { | |
let data: any[] = []; | |
if (nameMatch === undefined) { | |
data = _data; | |
} | |
else { | |
for (let i = 0; i < _data.length; i++) { | |
const name: string = _data[i].name; |
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
let successTemplate = 'Looking at how you played, you were <adjective triggered by percentage> <style name>. You were <2 hardest process objectives achieved> which helped you <list of outcome objectives achieved>.<Statement about style when successful>. <Statement about connections to chart>.<Statement about learner growth from this successful experience>'; | |
let failureTemplate = 'Looking at how you played, you were not very <style name>. You did manage to <List of 2 hardest objectives Achieved> but you <list of 3 easiest unachieved objectives>.<Statement of how to achieve style which is also the plan> <Statement about style when you fail>.<Statement about learner growth from this unsuccessful experience>. Maybe try this again using some of my advice?'; | |
const successMessage = successTemplate | |
.replace('<adjective triggered by percentage>', '') | |
.replace('<style name>', this.convertScenarioToStyle(scenario)) | |
.replace('<2 hardest process |
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
focalCharacterModulation = float(self.respectForAuthority) * float(c.formalAuthority) | |
finalModulator = (float(round.config['net-idea-opinion-alignment-divisor']) * focalCharacterModulation) | |
partB = math.fabs((focalOpinionOfThem * focalWorkContributed) * finalModulator * 0.1) * 0.5 | |
fNextOpinion = round.getNextValue(fCurrentOpinionOfIdea, fCurrentOpinionOfIdea + (partB * opinionDirection)) |
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
#!/bin/bash | |
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" | |
echo "vLeader Geographic Benchmark :: " | |
echo "" | |
echo "Begin Packaged Download Test :: " | |
echo "" | |
echo "Packaged Benchark (EC2) 1/3..." | |
wget https://data.simulearn.net/vl_blob.zip | |
rm vl_blob.zip |
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
Being a leader or a good team member involves taking responsibility for the outcome of your conversations.| | |
\"The cautious seldom err.\" | |
- Confucius| | |
One challenge for anyone trying to develop their ability to communicate effectively is to accept that they may not be willing to explore options that are against their intuition. | |
Your development only comes from from thoughtful and deliberate exploration|\"Experience is what you get when you don't get what you want\" - Randy Pausch| | |
A temptation for anyone who is upset with the outcome of their group is to blame other members. Effective team members don't do this, they recognize that since their only can control themselves they ask the simplest of questions: | |
\"What can I do to improve the outcome?\"| | |
\"If I had eight hours to cut down a tree, I would spend six of them sharpening my axe\" |
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
#!/bin/bash | |
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=3072 | |
sudo /sbin/mkswap /var/swap.1 | |
sudo chmod 600 /var/swap.1 | |
sudo /sbin/swapon /var/swap.1 | |
sudo yum update -y | |
sudo yum install -y wget |
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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Net; | |
using DG.Tweening; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
public class MouseController : MonoBehaviour | |
{ |
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
class ChloeDriver { | |
public static void main(String[] args) { | |
// Create our new linked list | |
AlphaList mainList = new AlphaList(); | |
// Add three strings to it | |
mainList.addItemEnd("Apples"); | |
mainList.addItemEnd("Orange"); | |
mainList.addItemEnd("Pizza"); |
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
float PI = (m_oNext.m_oPersonalInfluence.GetCurrentValue() * 25.0f) / 100.0f; | |
float opinionOfPlayer = ((GetOpinionOfCharacter(ECHAR_ID_COREY) + 5.0f) * 100.0f) / 10.0f; | |
// Gather some formal authority values | |
float formalAuthority = 0.0f; | |
float yourFormalAuthority = 0.0f; | |
float formalRespect = 0.0f; | |
for (int k = 0; k < (int)m_pkoMeeting->GetCharacters().size(); k++) | |
{ |
NewerOlder