Skip to content

Instantly share code, notes, and snippets.

View chriscoffee's full-sized avatar
👶
busy

Chris Mills chriscoffee

👶
busy
  • United Kingdom
View GitHub Profile
@jcass8695
jcass8695 / 4od-blocklist.txt
Last active October 5, 2024 12:26
4OD blocklist for pihole
2356e.v.fwmrm.net
ads-pres.channel4.com
cdn.http.anno.channel4.com
cdn.ss.anno.channel4.com
p.videologygroup.com
securecdn.videologygroup.com
toots-a.akamaihd.net
trk-euwest.tidaltv.com
2a7e9.v.fwmrm.net
#!/usr/bin/env bash
set -eu
for file in "$@"; do
failed=0
dir=$(dirname ${file})
if ! cmp -s <(terraform-docs md ${dir}) "${dir}/README.md"; then
echo "Need to update Terraform docs for: "
echo "${dir}"
echo "Run: terraform-docs md ${dir} > ${dir}/README.md"
@acolyer
acolyer / jessfraz.md
Created November 19, 2017 13:39
Containers, operating systems and other fun things from The Morning Paper
@jessfraz
jessfraz / boxstarter.ps1
Last active October 12, 2025 03:18
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@leonardofed
leonardofed / README.md
Last active October 23, 2025 11:18
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@joshnesbitt
joshnesbitt / template.rb
Created August 20, 2015 14:51
Example of a simple templating language written in Ruby.
class VariableLang
def initialize(path)
@path = path
@content = File.read(path)
end
def render(locals = {})
locals.inject(@content.dup) do |buffer, vars|
key = vars.first
@chriszarate
chriszarate / thumbnail.png
Last active March 17, 2021 00:57
Identify your tmux windows with food emoji
thumbnail.png
@natelandau
natelandau / .bash_profile
Last active October 27, 2025 14:01
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@kenrett
kenrett / Selenium Cheat Sheet.md
Last active September 10, 2025 01:48
Selenium Cheat Sheet - Ruby

#Getting Started

##Webpage:

<html>
<head>
    <title>Testing with Ruby and Selenium WebDriver</title>
</head>
 
<body bgcolor="antiquewhite">
@johntyree
johntyree / getBlockLists.sh
Last active August 30, 2025 06:36
Make one large blocklist from the bluetack lists on iblocklist.com
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'