https://www.raspberrypi.org/documentation/installation/installing-images/mac.md
diskutil list
. | |
.. | |
........ | |
@ | |
* | |
*.* | |
*.*.* | |
🎠|
NOTE: if you are using the docker without the http://azk.io installed, use
docker
instead ofadocker
.
adocker kill $(adocker ps -q | tr '\r\n' ' ')
angular.module('caco.feed.filter', []) | |
.filter('sumByKey', function() { | |
return function(data, key) { | |
if (typeof(data) === 'undefined' || typeof(key) === 'undefined') { | |
return 0; | |
} | |
var sum = 0; | |
for (var i = data.length - 1; i >= 0; i--) { | |
sum += parseInt(data[i][key]); |