Skip to content

Instantly share code, notes, and snippets.

View cellularmitosis's full-sized avatar

Jason Pepas cellularmitosis

View GitHub Profile
@cellularmitosis
cellularmitosis / README.md
Last active April 18, 2024 05:50
Factorio robot frame rush blueprint

Factorio robo-rush blueprint (v3)

Here's a mini-base blueprint for rushing to personal roboport.

  • 30 SPM red+green+blue
  • hand-fed 18 SPM black (requires hand-fed walls)
  • Small mall (mostly via overflow chests)

Screen Shot 2024-04-18 at 12 49 52 AM

@cellularmitosis
cellularmitosis / README.md
Last active April 12, 2024 16:35
QEMU PowerPC G4 OS X Tiger (10.4) setup
@cellularmitosis
cellularmitosis / README.md
Last active April 12, 2024 09:38
Upgradeable Factorio walls, v2

Upgradeable Factorio walls, v2

Here are some walls I've been working on.

The core concept behind these walls is the notion of upgradeability. Simply paste the next stage on top of your existing walls.

These walls snap to a 20x20 grid for convenience.

Screen Shot 2024-04-09 at 9 44 37 PM

import lxml
from lxml import html
import urllib.request
import os

class HTMLNode:
    """A wrapper around lxml nodes with a fluent interface which supports optional chaining."""
@cellularmitosis
cellularmitosis / README.md
Last active April 1, 2024 01:23
Factorio bot-rush

Factorio Bot-rush example

Here are some screenshots of a recent Factorio game I played where the goal was to get to personal roboport as quickly as possible.

Smelting columns

  • One column of iron (upgrade to red belts as needed)
  • One column of copper
  • One column of integrated iron-to-steel
@cellularmitosis
cellularmitosis / Makefile
Last active March 28, 2024 02:28
A Lisp interpreter in C, part 1: symbols
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L
lisp: main.o forms.o reader.o eval.o printer.o repl.o
$(CC) -o lisp *.o
main.o: main.c
$(CC) -c main.c
forms.o: forms.h forms.c
$(CC) -c forms.c
@cellularmitosis
cellularmitosis / README.md
Last active March 28, 2024 02:16
Adding question-mark suffixed aliases for Common Lisp predicate functions

Blog 2021/12/12

<- previous | index | next ->

Adding question-mark suffixed aliases for Common Lisp predicate functions

Having come from Scheme, Clojure, and Janet, one of the things which struck me about Common Lisp

@cellularmitosis
cellularmitosis / README.md
Last active March 20, 2024 05:09
Factorio city blocks

Factorio City Blocks

I've been working on some simple city block designs:

  • 1-1 trains
  • assembler-2's
  • yellow belts

So far I have city blocks for:

  • power plants
  • smelters
@cellularmitosis
cellularmitosis / README.md
Last active March 16, 2024 04:36
Jason Pepas' Technical Blog
@cellularmitosis
cellularmitosis / factorio.md
Last active March 7, 2024 03:43
Some notes on Factorio

Factorio notes

Some notes on the game Factorio.

Pre-belt Engineering

Red Science

Stage 1: