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 machine(s) { | |
| const steps = s.split(/[\r\n]+/).map(l => Number(l)); | |
| let counter = 0, index = 0; | |
| while (index < steps.length) { | |
| const step = steps[index]; | |
| ++steps[index]; | |
| index += step; | |
| ++counter; | |
| } |
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
| // ==UserScript== | |
| // @name Translate Code Monster and Code Maven to Hebrew - Work in progress | |
| // @namespace splintor.userscript.org | |
| // @description Translate Crunchzilla\'s Code Monster and Code Maven to Hebrew, using a feminine form. Still need to finish translating... | |
| // @include http://www.crunchzilla.com/* | |
| // @author: Shmulik Flint ([email protected]) | |
| // @updateUrl https://gist.github.com/splintor/375765738b6db548bb4f355e7fa35cd6/raw | |
| // @version 0.8.6 | |
| // ==/UserScript== |
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
| 0 info it worked if it ends with ok | |
| 1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', | |
| 1 verbose cli 'C:\\Users\\myname\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js', | |
| 1 verbose cli 'i', | |
| 1 verbose cli '\\\\path\\to\\my\\package\\dir' ] | |
| 2 info using [email protected] | |
| 3 info using [email protected] | |
| 4 silly install loadCurrentTree | |
| 5 silly install readLocalPackageData | |
| 6 silly pacote directory manifest for undefined@file://path/to/my/package/dir fetched in 24ms |
NewerOlder