Skip to content

Instantly share code, notes, and snippets.

View joelcarlton's full-sized avatar

Joel Carlton joelcarlton

View GitHub Profile
@joelcarlton
joelcarlton / edgemax-ad-blocker-dnsmasq.md
Created February 15, 2023 14:57 — forked from bsodmike/edgemax-ad-blocker-dnsmasq.md
HOWTO Ubiquity EdgeMAX Ad Blocking Content Filtering using EdgeRouter

Ubiquity EdgeMAX Ad Blocking Content Filtering using EdgeRouter

This is based on a guide on the Ubnt forums.

Log into your Edgerouter and run the following - sudo -i && vi /config/user-data/update-adblock-dnsmasq.sh This will switch you to the root user and open up vi.

#!/bin/bash
@joelcarlton
joelcarlton / Custom-Powershell-Blink.js
Created October 30, 2019 15:11
This is a custom theme for the Blink app in iOS
@joelcarlton
joelcarlton / object-loop.sublime-snippet
Last active December 20, 2015 23:49
JavaScript: Object Loop
<snippet>
<content><![CDATA[
var key;
for (key in ${1:Object}) {
// Avoid Prototypes
if (${1:Object}.hasOwnProperty(key)) {
${3://Actions}
}
}