Skip to content

Instantly share code, notes, and snippets.

@gordinmitya
gordinmitya / factorio_headless_guide.md
Created November 22, 2020 12:53 — forked from othyn/factorio_headless_guide.md
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.

Alternate

If you prefer a simple, automated setup, [Bisa has a really handy init script that will do most of the work for

@gordinmitya
gordinmitya / FontTabLayout.java
Created May 24, 2017 12:08 — forked from tmtrademarked/FontTabLayout.java
SImple wrapper class to support fonts in TabLayout
public class FontTabLayout extends TabLayout {
private Typeface typeface;
public FontTabLayout(Context context) {
super(context);
init(context, null);
}
public FontTabLayout(Context context, AttributeSet attrs) {
@gordinmitya
gordinmitya / Guess.cs
Last active April 18, 2016 07:30 — forked from anonymous/Guess
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Index1
{
public class Program
{