This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
| declare -A nixenv_paths | |
| nadd() { | |
| setopt local_options err_return pipefail | |
| local out out_paths | |
| for installable in "$@"; do | |
| local with_outputs="$installable^*" | |
| if [[ "$installable" = *"^"* ]]; then | |
| with_outputs="$installable" | |
| fi |
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
| #!/usr/bin/env python | |
| """Merge multiple JUnit XML results files into a single results file.""" | |
| # MIT License | |
| # | |
| # Copyright (c) 2012 Corey Goldberg | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal |
| function __git_dirty { | |
| git diff --quiet HEAD &>/dev/null | |
| [ $? == 1 ] && echo " ↺ " | |
| } | |
| function __git_branch { | |
| __git_ps1 "%s" | |
| } | |
| function __my_rvm_ruby_version { |
| import json | |
| from functools import wraps | |
| from flask import redirect, request, current_app | |
| def support_jsonp(f): | |
| """Wraps JSONified output for JSONP""" | |
| @wraps(f) | |
| def decorated_function(*args, **kwargs): | |
| callback = request.args.get('callback', False) | |
| if callback: |