This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Este es el comando para la instalacion de los paquetes necesarios | |
# > sudo apt-get install flac lame | |
# Si quieres verificar la instalacion de los paquetes ejeuta los siguientes comandos | |
# | |
# > sudo dpkg -l | grep lame | |
# Resultado: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Permite obtener un Array de los modelos que contiene la coleccion | |
* @param {Array} attrs Array con los nombres de las propiedades que quiero obtener | |
* @return {Array} Array de modelos | |
*/ | |
Backbone.Collection.prototype.attr = function(attrs){ | |
var self = this; | |
var coll = []; | |
var attrs = _.isArray (attrs)?attrs:false; | |
_.each(self.toArray(),function(ele,inx){ |
NewerOlder