Last update: 5/18
Just use nmtui.
On recent ubuntus (16.04+) with the new net interfaces mac rename thingy, disable it to get back to the old naming scheme with:
The Nulsom rainbow matrix is compatible with the Pimoroni unicorn hat Raspberry Pi library but needs a few modifications. Tested on a Raspberry 2.
Connect the matrix 5V and GND to the Raspberry, connect the DI pin to P18.
Install the unicorn hat library with \curl -sS get.pimoroni.com/unicornhat | bash.
| diff --git a/Gemfile b/Gemfile | |
| index f25308a..4b32b39 100644 | |
| --- a/Gemfile | |
| +++ b/Gemfile | |
| @@ -3,6 +3,7 @@ source "http://rubygems.org" | |
| gem 'rake' | |
| gem 'jekyll' | |
| +gem 'jekyll-paginate' | |
| gem 'rdiscount' |
| .sp-boot2.sp-replacer { | |
| margin:0; | |
| overflow:hidden; | |
| cursor:pointer; | |
| padding: 4px; | |
| display:inline-block; | |
| *zoom: 1; | |
| *display: inline; | |
| border: solid 1px #dddddd; | |
| background: #eee; |
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| ) | |
| type StringArray []string | |
| var urlmap StringArray= make([]string,1) |
| package main | |
| import ( | |
| "fmt" | |
| "code.google.com/p/go-tour/tree" | |
| ) | |
| // Walk walks the tree t sending all values | |
| // from the tree to the channel ch. | |
| func Walk(t *tree.Tree, ch chan int){ |
| package main | |
| import ( | |
| "io" | |
| "os" | |
| "strings" | |
| ) | |
| type rot13Reader struct { | |
| r io.Reader |
| package main | |
| import ( | |
| "code.google.com/p/go-tour/pic" | |
| "image" | |
| "image/color" | |
| ) | |
| func Sqrt(f int) int { | |
| var z int = 1 |
| package main | |
| import "code.google.com/p/go-tour/pic" | |
| func Fact(x uint8) uint8 { | |
| if x>1 { | |
| return x * (x-1) | |
| } | |
| return x+1 | |
| } |
| package main | |
| import ( | |
| "code.google.com/p/go-tour/wc" | |
| ) | |
| func WordCount(s string) map[string]int { | |
| res := make(map[string]int); | |
| str := make([]rune,0,10) | |
| for _, r := range(s){ |