Skip to content

Instantly share code, notes, and snippets.


The Surgeon DeadlySurgeon

View GitHub Profile
DeadlySurgeon /
Last active Apr 15, 2020
Mac SUDO Touchbar

Sudo Touchbar

Done on macOS 10.15.3
This outlines basic instructions on how to make it so that when you run a sudo command, it asks for the touchbar. The only annoying part of this is that it pops up a window instead of just staying in the terminal.

sudo File

WARNING: If you fuck up this file, you probably won't be able to execute sudo.

So, these lines will need to be at the top of the /etc/pam.d/sudo file.

View untrusted-lvl12-solution.js
* robotNav.js
* The green key is located in a slightly more
* complicated room. You'll need to get the robot
* past these obstacles.
function startLevel(map) {
// Hint: you can press R or 5 to "rest" and not move the
View settings.go
package settings
import (
// App holds onto the application specific configurations.
View Profiles.json
"Profiles": [
"Link Color" : {
"Red Component" : 0.2919752080924809,
"Color Space" : "sRGB",
"Blue Component" : 0.958709716796875,
"Alpha Component" : 1,
"Green Component" : 0.61811793602673359
DeadlySurgeon /
Last active Mar 9, 2022
POC language syntax


Verbal/VerbalScript (.vrbl)

This example bit of syntax can only be described as annoying. I've taken various aspects of different languages and picked out things I hate, and shoved them in. It is unlikely that I'll go far with this language, however I think that if I plan on learning LLVM and need a toy to hook up to it, this will be the syntax for that.



A small lib to help process and keep a small history of the past STDOUT/STDERR to show off, as well as a line parser to help ease the work needed to get functions called if lines appear in STDOUT/STDERR.


Copyright 2022 The Deadly Surgeon

Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at

DeadlySurgeon / dice.go
Last active Apr 28, 2022
SVG Dice Generator for Fusion Project
View dice.go
package main
import (


POC for effictively reducing a large data footprint.

A good canidate has been found for implementing our reducer function, however more tests should be done to push optimization, not that it is needed. Overall, with harsh benchmarking we expect to see 500~1000 ns/op (I know quite the range) depending on configuration and stack size.

More tests need to be performed though so we can determine the memory