Skip to content

Instantly share code, notes, and snippets.

@halcyon
halcyon / gist:21b55aef56c199cd441816828fe3fe72
Created April 4, 2024 15:25
How to update fbsd bootcode
On the contrary, because of the switch from FreeBSD ZFS to
OpenZFS, the bootcodes needs to be updated! It's unfortunate
that no message is displayed 8-(
The problem is, finding out which bootcode needs to go where etc.
It depends if your system boots from the EFI partition or
from the freebsd-boot partition. And how your system is
partitioned.
@halcyon
halcyon / openbsd-inteldrm-karl-enabled.org
Last active May 24, 2020 17:21
openbsd disable inteldrm while keeping KARL enabled

Boot System

  • boot -c
    • disable inteldrm
    • quit

Disable IntelDRM Permanently

  • config -ef /bsd
    • disable inteldrm
    • quit
  • sha256 -h /var/db/kernel.SHA256 /bsd
{:com.coinregtech.http/http-kit {:port 8080
:handler #ig/ref :com.coinregtech.handler/handler}
:com.coinregtech.handler/handler {:db #ig/ref :com.coinregtech.datomic/db
:cors? false}
:com.coinregtech.datomic/db {:uri "datomic:free://localhost:4334/toodles?password=harry"}}
@halcyon
halcyon / arch_setup.sh
Created December 20, 2017 03:16 — forked from gutoandreollo/arch_setup.sh
Installing Arch Linux with an encrypted btrfs root, with GPT and UEFI support
# Install arch linux in an encrypted btrfs partition with GPT and UEFI support, gummiboot and hibernate/resume support
# sources:
# http://hole.tuziwo.info/install-arch-linux-on-uefi-gpt-computer-with-btrfs-support.html
# http://www.brunoparmentier.be/blog/how-to-install-arch-linux-on-an-encrypted-btrfs-partition.html
# https://wiki.archlinux.org/index.php/Dm-crypt/Swap_encryption
# Take note of this:
# - The first thing you need is to identify which disk you're going to use. For the purpose of this guide, it will be /dev/sda
# Be VERY CAREFUL if you have more than one disk on your computer, and DOUBLE CAREFUL if one of them is the one with your backups
# - Since btrfs does not support swapfiles (yet), we'll create a swap partition. In this guide, it will NOT be encrypted

Keybase proof

I hereby claim:

  • I am halcyon on github.
  • I am halcyonblue (https://keybase.io/halcyonblue) on keybase.
  • I have a public key whose fingerprint is 9D6F 6DBC 0222 9F90 6097 6ED3 9768 77F5 FAAB D870

To claim this, I am signing this object:

https://www.stringway.com/us/product/ml120con-t92/
Stringway ML120 + 2 Triple flying clamps + 1 Double flying clamp + 1 Starting clamp + Cross-stringing tool
https://www.stringforum.net/board/showthread.php?t=3105
https://www.youtube.com/watch?v=Gw3dHufCNWM
Fairway grips installed added 11.56 grams.
Increase from Fairway leather and 17 grams from strings Volkl Cyclone Tour.
Hope this helps.
Project One 7 - Paul Reed order
First priority was 68 max unstrung flex. Probably the hardest part. 65 RDC strung.
Second was finished swingweight between 325-330
@halcyon
halcyon / javascript-to-rust-cheat-sheet.md
Last active January 20, 2017 16:38 — forked from carols10cents/javascript-to-rust-cheat-sheet.md
JavaScript to Rust Cheat Sheet

JavaScript to Rust Cheat Sheet

The goal of this is to have an easily-scannable reference for the most common syntax idioms in JavaScript and Rust so that programmers most comfortable with JavaScript can quickly get through the syntax differences and feel like they could read and write basic Rust programs.

What do you think? Does this meet its goal? If not, why not?

Variables

JavaScript:

Brother DCP-L2540DW on Arch Linux

Printer

The printer driver can be installed with the brother-brgenml1 AUR package.