Skip to content

Instantly share code, notes, and snippets.

View andrewgioia's full-sized avatar

Andrew Gioia andrewgioia

View GitHub Profile
@andrewgioia
andrewgioia / unifi-optimizations.md
Last active September 29, 2020 14:29
Ongoing list of Unifi network optimizations and settings

Optimizing Unifi network performance

Below are the key settings that I apply on our Unifi installation for optimal performance. Credit @adrianmace.

Settings

Settings > Site

  • Ensure Enable Advanced Features is enabled
@andrewgioia
andrewgioia / pihole-blacklist.txt
Created July 1, 2020 22:26
Personal Pi-ahole blocklist
(\.|^)bytecdn\.cn$
(\.|^)bytedance\.com$
(\.|^)bytedance\.net$
(\.|^)bytedns\.net$
(\.|^)byteimg\.com$
(\.|^)byteoversea\.com$
(\.|^)byteoversea\.net$
(\.|^)bytetcdn\.com$
(\.|^)hypstarcdn\.com$
(\.|^)ibytedtos\.com$
@andrewgioia
andrewgioia / youtube-audio.css
Created October 15, 2019 17:45
YouTube Audio-only Stylus style
/*
* YouTube Audio-only CSS
* Add this to Stylus or any browser style extension for audio-only "work mode"
* Hides all images, avatars, and the video
*/
/* Video player */
div#player-container,
div#player,
@andrewgioia
andrewgioia / nighthawk.proteus.css
Last active May 11, 2017 15:45
TeachBoost Night Theme: Proteus
/* Scrollbar */
.tree::-webkit-scrollbar,
fieldset.settings::-webkit-scrollbar,
fieldset.list::-webkit-scrollbar,
section::-webkit-scrollbar,
.tt-menu::-webkit-scrollbar{
width: 15px;
}
@andrewgioia
andrewgioia / nighthawk.athena.css
Last active April 26, 2017 14:50
TeachBoost Night Theme: Athena
/* Layout */
.row.page,
footer {
background: #4b4b4b;
}
footer {
color: #eee;
}
@andrewgioia
andrewgioia / nighthawk.titan.css
Last active April 24, 2017 13:54
TeachBoost Night Theme: Titan
/* Inputs */
input[type=date],
input[type=number],
input[type=password],
input[type=text],
textarea,
select,
.aj-th-filter .aj-th-filter-field {
background: #333;
@andrewgioia
andrewgioia / nighthawk.raven.css
Last active April 26, 2017 14:49
TeachBoost Night Theme: Raven
/* Global */
header {
background: #26292C;
}
body {
background: #4b4b4b;
color: #ddd;
}
@andrewgioia
andrewgioia / system.md
Created September 21, 2016 19:17
macOS Development Configuration Guide

OSX Development Configuration

Introduction

This guide will walk through the steps (and common issues/workarounds) to installing PHP, Apache, MySQL, Redis, Mongo DB, and Couch DB, as well as all necessary dependencies and their configuration with PHP and the OS X/macOS system.

It is important to remember Mac OS X/macOS runs atop UNIX, so all of these technologies install easily on your OS. Furthermore, Apache and PHP are included by default. In the end, you only install MySQL and the other databases and then simply "turn everything on."

Important notes on updating OS X/macOS: with every update of OS X (Yosemite, El Capitan, etc) and now macOS Sierra, your Apache configuration file will be overwritten to httpd.conf.pre-update and a stock file will be added. Your virtual hosts file, /extras/httpd-vhosts.conf will also be overwritten and not backed up automatically. You need to diff httpd.conf and your backed up version, add your virtual host configuration from your own backup, and re-apply y

@andrewgioia
andrewgioia / keybase.md
Created April 14, 2014 14:00
Keybase Proof

Keybase proof

I hereby claim:

  • I am andrewgioia on github.
  • I am andrewgioia (https://keybase.io/andrewgioia) on keybase.
  • I have a public key whose fingerprint is 53ED 79EE 95F4 4E47 CD01 A4E2 8409 6299 26E6 D0B0

To claim this, I am signing this object: