Skip to content

Instantly share code, notes, and snippets.

Austin Heap austinheap

View GitHub Profile
@al3xtjames
al3xtjames / xps_9560_ifr.txt
Last active Sep 2, 2018
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 Apr 18, 2019
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 Mar 12, 2019
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
@plentz
plentz / nginx.conf
Last active Apr 18, 2019
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 Nov 15, 2018 — 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)
@darkhelmet
darkhelmet / balance.go
Created Jun 16, 2013
Simple TCP load balancer in Go.
View balance.go
package main
import (
"flag"
"io"
"log"
"net"
"strings"
)
@assimovt
assimovt / README.md
Last active Jun 8, 2018
Adds Newrelic RPMs metrics to your dashboard.
View README.md

Setup

Add the following gems to your Gemfile:

gem 'activeresource'
gem 'newrelic_api'

Update your bundle:

@jmcguirk
jmcguirk / PerformBuild.cs
Created Mar 8, 2013
Unity3D Ant Build Configuration
View PerformBuild.cs
// C# example
using UnityEditor;
using System.IO;
using System.Collections;
using UnityEngine;
using System.Collections.Generic;
class PerformBuild
{
static string[] GetBuildScenes()
@derEremit
derEremit / gource-multiple-repositories.sh
Created Nov 8, 2011 — forked from anonymous/gource-multiple-repositories.sh
Generates gource video out of multiple repositories.
View gource-multiple-repositories.sh
#!/usr/bin/env bash
# Generates gource video (h.264) out of multiple repositories.
# Pass the repositories in command line arguments.
# Example:
# <this.sh> /path/to/repo1 /path/to/repo2
RESOLUTION="1600x1080"
outfile="gource.mp4"
i=0
You can’t perform that action at this time.