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
const slp = require('slp-parser-js'); | |
const SlippiGame = slp.default; | |
const path = require('path'); | |
const fs = require('fs'); | |
const _ = require('lodash'); | |
const cliProgress = require("cli-progress"); | |
const inputFolder = "./Slippi"; | |
const outputFolder = "./sorted"; |
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
const fs = require('fs'); | |
const _ = require('lodash'); | |
const path = require('path'); | |
const { default: SlippiGame } = require('slp-parser-js'); // npm install slp-parser-js | |
const basePath = path.join(__dirname, 'slp/'); // this var is "<directory your script is in>/slp" | |
const dolphin = { | |
"mode": "queue", | |
"replay": "", |
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 python | |
""" | |
Local DuckDuckGoog server. Uses DuckDuckGo if there's a bang. | |
Google for everything else. | |
Usage:: | |
./local_duckduckgoog.py [<port>] | |
""" |