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
| var a = 'a', b = 'b', c = 'c', d = 'd'; | |
| a = 'a'; | |
| var r = RANDOM(); | |
| if (r < .5) { | |
| b = a; | |
| a = 'b'; | |
| } | |
| r = RANDOM(); | |
| if (r < .33) { | |
| c = b; |
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
| Raw data for https://www.reddit.com/r/bindingofisaac/comments/3v79hc/daily_run_point_breakdown_first_floor/ | |
| Floor layout: http://imgur.com/OjdfFC1 (crawl space in room above shop, top right rock). | |
| Run as lazarus, starts this run with an explosive pill. when he dies he gets Anemic, may offset certain scores as well. | |
| stage bonus: | |
| - 500 per floor | |
| - dice 5 room does not count | |
| -- (TBD) probably forgetmenow neither |
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
| var e = document.createElement('div'); | |
| e.innerHTML = Array.from(document.body.querySelectorAll('a[href^="https://steamcommunity.com/market/confirmlisting/"]')) | |
| .filter(e => e.href.indexOf('cancel') < 0) | |
| .map(e => '<a href="'+e.href+'" onclick="p=this.parentNode;p.removeChild(this.nextElementSibling);p.removeChild(this);if(!p.children.length)p.parentNode.removeChild(p);">'+e.href+'</a><br>') | |
| .join('\n'); | |
| document.body.appendChild(e); | |
| e.style.position = 'absolute'; | |
| e.style.top = 0; | |
| e.style.backgroundColor='white'; | |
| e.style.border='1px solid black'; |
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
| let Solver = (function(){ | |
| // from: src/config.js | |
| /** | |
| * @returns {$config} | |
| */ | |
| function config_create() { | |
| let config = { |
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
| Statement -> ExpressionStatement -> Expression -> AssignmentExpression -> | |
| AssignmentExpression -> ConditionalExpression -> LogicalORExpression -> LogicalANDExpression -> | |
| BitwiseORExpression -> BitwiseXORExpression -> BitwiseANDExpression -> EqualityExpression -> | |
| RelationalExpression -> ShiftExpression -> AdditiveExpression -> MultiplicativeExpression | |
| MultiplicativeExpression -> MultiplicativeExpression MultiplicativeOperator ExponentiationExpression | |
| MultiplicativeOperator -> one of * / % | |
| // We can match * on MultiplicativeOperator, continue left and right up to PrimaryExpression | |
| // proceeding to match the arrow on the right side | |
| ExponentiationExpression -> UnaryExpression -> UpdateExpression -> LeftHandSideExpression -> NewExpression -> |
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 Solver from '../../src/solver'; | |
| import { | |
| domain__debug, | |
| domain_arrToSmallest, | |
| domain_createValue, | |
| domain_divby, | |
| domain_intersection, | |
| domain_mul, | |
| } from '../../src/domain'; | |
| import domain_plus from '../../src/doms/domain_plus'; |
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 Solver from '../../src/solver'; | |
| import { | |
| domain__debug, | |
| domain_arrToSmallest, | |
| domain_createValue, | |
| domain_divby, | |
| domain_intersection, | |
| domain_mul, | |
| } from '../../src/domain'; | |
| import domain_plus from '../../src/doms/domain_plus'; |
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 Solver from '../../src/solver'; | |
| import { | |
| domain__debug, | |
| domain_arrToSmallest, | |
| domain_createValue, | |
| domain_divby, | |
| domain_intersection, | |
| domain_mul, | |
| } from '../../src/domain'; | |
| import domain_plus from '../../src/doms/domain_plus'; |
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
| How do you mocha+babel test projectA as is? | |
| Note that projectB also its own mocha+babel tests which run fine (but they do not need to run here). | |
| // ..../somedir/projectA/src/index.js | |
| import {x} from '../../projectB/src/index.js'; | |
| ... | |
| // ..../somedir/projectB/src/index.js | |
| import {x} from './tools.js'; |
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
| 😶 11:04:20 (master) ~/gatsby/daneden.me $ gatsby build | |
| success open and validate gatsby-configs - 0.154s | |
| success load plugins - 0.603s | |
| success onPreInit - 0.003s | |
| success delete html and css files from previous builds - 0.011s | |
| success initialize cache - 0.008s | |
| success copy gatsby files - 0.021s | |
| success onPreBootstrap - 0.016s | |
| success createSchemaCustomization - 0.002s | |
| warn code block or inline code language not specified in markdown. applying generic code block |