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
Skill Points | Relative Experience Power | True Colors | Resonance | Critical Hit | Mana Leeching | Amplifiers | Traps | |
---|---|---|---|---|---|---|---|---|
480000 | 7.44701e+10 | 478 | 152 | 210 | 575 | 365 | 445 | |
481000 | 7.47269e+10 | 479 | 153 | 210 | 575 | 365 | 446 | |
482000 | 7.49478e+10 | 480 | 153 | 210 | 575 | 365 | 447 | |
483000 | 7.52052e+10 | 481 | 154 | 210 | 575 | 365 | 448 | |
484000 | 7.5417e+10 | 479 | 153 | 210 | 580 | 365 | 446 | |
485000 | 7.56763e+10 | 480 | 154 | 210 | 580 | 365 | 447 | |
486000 | 7.58996e+10 | 481 | 154 | 210 | 580 | 365 | 448 | |
487000 | 7.61605e+10 | 481 | 152 | 210 | 580 | 370 | 447 |
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
[ | |
"[email protected]", | |
"[email protected]", | |
"[email protected]", | |
"[email protected]", | |
"[email protected]", | |
"[email protected]", | |
"[email protected]", | |
"[email protected]", | |
"[email protected]", |
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
_complete_proj() { | |
cur="${COMP_WORDS[COMP_CWORD]}" | |
opts=$( find -X ~/projects -name ${cur}* -maxdepth 1 -type d -prune | xargs basename ) | |
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) | |
return 0; | |
} | |
proj() { | |
cd ~/projects/$1 | |
} |
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
import EventEmitter from 'events'; | |
class Dispatcher { | |
constructor(actions) { | |
this.subscribers = {}; | |
this.subscriptionId = 0; | |
this.idPrefix = '____dispatch____'; | |
this.actions = actions; | |
this.queue = []; | |
this.isBusy = false; |
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
private static <E> Queue<WItem<E>> _select(Map<E, Double> docWeights, int numResults, Random rand) { | |
PriorityQueue<WItem<E>> resultQueue = new PriorityQueue<WItem<E>>(numResults, new WComparator<E>()); | |
for(Entry<E, Double> item : docWeights.entrySet()) { | |
WItem<E> w = new WItem<E>(); | |
w.setItem(item.getKey()); | |
double score = item.getValue(); | |
double rando = rand.nextDouble(); | |
w.setWeight(Math.pow(rando, 1/score)); |
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
private static <E> Queue<WItem<E>> _select(Map<E, Double> docWeights, int numResults, Random rand) { | |
PriorityQueue<WItem<E>> resultQueue = new PriorityQueue<WItem<E>>(numResults, new WComparator<E>()); | |
for(Entry<E, Double> item : docWeights.entrySet()) { | |
WItem<E> w = new WItem<E>(); | |
w.setItem(item.getKey()); | |
double score = item.getValue(); | |
double rando = rand.nextDouble(); | |
w.setWeight(Math.pow(rando, 1/score)); |