These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
| #!/usr/bin/env bash | |
| # requirements: blueutil | |
| echo "Hold both 1+2 buttons on Wii Remote and wait for 30 seconds" | |
| # get MAC Address of Wii Remote | |
| MAC=`$(which blueutil) --inquiry 5 2>&1 | grep 'address' | awk '{print substr($2,1,17)}'` | |
| (killall -m 'blueutil*' 2>&1) >/dev/null | |
| echo "MAC: $MAC" |
These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
I hereby claim:
To claim this, I am signing this object:
| var sentence_object = { | |
| // also has properties that are passed in: | |
| // sentence (sentence content) | |
| // count (number of words you want returned and position) | |
| count_words: function (){ | |
| var sentence = this.sentence; | |
| // split sentence to words | |
| var words = sentence.split(' '); | |
| // create object of words and counts | |
| var words_counts = {}; |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |