This file contains 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 puppeteer = require('puppeteer'); | |
const path = require('path'); | |
var browser, page; | |
(async () => { | |
browser = await puppeteer.launch({ | |
args: ['--no-sandbox', '--disable-setuid-sandbox'] | |
, headless: true // printo to pdf only works in headless mode currently | |
}); | |
page = await browser.newPage(); |
This file contains 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
// Primary functions | |
// setLocation(newLocationCodeString); | |
// setLanguage(newLanguageCodeString); | |
// Primary variables will default to en-US, browser values will then override defaults, and user set cookies will then override browser defaults. | |
// current_language | |
// current_location | |
var current_language = null; | |
var current_location = null; | |
var browser_language_default = "en"; | |
var browser_location_default = "US"; |
This file contains 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
@echo off | |
for /D %%i in (./roms_snaps/*) DO ( | |
echo %%i | |
if not exist "roms_snapschreenshots\%%i\screenshot" ( | |
echo No %%i/screenshot Folder | |
mkdir roms_snapschreenshots\%%i\screenshot | |
) | |
for %%r in (./roms_snaps/%%i/snap/*.mp4) DO ( | |
if not exist "roms_snapschreenshots/%%i/screenshot/%%~nr.jpg" ( | |
echo No screenshot... Grabbing one... |
This file contains 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
// out: style.css, compress: true, strictMath: true | |
// main: style.less |
This file contains 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
html { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
*, *:before, *:after { | |
-webkit-box-sizing: inherit; | |
-moz-box-sizing: inherit; | |
box-sizing: inherit; | |
} |