Skip to content

Instantly share code, notes, and snippets.

View RobinMcCorkell's full-sized avatar

Robin McCorkell RobinMcCorkell

View GitHub Profile
@RobinMcCorkell
RobinMcCorkell / sway.log
Created November 4, 2021 23:38
Sway debug log during mouse glitch in Outer Wilds
This file has been truncated, but you can view the full file.
-- Journal begins at Thu 2021-11-04 18:08:45 GMT, ends at Thu 2021-11-04 23:34:02 GMT. --
Nov 04 23:31:25 fedora /usr/libexec/gdm-wayland-session[2057]: 00:00:00.000 [INFO] [sway/main.c:347] Sway version 1.6.1
Nov 04 23:31:25 fedora /usr/libexec/gdm-wayland-session[2057]: 00:00:00.000 [INFO] [sway/main.c:348] wlroots version 0.14.1
Nov 04 23:31:25 fedora /usr/libexec/gdm-wayland-session[2057]: 00:00:00.001 [INFO] [sway/main.c:155] Linux fedora 5.14.10-300.fc35.x86_64 #1 SMP Thu Oct 7 20:48:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Nov 04 23:31:25 fedora /usr/libexec/gdm-wayland-session[2057]: 00:00:00.001 [INFO] [sway/main.c:171] Contents of /etc/os-release:
Nov 04 23:31:25 fedora /usr/libexec/gdm-wayland-session[2057]: 00:00:00.001 [INFO] [sway/main.c:155] NAME="Fedora Linux"
Nov 04 23:31:25 fedora /usr/libexec/gdm-wayland-session[2057]: 00:00:00.001 [INFO] [sway/main.c:155] VERSION="35 (Workstation Edition)"
Nov 04 23:31:25 fedora /usr/libexec/gdm-wayland-session[2057]: 00:00:00.001 [INFO] [sway/main.c:155
@RobinMcCorkell
RobinMcCorkell / YamlAdapter.hpp
Created May 19, 2015 12:51
Adapter between Boost::Program_Options and yaml-cpp
/**
* @author Robin McCorkell <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@RobinMcCorkell
RobinMcCorkell / smtp-test.py
Last active August 29, 2015 14:20
Test an SMTP server
#!/usr/bin/env python3
import random
import string
import smtplib
import argparse
import sys
import getpass
parser = argparse.ArgumentParser(description='Test an SMTP server for security')
@RobinMcCorkell
RobinMcCorkell / autogen.sh
Created July 1, 2014 09:30
Git-based autogen.sh
#!/bin/bash
# Create ChangeLog from git
if which git > /dev/null && git rev-parse; then
[[ -e ChangeLog ]] && rm -f ChangeLog
git log --pretty=medium --abbrev-commit > ChangeLog
else
touch ChangeLog #suppress errors with a missing ChangeLog
fi
@RobinMcCorkell
RobinMcCorkell / TechnicSolder-0.6-paths_php_symlink.patch
Last active August 29, 2015 14:02
Allow symlinking paths.php to a different place
@RobinMcCorkell
RobinMcCorkell / id-spare.pl
Last active August 29, 2015 14:01
Minecraft Forge Spare ID Finder
#!/usr/bin/perl
# Copyright (C) 2014 Robin McCorkell <[email protected]>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@RobinMcCorkell
RobinMcCorkell / id-copy.pl
Last active August 29, 2015 14:01
Minecraft Forge ID Copier
#!/usr/bin/perl
# Copyright (C) 2014 Robin McCorkell <[email protected]>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@RobinMcCorkell
RobinMcCorkell / karoshi-client-hw-info.sh
Created September 29, 2013 20:05
Hardware info commands for Karoshi Client
#!/bin/bash
# CPU
#dmidecode -t processor
declare -A cpu=(
[cores]=
[frequency]=
[model]=
[vendor]=
)
@RobinMcCorkell
RobinMcCorkell / rrnat-classes.md
Last active December 23, 2015 17:49
Class layout, interfaces and psudocode for the rrnat project

Class Overview

Classes used in rrnat - each namespace is in a separate directory

  • Netfilter
    • Conntrack - create new conntrack
    • Listener - listen for incoming packets through QUEUE
    • Status - get connection status for a client
  • Client