Skip to content

Instantly share code, notes, and snippets.

View exabrial's full-sized avatar

Jonathan S. Fisher exabrial

View GitHub Profile
@exabrial
exabrial / FreeRadius, PEAP-MSCHAP, Samba, Ubuntu 14.04, ActiveDirectory, LDAP.md
Last active January 10, 2022 01:08
FreeRadius, PEAP-MSCHAP, Samba, Ubuntu 14.04, ActiveDirectory, LDAP

FreeRadius, PEAP-MSCHAP, Samba, Ubuntu 14.04, ActiveDirectory, LDAP

Why This guide

@exabrial
exabrial / openpgp.txt
Created January 28, 2016 05:35
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:097182a72ed441f55266b961fd8d210a740f4fdf]
@exabrial
exabrial / keybase.md
Last active March 4, 2018 19:14
keybase.md

Keybase proof

I hereby claim:

  • I am exabrial on github.
  • I am exabrial (https://keybase.io/exabrial) on keybase.
  • I have a public key whose fingerprint is 8716 38A2 1A7F 2C38 0664 7142 0306 A354 336B 4F0D

To claim this, I am signing this object:

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

@exabrial
exabrial / README.md
Created May 10, 2018 02:39 — forked from jmruc/README.md
Generating pom.xml from gradle

To generate a pom.xml file just run gradle writeNewPom

If you want to generate it as pom.xml in the root of the project, replace writeTo("$buildDir/newpom.xml") with writeTo("pom.xml")

@exabrial
exabrial / gist:744239a1ecddcf0a9429d2b0c3c36978
Created July 25, 2018 17:16
HealthBridge Privacy Policy
Health Bridge does not, will not, and can not store any of your data in long term storage. Temporal storage such as memory, encrypted temporary files, may be necessary in order to sync information between services. We strive to be a gateway between services, and that's it. You will always own your data, and we will never store it.
We will store authentication tokens for each of the connected services in a secured and encrypted database. These tokens are revokable by the user at any point.
In addition, HealthBridge will use the lastest version of TLS supported to transport any data between services. We will never roll our own cryptography and stick to industry standard encryption practices.
<html>
<h1>Hello, world</h1>
<p>
It works
</p>
</html>
@exabrial
exabrial / PatchJdk18.java
Created October 10, 2018 16:42
JDK 1.8 Doesn't Support PATCH. Here's how to "patch" it at Runtime as long as your security manager is disabled.
public class PatchJdk18 {
public static void fixJdk18() {
try {
Field field = HttpURLConnection.class.getDeclaredField("methods");
setFinalStatic(field, new String[] { "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "TRACE", "PATCH", "KITTENS" });
} catch (Exception e) {
throw new RuntimeException(e);
}
}
@exabrial
exabrial / gist:45d1cf0505d2d7859d570064f7f02385
Created June 13, 2019 17:46 — forked from scottburton11/gist:3222152
Audio Compression for Voiceover

About compression

Audio compression is used to reduce the dynamic range of a recording. Dynamic range is the difference between the loudest and softest parts of an audio signal. It was originally used to guard against defects when cutting wax and vinyl phonograph records, but generally became useful as a way of increasing the loudness of an audio recording without achieving distortion.

The goal of most compression applications is to increase the amplitude of the softest parts of a recording, without increasing the amplitude of the loudest parts.

Compressor anatomy

Compressors generally all have the same conceptual parts. However, not all compressors present variable controls for all parts to the user. If you don't see all of your compressor's controls here, there's a chance it either has a fixed value (and no control), or is named something else:

@exabrial
exabrial / gist:5b884941fdf7db89dbc4f10f114f3f57
Created August 4, 2019 03:57 — forked from ktoso/gist:708972
eclipse formatter pre-commit hook
#!/bin/sh
#
# This hook will run the eclipse code formatter before any commit
# to make the source look as it's supposed to look like in the repo.
ECLIPSE_HOME=$HOME/eclipse
STYLE_FILE=$HOME/org.eclipse.jdt.core.prefs
echo "Running pre-commit hook: run-eclipse-formatter---------------------"
echo "Will run eclipse formatter, using: $STYLE_FILE"
echo "Listing folders to run formatter on… "