dom.inputQuery.on("input", function() {
this.value = this.value.replace(/[^0-9a-zA-Zñ -]/g, '');
});
This file contains hidden or 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
| //botellas: Botella[] = [new Botella(100)] | |
| var fullName = "Sergio Brito"; | |
| function setName(name: string): void { | |
| this.fullName = name; | |
| } | |
| setName('Jhonnatan'); | |
| console.log(fullName); |
$ mongoimport --db test --collection foo --drop --file results.json --jsonArray
importa todo el json a la bdd test en la collecion foo
Delete key duplicates
db.foo.ensureIndex({id:1}, {unique:true, dropDups:true})
Total de filas
db.foo.count()
sudo apt-get install wkhtmltopdf
php index.php > index.html && wkhtmltopdf index.html index.pdf && gnome-open index.pdf && rm -fr index.html
- remove sudo npm install
sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config- dependences globals node
npm -g ls --depth=0