Skip to content

Instantly share code, notes, and snippets.

View ellerbrock's full-sized avatar

Maik Ellerbrock ellerbrock

View GitHub Profile
@ellerbrock
ellerbrock / clean-osx-install.md
Created July 26, 2017 15:25 — forked from marcuslilja/clean-osx-install.md
Clean Install – macOS Sierra (10.12)

macOS Sierra (10.12)

To be able to install all applications. We need to unlock the "Anywhere" setting in Gatekeeper.

sudo spctl --master-disable

Applications

ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
@ellerbrock
ellerbrock / NOTES.md
Created June 28, 2017 15:05 — forked from DenisIzmaylov/NOTES.md
Step By Step Guide to Configure a CoreOS Cluster From Scratch

Step By Step Guide to Configure a CoreOS Cluster From Scratch

This guide describes how to bootstrap new Production Core OS Cluster as High Availability Service in a 15 minutes with using etcd2, Fleet, Flannel, Confd, Nginx Balancer and Docker.

Content

@ellerbrock
ellerbrock / example-subtree-usage.md
Created June 22, 2017 18:51 — forked from kvnsmth/example-subtree-usage.md
A real world usage for git subtrees.

Let's say you have an iOS project, and you want to use some external library, like AFNetworking. How do you integrate it?

With submodules

Add the project to your repo:

git submodule add [email protected]:AFNetworking/AFNetworking.git Vendor/AFNetworking

or something to that effect.

@ellerbrock
ellerbrock / grunt-hugo-lunrjs.md
Created June 18, 2017 00:05 — forked from sebz/grunt-hugo-lunrjs.md
hugo + gruntjs + lunrjs = <3 search
@ellerbrock
ellerbrock / Free O'Reilly Books.md
Last active October 14, 2024 20:37 — forked from augbog/Free O'Reilly Books.md
Free O'Reilly Books

Free O'Reilly books and convenient script to just download them.

Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post

How to use:

  1. Take the download.sh file and put it into a directory where you want the files to be saved.
  2. cd into the directory and make sure that it has executable permissions (chmod +x download.sh should do it)
  3. Run ./download.sh and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.
@ellerbrock
ellerbrock / docker_images.sh
Last active February 3, 2018 07:07 — forked from hydra1983/docker_images.sh
Save and load docker images in batch
#!/usr/bin/env bash
readonly DB_FILE="$(pwd)/images.db"
readonly IMG_DIR="$(pwd)/images"
save-images() {
echo "Create ${DB_FILE}"
echo "$(docker images|grep -v 'IMAGE ID'|awk '{printf("%s %s %s\n", $1, $2, $3)}'|column -t)" > "${DB_FILE}"
echo "Read ${DB_FILE}"
@ellerbrock
ellerbrock / byte-sizetuts.md
Created February 14, 2017 13:43 — forked from honkskillet/byte-sizetuts.md
A series of golang tutorials with youtube videos.
@ellerbrock
ellerbrock / cf-ddns.sh
Created December 29, 2016 23:06 — forked from larrybolt/cf-ddns.sh
Automatically update your CloudFlare DNS record to the IP, Dynamic DNS for Cloudflare
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
# Automatically update your CloudFlare DNS record to the IP, Dynamic DNS
# Can retrieve cloudflare Domain id and list zone's, because, lazy
# Place at:
# /usr/local/bin/cf-ddns.sh