Skip to content

Instantly share code, notes, and snippets.

View outofband's full-sized avatar

Aaron R. Mathews outofband

  • Tucson, AZ
  • 09:27 (UTC -07:00)
View GitHub Profile
@ctsrc
ctsrc / 00_install_fbsd_14_0_hetzner.md
Last active May 1, 2024 04:21
Install FreeBSD 14.0 on Hetzner

Install FreeBSD 14.0 on Hetzner server

Hetzner no longer offers direct install of FreeBSD, but we can do it ourselves. Here is how :)

Boot the hetzner server in Hetnzer Debain based rescue mode. ssh into it. then:

wget https://mfsbsd.vx.sk/files/iso/14/amd64/mfsbsd-14.0-RELEASE-amd64.iso

qemu-system-x86_64 \
  1. Open Automator.app
  2. Create new Quick Action
  3. Select Run AppleScript
  4. Add this:
set inputVolume to input volume of (get volume settings)
if inputVolume = 0 then
	set inputVolume to 100
	display notification "Volume set to 100" with title "✅ Microphone is on"
(defn -ogroup [form2]
(reduce
(fn [{:keys [stack cursor]} v]
(cond (= :v-par-start v) {:stack (conj stack []) :cursor (conj cursor 0)}
(= :v-par-end v) [stack] ;(first col)
:else {:stack (conj stack v) :cursor cursor}))
{:stack [] :cursor [0]} form2))
(defn -ooo [form]
@leonardofed
leonardofed / README.md
Last active April 29, 2024 10:49
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@AlexCharlton
AlexCharlton / osc52e.el
Last active June 16, 2021 12:00
Copy text from emacs into xterm, hterm, trough screen and tmux, with support for graphical displays and multi-byte characters
;;;; This script can be loaded during emacs initialization to automatically
;;;; send `kill-region' and `kill-ring-save' regions to your system clipboard.
;;;; The OSC 52 terminal escape sequence is used to transfer the selection from
;;;; emacs to the host terminal.
;;;; It is based off of the osc52.el copyright the Chromium OS authors, but
;;;; was modified to add support for tmux, graphical displays, and
;;;; multi-byte strings.
;;;; It works in hterm, xterm, and other terminal emulators which support the
#!/usr/bin/env bash
# Loads and mounts an ISO over SMB via the
# SuperMicro IPMI web interface
#
# usage: supermicro-mount-iso.sh <ipmi-host> <smb-host> <path>
# e.g.: supermicro-mount-iso.sh 10.0.0.1 10.0.0.2 '\foo\bar\windows.iso'
set -x
@lloc
lloc / proxy.py
Last active April 26, 2019 10:00
Configure GitHub for a connection trough a proxy with a pacfile
#!/usr/bin/env python
"""
The config.ini contains something like:
[Proxy]
proxy = http://YOURPROXY/proxy.pac
user = YOURUSER
pass = YOURPASS
local = proxy.pac