This file contains hidden or 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
| #if !UniRxLibrary | |
| using ObservableUnity = UniRx.Observable; | |
| #endif | |
| using System; | |
| using System.Collections; | |
| using UnityEngine; | |
| using UnityEngine.Networking; | |
| using Hash = System.Collections.Generic.Dictionary<string, string>; |
This file contains hidden or 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
| package com.hiddenswitch.spellsource.applications; | |
| import com.hiddenswitch.spellsource.Broadcaster; | |
| import com.hiddenswitch.spellsource.Gateway; | |
| import com.hiddenswitch.spellsource.Spellsource; | |
| import com.hiddenswitch.spellsource.Tracing; | |
| import com.hiddenswitch.spellsource.util.Logging; | |
| import com.hiddenswitch.spellsource.util.Mongo; | |
| import com.hiddenswitch.spellsource.util.RpcClient; | |
| import io.vertx.core.Vertx; |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| brew install python3 | |
| pip3 install virtualenv | |
| cd ~/Documents | |
| virtualenv --python=python3 Environment | |
| source Environment/bin/activate | |
| pip3 install jupyter | |
| jupyter notebook |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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.Linq; | |
| using UnityEngine; | |
| namespace ProjectHolste | |
| { | |
| public class RepetitionAlgorithm<T> : IEnumerator<T> | |
| { |
This file contains hidden or 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
| package com.hiddenswitch.spellsource.applications; | |
| import com.hiddenswitch.spellsource.Bots; | |
| import com.hiddenswitch.spellsource.Broadcaster; | |
| import com.hiddenswitch.spellsource.Spellsource; | |
| import com.hiddenswitch.spellsource.util.Logging; | |
| import io.vertx.core.Vertx; | |
| import org.apache.commons.lang3.exception.ExceptionUtils; | |
| import static com.hiddenswitch.spellsource.util.Mongo.mongo; |
This file contains hidden or 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 | |
| # Installs the XCode command line tools if you don't have them | |
| xcode-select --install | |
| # Installs brew if you don't have it | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # Makes your account the owner of /usr/local, which is preferred on single user Macs | |
| sudo chown -R `whoami` /usr/local | |
| # Installs all the dependencies for building libtorrent and rtorrent | |
| brew install automake libtool boost curl lzlib libsigc++ openssl | |
| # Uninstall libtorrent-rasterbar if you already have it |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| From Visualizing the Metagame https://hearthsim.info/blog/2016/visualizing-the-metagame/ | |
| Of 6112 deck pairs, 157 had 2-card (1 replacement) differences. | |
| Of those 157, 7 pairs had statistically significantly different win rates. | |
| Deck #51 (MIDRANGE_SHAMAN): | |
| Harrison Jones (#1) -> Barnes (#1) | |
| Winrate changes 6.090000 percentage points (2808 matches) | |
| Deck #51 (MIDRANGE_SHAMAN): |
This file contains hidden or 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
| function textNodesUnder(el){ | |
| var n, a=[], walk=document.createTreeWalker(el,NodeFilter.SHOW_TEXT,null,false); | |
| while(n=walk.nextNode()) a.push(n); | |
| return a; | |
| } | |
| textNodesUnder(document.body).forEach(function(a) {a.textContent = a.textContent.replace(/data/g,'tuna').replace(/Data/g, 'Tuna');}); |