Skip to content

Instantly share code, notes, and snippets.


Adam carneeki

View GitHub Profile
carneeki /
Last active Dec 29, 2021
deluge-gtk-graceful-kill service

Files found from an AUR source that appears to be dead. This is my attempt to keep it going if the original author has abandoned it.

Two files to be installed:

  • /usr/lib/systemd/deluge-gtk-graceful-kill.service
  • /usr/bin/
carneeki /
Created Aug 29, 2021
Fish shell function to reject a host using UFW and conntrack to purge state table entries
function reject
touch ~/rejected.txt
for host in $argv
if grep $host ~/rejected.txt
echo "$host already rejected!"
sudo conntrack -D --src $host
sudo conntrack -D --dst $host
echo "rejecting $host"
carneeki /
Last active Apr 6, 2021
Sample markdown

Sample Markdown

This is a piece of sample markdown

Heading For A table
1 thing here

Sample codeblock in java:

public void chooch() {
carneeki /
Created Apr 5, 2021
Russian Pronouns Table
Pronoun Male Female Neutral Plural
My Мой Моя Мое Мои
Your (singular/informal) Твой Твоя Твое Твои
Your (plural/formal) Ваш Ваша Ваше Ваши
Our Наш Наша Наше Наши
His Его Его Его Его
Her Ее Ее Ее Ее
Their Их Их Их Их
Its Его Его Его Его
carneeki / David Bike Controller.ino
Created Jan 18, 2020
David Bike Controller.ino
View David Bike Controller.ino
/* Send an RC-style PWM signal to motor controller
* given analog input. 2 inputs to permit joystick
* Designed for use on ATTiny85 w/ Arduino
#include <Servo.h>
#define PIN_PWM 0 // motor controller pin
#define PIN_IN A1 // analog input pin
carneeki / vmware-relicenser.service
Created Nov 29, 2019
VMWare Workstation Relicenser
View vmware-relicenser.service
# Install .service file (executed by timer)
# cp vmware-relicenser.service /etc/systemd/system/
ExecStart=/usr/bin/rm /etc/vmware/license-ws-150-e1-201804

Get browser, java, maven, and a few other bits

sudo apt install firefox-esr openjdk-11-jdk-headless mvn build-essentials zsh

install opensnap

mkdir ~/src
cd ~/src
git clone
cd opensnap
carneeki / Boney.ino
Created Oct 28, 2019
Arduino sketch to move a servo given some kind of trigger
View Boney.ino
* Boney.ino
* Arduino sketch to move a servo given some kind of trigger
* (falling edge)
* Author: Adam Carmichael <>
* License: Unlicensed.
* Warranties: None. This hasn't been tested yet. Don't poke your eye
* out.
View Pulsinator.ino
* Arduino Pulsinator for Andre by Adam
* Direction pin is controlled directly by a switch, no code needed
#define A_IN A0 // 10K linear pot wiper
#define P_OUT 5 // pulse output pin (digital 5)
bool pulseState = false; // pulse pin will be one of high or low
unsigned long nextUpdate = 0; // schedule variable to track when tasks

Keybase proof

I hereby claim:

  • I am carneeki on github.
  • I am carneeki ( on keybase.
  • I have a public key ASDGVc4Km2ihWRPJjbZzfPCouwDrRQ58UCgYVcL6KF3Z9Ao

To claim this, I am signing this object: