Skip to content

Instantly share code, notes, and snippets.

@nfirvine
nfirvine / changelog.md
Created May 2, 2018 19:04 — forked from spinnaker-release/changelog.md
Spinnaker 1.7.0

Spinnaker 1.7.0

If you're a Halyard user, please upgrade to Halyard 1.0.0 before updating your Spinnaker version.

The most notable change in this Spinnaker release is that Kayenta is now part of the mainline Spinnaker BOM instead of its own canary-preview BOM.

There have also been numerous enhancements, fixes and features across all of Spinnaker's other services:

Front50 0.10.0

Features

@nfirvine
nfirvine / mutable_default_args.py
Created June 15, 2016 18:43
params=(): a new way to work around python's static default args
# coding:utf-8
# Which one of these approaches is best?
def append_bar(params=[]):
'''
Nope. This has a well-known problem: default args are created at definition,
not at call, so the globally-scoped `[]` value ends up getting reused
whenever we don't specify `params`:
>>> append_bar()
package main
import (
"fmt"
"net"
"sync"
"time"
)
func main() {
@nfirvine
nfirvine / -
Last active October 27, 2015 21:09
alias dbash="docker run -it \$(docker images | awk 'FNR == 2 {print $3}') bash"
@nfirvine
nfirvine / adblock.sh
Last active August 29, 2015 14:21 — forked from teffalump/README.md
Simple openwrt adblock script
#!/bin/sh
#Put in /etc/adblock.sh
#Block ads, malware, etc.
# Only block wireless ads? Y/N
ONLY_WIRELESS="N"
# IPv6 support? Y/N
IPV6="N"

Keybase proof

I hereby claim:

  • I am nfirvine on github.
  • I am nfirvine (https://keybase.io/nfirvine) on keybase.
  • I have a public key whose fingerprint is F335 58FB 7429 DB84 93B4 0A97 CEA1 1433 D449 A5F2

To claim this, I am signing this object: