Skip to content

Instantly share code, notes, and snippets.

@nathansizemore
nathansizemore / html5-template.html
Last active October 11, 2019 13:10
html5 template
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="author" content="[email protected]">
@nathansizemore
nathansizemore / thunderdome-mk.md
Last active May 3, 2019 01:21
Thunderdome - Mortal Kombat

Thunderdome - Mortal Kombat 11

Presented by [New Challenger][nch-discord]


General

Thunderdome is a weekly FT-10 (First To 10) competition hosted by [New Challenger][nch-discord]. The winner of the set is crowned and receives

@nathansizemore
nathansizemore / main.rs
Created July 28, 2019 16:26
Rust - Win32 Window Example
// Copyright 2019 Nathan Sizemore <[email protected]>
//
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
// If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
extern crate winapi;
use std::ffi::OsStr;
use std::iter::once;
@nathansizemore
nathansizemore / certs-gen.sh
Last active September 24, 2022 21:26
OpenSSL - RSA - Client and Server Chains Generation
#!/bin/sh
set -xe
openssl req -nodes \
-x509 \
-days 3650 \
-newkey rsa:4096 \
-keyout ca.key \
-out ca.cert \

Bad Ass Gumbo

Shit You Need

  • Flour
  • High temp oil (avocado/grape seed)
  • Yellow onion
  • Red bell pepper
  • Celery
  • Garlic
@nathansizemore
nathansizemore / fn-example.rs
Created November 16, 2022 04:42
libtabellarius function example
// Copyright 2022 Nathan Sizemore <[email protected]>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
extern crate libtabellarius;
#[macro_use]
extern crate log;
extern crate uuid;
@nathansizemore
nathansizemore / usb-bulk-driver.c
Created March 8, 2023 03:22
USB Bulk Gadget Driver
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 - 2016 Samsung Electronics
* Krzysztof Opasiak <[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,