Skip to content

Instantly share code, notes, and snippets.


Austin Heap austinheap

View GitHub Profile
00hello /
Last active Sep 5, 2019
Grassland Next Steps

1. Create Full Node Implementation (P2P Networking and Coin Generation) Using Rust Bitcoin

Modify Andrew Poelstra's Rust Bitcoin implementation and place inside Grassland client. Node will do object detection locally. See Issue #1

2. Reduce Memory Usage In

Write Numpy arrays (motion detection, tracking, etc.) to file for temporary storage when not in use. Index file using LevelDB for retrieval

3. Restore Mosse Tracker

Return tracking system back to Mosse tracker since hardware requirements are going up and weighted-average motion detection and centroid tracking alone is too inaccurate.

irazasyed /
Last active Sep 10, 2020
How to Setup dnsmasq with dnscrypt-proxy and Cloudflare DNS on macOS

How to Setup dnsmasq with dnscrypt-proxy and Cloudflare DNS on macOS

Using Laravel Valet for localhost development, So it installs dnsmasq with it. dnsmasq runs on port 53, The default DNS port. So we setup dnscrypt-proxy on port 5300 with the default config files in this gist.

dnscrypt-proxy Installation

brew install dnscrypt-proxy
al3xtjames / xps_9560_ifr.txt
Last active Sep 29, 2020
Dell XPS 15 9560 (1.9.4) NVRAM edits
View xps_9560_ifr.txt
# Set Intel(R) Speed Shift Technology to Enabled
setup_var 0x4BC 0x1
# Set CFG Lock to Disabled
setup_var 0x4ED 0x0
# Set Above 4GB MMIO BIOS assignment to Enabled
setup_var 0x79A 0x1
# Set EHCI Hand-off to Disabled
setup_var 0x2 0x0
# Set XHCI Hand-off to Disabled

Experimental Docker Libnetwork DHCP Driver

The DHCP driver is intended for users to be able to integrate Docker IP address management with their existing IPAM strategies that use DHCP for dynamic address assignment. DHCP enables users to allocate addresses in an organized fashion that will prevent overlapping IP address assignment by associating a unique MAC address from the container eth0 Ethernet interface to an IP address as determined by the DHCP pools defined in the DHCP configuration.

This driver only provides the DHCP client functionality. It does not include a DHCP server. The default driver offers single-host IPAM or for distributed multi-host orchestrated IPAM see the libnetwork overlay driver.

Getting Started

alirobe / reclaimWindows10.ps1
Last active Nov 29, 2020
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of (different defaults). N.…
View reclaimWindows10.ps1
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <>
# Modified by: alirobe <> based on my personal preferences.
# Version: 2.20.2, 2018-09-14
# Primary Author Source:
# Tweaked Source:
# Tweak difference:
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
a-dma /
Last active Apr 24, 2020
Bash script for setting or clearing touch requirements for cryptographic operations in the OpenPGP application on a YubiKey 4.
# Bash script for setting or clearing touch requirements for
# cryptographic operations the OpenPGP application on a YubiKey 4.
# Author: Alessio Di Mauro <>
GCA=$(which gpg-connect-agent)
View import_json_appsscript.js
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();
plentz / nginx.conf
Last active Nov 30, 2020
Best nginx configuration for improved security(and performance). Complete blog post here
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
garagesocial / filters.php
Last active May 27, 2020 — forked from zmsaunders/filters.php
Laravel Filter Helper - Compress HTML Output & Strip Comments
View filters.php
### --- Snip --- ###
App::after(function($request, $response)
// HTML Minification
if(App::Environment() != 'local')
if($response instanceof Illuminate\Http\Response)
You can’t perform that action at this time.