Skip to content

Instantly share code, notes, and snippets.

Avatar
🌈

Austin Heap austinheap

🌈
View GitHub Profile
@00hello
00hello / grassland_next_steps.md
Last active Sep 5, 2019
Grassland Next Steps
View grassland_next_steps.md

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 multi_object_tracking.py

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
irazasyed / 1-dnsmasq-dnscrypt-proxy-setup.md
Last active Sep 10, 2020
How to Setup dnsmasq with dnscrypt-proxy and Cloudflare DNS on macOS
View 1-dnsmasq-dnscrypt-proxy-setup.md

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
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
View docker-experimental-dhcp-ipam-driver.md

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
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 https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
View reclaimWindows10.ps1
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.20.2, 2018-09-14
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
@a-dma
a-dma / yubitouch.sh
Last active Apr 24, 2020
Bash script for setting or clearing touch requirements for cryptographic operations in the OpenPGP application on a YubiKey 4.
View yubitouch.sh
#!/bin/bash
# Bash script for setting or clearing touch requirements for
# cryptographic operations the OpenPGP application on a YubiKey 4.
#
# Author: Alessio Di Mauro <alessio@yubico.com>
GCA=$(which gpg-connect-agent)
DO=0
UIF=0
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
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();
@plentz
plentz / nginx.conf
Last active Nov 30, 2020
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@garagesocial
garagesocial / filters.php
Last active May 27, 2020 — forked from zmsaunders/filters.php
Laravel Filter Helper - Compress HTML Output & Strip Comments
View filters.php
<?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.