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 puppeteer = require('puppeteer') | |
| const loginPage = `http://192.168.false.ip` | |
| const password = 'notMyRealPassword' // Replace with your modem's password | |
| (async () => { | |
| try { | |
| // Launch headless browser | |
| const browser = await puppeteer.launch({ headless: true }) | |
| const page = await browser.newPage() |
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
| cmake_minimum_required(VERSION 3.14) #Version of cmake | |
| project(roguetutorial) #Project name | |
| set(CMAKE_CXX_STANDARD 14) #Standard | |
| set(CMAKE_MODULE_PATH "C:/Dev/CPP/CMake/Modules") #Location of custom modules, i.e. FindSDL2.cmake | |
| set(SDL2_PATH "C:/Dev/CPP/SDL2-2.0.9/x86_64-w64-mingw32") #Set path for SDL2 finder(i guess?) | |
| find_package(SDL2 REQUIRED) #Use the actual FindSDL2 |