Skip to content

Instantly share code, notes, and snippets.

View tkellen's full-sized avatar
👽
out there

Tyler Kellen tkellen

👽
out there
View GitHub Profile
@dmke
dmke / 0_repro.sh
Last active May 28, 2018 06:09
OpenWRT/LEDE: toolchain build failure (gccgo for mipsel/soft-float)
#!/bin/sh
echo 2>&1 "this is just a sample, not intended for execution"
exit 1
cd $LEDE_ROOT
git checkout 20d3c118ae # latest commit in master at time of writing
cp $gist["config"] .config
make defconfig
@ahume
ahume / concourse.md
Last active December 8, 2021 20:40
Concourse on Kubernetes

Concourse on Kubernetes

This document outlines Brandwatch's Concourse installation running on Kubernetes. The full configuration can be found at https://github.com/BrandwatchLtd/concourse-ops (internal only currently). It's a fairly new installation (1-2 weeks) and we're slowly migrating work from our existing BOSH installation to this.

Comments/questions welcome below.

Summary

@posener
posener / go-kit.md
Last active February 23, 2024 21:35
Why I Recommend to Avoid Using the go-kit Library

Why I Recommend to Avoid Using the go-kit Library

There is a trending 'microservice' library called go-kit. I've been using the go-kit library for a while now. The library provide a lot of convenience integrations that you might need in your service: with service discovery with Consul, distributed tracing with Zipkin, for example, and nice logic utilities such as round robin client side load balancing, and circuit breaking. It is also providing a way to implement communication layer, with support of RPC and REST.

@corny
corny / unifi-backup.sh
Last active January 26, 2024 02:07
Improved backup script for Ubiquiti UniFi controller
#!/bin/bash -e
#
# Improved backup script for Ubiquiti UniFi controller
# original source: http://wiki.ubnt.com/UniFi#Automated_Backup
#
# must contain:
# username=<username>
# password=<password>
source ~/.unifi-backup
@sindresorhus
sindresorhus / grunt-contrib task proposal.md
Created October 24, 2012 19:49
grunt-contrib task proposal

grunt-contrib task proposal

We intend extract the tasks included in Yeoman to make the project more modular and be a good internet citizen. We've already done so with the Compass task.

I've added some tasks that might be fitted for grunt-contrib.

grunt-contrib-img

Optimizing images is something most projects need. I think it's important grunt-contrib has a simple and opinionated task for this.

@philwo
philwo / attributes-default.rb
Created July 5, 2012 06:04
Chef cookbook for nginx + passenger (compiled from source)
default['nginx']['version'] = "1.2.0"
default['nginx']['passenger']['version'] = "3.0.12"
@fennb
fennb / gist:1283573
Created October 13, 2011 06:35
nginx microcaching config example
# Set cache dir
proxy_cache_path /var/cache/nginx levels=1:2
keys_zone=microcache:5m max_size=1000m;
# Virtualhost/server configuration
server {
listen 80;
server_name yourhost.domain.com;
# Define cached location (may not be whole site)