Skip to content

Instantly share code, notes, and snippets.

@preston_vanloon's plugins

Be sure to watch the YouTube stream where we talk about how these plugins work in depth.

These two plugins helped me get into the top 10 of the dark forest score contest for v0.5.

auto-conquer is a plugin that would find the best planets to conquer. It is currently tweaked for late game, so you'll have to read the code and change parameters if you are just starting out!

auto-silver is a plugin to re-distribute silver mines to available planets. It's also tweaked for late game, ignoring silver mines with small amounts of silver.

@cnlohr
cnlohr / forgot_to_check_out_with_recurse_submodules.md
Last active May 10, 2024 15:59
Git forgot to clone recursively (forgot to check out with recurse submodules)
@tobiasstrebitzer
tobiasstrebitzer / prysm-beacon-chain.service
Last active July 19, 2020 03:01
Prsym Systemd Services
# /etc/systemd/system/prysm-beacon-chain.service
[Unit]
Description=Prysm Beacon Chain
After=syslog.target network.target
[Service]
Type=simple
User={USERNAME}
Group={GROUP}
@chris-belcher
chris-belcher / coinswap-design.md
Last active April 26, 2024 04:37
Design for a CoinSwap Implementation for Massively Improving Bitcoin Privacy and Fungibility

Design for a CoinSwap Implementation for Massively Improving Bitcoin Privacy and Fungibility

25/5/2020

Abstract

Imagine a future where a user Alice has bitcoins and wants to send them with maximal privacy, so she creates a special kind of transaction. For anyone looking at the blockchain her transaction appears completely normal with her coins seemingly going from address A to address B. But in reality her coins end up in address Z which is entirely unconnected to either A or B.

Now imagine another user, Carol, who isn't too bothered by privacy and sends her bitcoin using a regular wallet which exists today. But because Carol's transaction looks exactly the same as Alice's, anybody analyzing the blockchain must now deal with the possibility that Carol's transaction actually sent her coins to a totally unconnected address. So Carol's privacy is improved even though she didn't change her behaviour, and perhaps had never even heard of this software.

@ik5
ik5 / colors.go
Last active April 8, 2024 14:25
Simple golang expirement with ANSI colors
package main
// http://play.golang.org/p/jZ5pa944O1 <- will not display the colors
import "fmt"
const (
InfoColor = "\033[1;34m%s\033[0m"
NoticeColor = "\033[1;36m%s\033[0m"
WarningColor = "\033[1;33m%s\033[0m"
ErrorColor = "\033[1;31m%s\033[0m"
DebugColor = "\033[0;36m%s\033[0m"