Skip to content

Instantly share code, notes, and snippets.

View neoromantique's full-sized avatar
🏠
Working from home

Dave neoromantique

🏠
Working from home
View GitHub Profile
@pandrewhk
pandrewhk / FreeBSD 13.2 arm64 on Hetzner CAX11 Installation
Last active September 26, 2023 17:46
FreeBSD 13.2 arm64 on Hetzner CAX11
- # download VIMAGE to a spare FreeBSD box
- unxz -T0 # uncompress
- mdconfig image.raw; mount # for editing
- sshd_enable
- devmatch_blacklist="virtio_random.ko" # avoid a bug
- PermitRootLogin
- /root/.ssh/authorized_keys
- umount; mdconfig -d
- xz -T0 -9 # compress edited image
- cp nginx/ # publish with any web server
@rain-1
rain-1 / LLM.md
Last active May 2, 2024 08:08
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@maxwellmlin
maxwellmlin / LPX-Trial-Reset.sh
Created April 14, 2021 03:46
Logic Pro X Trial Reset
mv -v ~/Library/Application\ Support/.lpxuserdata ~/.Trash
@frafra
frafra / .gitlab-ci.yml
Created November 6, 2020 15:46
Build containers with GitLab CI without root nor daemons by using buildkit
build-container:
stage: build
image:
name: moby/buildkit:rootless
entrypoint: [ "sh", "-c" ]
variables:
BUILDKITD_FLAGS: --oci-worker-no-process-sandbox
before_script:
- |
mkdir ~/.docker
@dannote
dannote / final-cut-pro-trial-reset.swift
Last active April 17, 2024 10:39
Final Cut Pro X trial reset
#!/usr/bin/swift
import Foundation
let path = URL(fileURLWithPath: NSString(string: "~/Library/Application Support/.ffuserdata").expandingTildeInPath)
let data = try! NSData(contentsOf: path) as Data
let dictionary = try! NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as! NSDictionary
let mutableDictionary = dictionary.mutableCopy() as! NSMutableDictionary
for (key, value) in mutableDictionary {