Skip to content

Instantly share code, notes, and snippets.

View lexffe's full-sized avatar

brian lexffe

View GitHub Profile
@lexffe
lexffe / README.md
Created June 19, 2023 00:44
software wish list

Last updated: 2023-06-19

Autolock

Category: Security, Presence Detection

  • Auto lock computer (mac/linux) when
    • Apple Watch is not near computer (BLE), or
    • YubiKey is not plugged into computer
@lexffe
lexffe / README.md
Created June 12, 2023 18:01
being your own cloud provider is hard.

WIP

Stack

  • Abstraction: Kubernetes (K8s / K3s / K0s)
  • Compute: ?
  • Database: any operator (Postgres recommended)
  • Object storage: Minio
  • Block storage abstraction: Longhorn / Mayastor
  • Certificate manager: cert-manager
@lexffe
lexffe / cool.md
Created June 8, 2023 13:47
cool things

cool things

IHP

What?

Haskell framework for building a full-stack application

Why it's cool

@lexffe
lexffe / list.md
Last active June 7, 2023 16:45
big-brain

list of things | mind dump

WIP

software development

dumb languages

it's dumb but it's just my opinions

@lexffe
lexffe / config.h
Last active March 26, 2023 00:47
Aurora sweep keymap
/* Copyright 2022 splitkb.com <support@splitkb.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@lexffe
lexffe / org.css
Last active March 2, 2021 13:56
Clean, "minimalistic" styles for org-mode + html.
@import 'https://cdnjs.cloudflare.com/ajax/libs/IBM-type/0.5.4/css/ibm-type.min.css';
* {
font-family: 'IBM Plex Sans', sans-serif;
}
body {
background-color: #f7f9fb;
margin: auto;
padding-bottom: 1em;
@lexffe
lexffe / README.md
Created April 10, 2020 11:24
Rough categorisation of JavaScript MV\* frameworks.

Rough categorisation of JavaScript MV* frameworks

This is a non-exhaustive list of JavaScript frameworks for building web apps and components. It is based on countless hours of figuring out which framework to use for a personal project.

Also See: HNPWA, and TodoMVC.

The mature stuff

These are around for a long time.

@lexffe
lexffe / main.py
Last active May 6, 2020 08:27
Create DigitalOcean cloud firewall with Cloudflare IP populated.
#!/usr/bin/env python3
'''
This script
1. creates a DigitalOcean cloud firewall with incoming connection from Cloudflare allowed. (80/tcp, 443/tcp, 3012/tcp)
2. requires urllib3.
3. is non-interactive. You must edit this file for the variables.
4. is not production ready. (I honestly don't know.)
License: MIT
@lexffe
lexffe / README.md
Last active November 23, 2019 02:48
A checklist for securing your freshly started VPS.

Server checklist

last updated: 2019-11-14

META

Note: CentOS, Fedora, RHEL : SELinux ; Ubuntu, Debian : AppArmor

  • Change root password
  • Create non-superuser account