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
ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}' |
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"); | |
(async () => { | |
const browser = await puppeteer.launch(); | |
const page = await browser.newPage(); | |
await page.setExtraHTTPHeaders({ "Accept-Language": "en, en-US" }); | |
// adjust resolution according to your monitors | |
await page.setViewport({ width: 1920, height: 1200 }); | |
await page.goto("http://nipponcolors.com/"); | |
// there are totally 250 different colors |