Skip to content

Instantly share code, notes, and snippets.

View maxpowa's full-sized avatar
💻
DATABASE DATABASE JUST LIVING IN THE DATABASE WOW WOW

Max maxpowa

💻
DATABASE DATABASE JUST LIVING IN THE DATABASE WOW WOW
View GitHub Profile
@highlyunavailable
highlyunavailable / SEPerf.md
Last active August 29, 2026 23:49
High-Performance C# for Space Engineers Programmable Blocks

High-Performance C# for Space Engineers Programmable Blocks

Writing fast C# inside Space Engineers programmable blocks means working with tight constraints: 50K instructions per tick, one thread shared with the whole game world, and a compiler that adds invisible overhead to almost everything you write.


C# 6 Syntax Constraints

The SE compiler is old. Here are some things to avoid and what to use instead:

@mrpeardotnet
mrpeardotnet / PVE-HP-ssacli-smart-storage-admin.md
Last active October 18, 2026 09:31
HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

Why use HP Smart Storage Admin CLI?

You can use ssacli (smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.

CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.

ssacli replaces older hpssacli, but shares the same syntax and adds support for newer servers and controllers.

Installation

@Avaq
Avaq / combinators.js
Last active October 23, 2026 10:52
Common combinators in JavaScript
const I = x => x
const K = x => y => x
const A = f => x => f (x)
const T = x => f => f (x)
const W = f => x => f (x) (x)
const C = f => y => x => f (x) (y)
const B = f => g => x => f (g (x))
const S = f => g => x => f (x) (g (x))
const S_ = f => g => x => f (g (x)) (x)
const S2 = f => g => h => x => f (g (x)) (h (x))
@willurd
willurd / web-servers.md
Last active November 8, 2026 14:04
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000