Skip to content

Instantly share code, notes, and snippets.

@lludlow
lludlow / adblock-hostsfile.sh
Created April 20, 2017 14:48
dnsmasq ad blocking
#!/bin/bash
# Modified Pi-hole script to generate a generic hosts file
# for use with dnsmasq's addn-hosts configuration
# original : https://github.com/jacobsalmela/pi-hole/blob/master/gravity-adv.sh
# Address to send ads to. This could possibily be removed, but may be useful for debugging purposes?
destinationIP="0.0.0.0"
outlist='/etc/final_blocklist.txt'
tempoutlist="$outlist.tmp"

Keybase proof

I hereby claim:

  • I am madbuda on github.
  • I am lludlow (https://keybase.io/lludlow) on keybase.
  • I have a public key ASCEh80hbAnh8nhH9xpVWqTqOu0uI32bxBM4UdxRJlfWMgo

To claim this, I am signing this object:

@lludlow
lludlow / solarize-terminator.sh
Created February 28, 2017 21:12 — forked from kynan/solarize-terminator.sh
shell script for setting terminator color palette to use Solarized theme
#!/bin/bash
#
# Shell script that configures terminator to use solarized theme
# colors. Assumes a single terminator profile. Tested on Ubuntu 11.10.
#
# Solarized theme: http://ethanschoonover.com/solarized
#
# Original from 79CetiB:
# http://www.reddit.com/r/emacs/comments/npfmv/i_need_some_help_with_the_solarized_theme_in_a/c3b4mds
#