Skip to content

Instantly share code, notes, and snippets.

@muvox
muvox / gist:af64ca7e4f9c153159e81c35f6bd5f2e
Created January 10, 2025 19:12
Get your WAN ip from briding modem for whatever reason
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()
@muvox
muvox / CMakeLists.txt
Last active February 5, 2021 04:15
CLion, CMake, libtcod and SDL2 tutorial for /r/roguelikedev
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