Skip to content

Instantly share code, notes, and snippets.

View CodeMouse92's full-sized avatar
Sipping coffee at my local café.

Jason C. McDonald CodeMouse92

Sipping coffee at my local café.
View GitHub Profile
Verifying that +codemouse92 is my blockchain ID. https://onename.com/codemouse92
@CodeMouse92
CodeMouse92 / domains.conf
Last active May 4, 2017 00:17
Renewal Tool for OpenDKIM
example.com
example.net
@CodeMouse92
CodeMouse92 / main.cpp
Created June 21, 2017 01:28
Perilous Guess
/* Perilous Guess
* Written by Jason C. McDonald (CodeMouse92)
* Intended as an example for PawLIB trilean.
* Relies on PawLIB: mousepawmedia.com/pawlib
*/
/* LICENSE
* Copyright (c) 2017 Jason C. McDonald.
* All rights reserved.
*
@CodeMouse92
CodeMouse92 / main.cpp
Created June 21, 2017 03:11
IOChannel Memory Dump Demo
#include "pawlib/iochannel.hpp"
using namespace pawlib;
using namespace pawlib::ioformat;
class SomeMagicThing
{
public:
SomeMagicThing(int n1, int n2, bool b1)
:foo(n1), bar(n2), baz(b1)
@CodeMouse92
CodeMouse92 / main.cpp
Created June 21, 2017 04:14
Goldilocks Benchmark Demo
#include "pawlib/iochannel.hpp"
#include "pawlib/goldilocks.hpp"
using namespace pawlib;
using namespace pawlib::ioformat;
void bubblesort(int* arr, int len)
{
int temp;
bool swap;
sudo add-apt-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main"
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt update
sudo apt install python-lldb-5.0
sudo apt install clang-5.0 clang-5.0-doc libclang-common-5.0-dev libclang-5.0-dev libclang1-5.0 libclang1-5.0-dbg libllvm-5.0-ocaml-dev libllvm5.0 libllvm5.0-dbg lldb-5.0 llvm-5.0 llvm-5.0-dev llvm-5.0-doc llvm-5.0-examples llvm-5.0-runtime clang-format-5.0 python-clang-5.0 libfuzzer-5.0-dev
sudo ln -sf /usr/bin/llvm-symbolizer-5.0 /usr/bin/llvm-symbolizer
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang-5.0 60
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 50
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-5.0 60
@CodeMouse92
CodeMouse92 / magic_hosts
Last active April 27, 2018 21:09
Magic Hosts Switcher (Bash Script)
#!/bin/bash
# Magic Hosts Switcher
# Automatically detects a target network and turns on/off LAN routing in
# your /etc/hosts file accordingly.
#
# Setup: In your root crontab, add and edit the following...
# * * * * * /path/to/magic_hosts
#
# AUTHOR(S): Jason C. McDonald
@CodeMouse92
CodeMouse92 / skill_list.md
Last active August 21, 2023 21:53
Languages and Skills [CodeMouse92]

Skill levels are indicated with this notation:

  • Basic [+]
  • Proficient [++]
  • Advanced [+++]
  • Expert [++++]

Programming Languages

  • ActionScript 3.0 [++++]
  • Assembly (X86) [+]
Verifying my Blockstack ID is secured with the address 1NWRfydSKGpSX4423mgutNu6fMi52Qx81T https://explorer.blockstack.org/address/1NWRfydSKGpSX4423mgutNu6fMi52Qx81T

THE CRANKY DEVELOPER'S MANIFESTO

I am developing this project for the sole purpose of my own enjoyment. I make no promises about release date, features, usability, stability, practicality, or compliance with any normal standards of software development.

In pursuit of my unhindered enjoyment of this project, the only end-user I choose to care about in this project is myself, and maybe a few select friends. The timeline, the features, and the implementation are all