Skip to content

Instantly share code, notes, and snippets.

View Ulexus's full-sized avatar

Seán C. McCord Ulexus

View GitHub Profile
@Ulexus
Ulexus / talos-kernel-stuff.md
Created November 30, 2021 20:53 — forked from RealityAnomaly/talos-kernel-stuff.md
Adding a proprietary kernel module to Talos OS

Adding a proprietary kernel module to Talos OS

  1. Patching and building the kernel image
    1. Clone the pkgs repository from Github and check out the revision corresponding to your version of Talos OS
      git clone https://github.com/talos-systems/pkgs pkgs && cd pkgs
      git checkout v0.8.0
    2. Clone the Linux kernel and check out the revision that pkgs uses (this can be found in kernel/kernel-prepare/pkg.yaml and it will be something like the following: https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-x.xx.x.tar.xz)
@Ulexus
Ulexus / azure-controller-manager.yaml
Last active August 24, 2021 18:04
azure-cloud-manager.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: cloud-controller-manager
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: system:cloud-controller-manager

General

Items to keep go to front-right room. Trash bags are available in the front-right room, on the floor to the left of the fireplace. Mostly, the floors need to be swept, the trash thrown away, and the counters in the kitchen cleaned. The porch needs to be tidied up, moving the tables somewhere out of the way, put together and/or stacked.

Room tasks:

  • front-right room:
    • various paper debris on floor: trash
    • roll of plastic wrap: keep
    • UPS/power strips: keep
  • recycling bin: keep
@Ulexus
Ulexus / bridge.go
Created November 11, 2016 18:57
Bridge onsolo
func (a app) wait(ctx context.Context) stateFn {
brSub := a.Bridge.Subscribe(ari.Events.ChannelLeftBridge)
defer brSub.Cancel()
err := a.Bridge.AddChannel(a.channel)
if err != nil {
a.log.Error("Failed to add caller to bridge", "error", err)
return a.failure
}
@Ulexus
Ulexus / asterisk.service
Last active April 14, 2022 22:08
Asterisk systemd unit
[Unit]
Description=Asterisk PBX And Telephony Daemon
After=network.target
[Service]
User=asterisk
ExecStart=/usr/sbin/asterisk -f -C /etc/asterisk/asterisk.conf
ExecStop=/usr/sbin/asterisk -rx 'core stop now'
ExecReload=/usr/sbin/asterisk -rx 'core reload'

Keybase proof

I hereby claim:

  • I am Ulexus on github.
  • I am ulexus (https://keybase.io/ulexus) on keybase.
  • I have a public key whose fingerprint is 7DDC 33D2 46B5 11E4 D6B2 18F9 0413 217B C711 F3A5

To claim this, I am signing this object: