Skip to content

Instantly share code, notes, and snippets.

@AndyIsHereBoi
AndyIsHereBoi / index.js
Last active March 5, 2025 12:53
Scans Discord for its voice servers.
import dns from 'node:dns';
import fetch from 'node-fetch';
import regions from "./regions.json" assert { type: "json" };
import fs from 'node:fs';
const IPINFO_API_KEY = "key here";
const loops = 15000;
var regionscomplete = {};
@AndyIsHereBoi
AndyIsHereBoi / output.json
Created January 15, 2024 16:40
Discord voice servers as of Jan 15 2024
{
"us-central":[
{
"ip":"138.128.140.253",
"dns":"us-central96.discord.gg",
"city":"Elk Grove Village",
"region":"Illinois",
"country":"US",
"org":"AS49544 i3D.net B.V"
},
@othyn
othyn / factorio_headless_guide.md
Last active April 13, 2025 18:46
How to setup a Factorio Headless Server

[LINUX] Factorio Headless Server Guide

So, with credit to the Factorio wiki and cbednarski's helpful gist, I managed to eventually setup a Factorio headless server. Although, I thought the process could be nailed down/simplified to be a bit more 'tutorialised' and also to document how I got it all working for my future records.

The specific distro/version I'm using for this guide being Ubuntu Server 16.04.1 LTS. Although, that shouldn't matter, as long as your distro supports systemd (just for this guide, not a Factorio headless requirement, although most distros use it as standard now). The version of Factorio I shall be using is 0.14.20, although should work for any version of Factorio 0.14.12 and higher.

Just a note to newcomers: If there are any issues with the installation steps, people in the comments are doing a good job