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 | |
sudo apt-get install build-essential -y | |
sudo apt-get install python-software-properties | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update -y | |
sudo apt-get install nodejs -y | |
sudo apt-get install mongodb -y | |
sudo apt-get install git -y | |
sudo apt-get install nginx -y |
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
/* | |
| | |
| | |
| THANKS Fats! he did the hard work | |
| | |
| | |
*/ | |
/* | |
| |
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
Original Select2: http://ivaynberg.github.io/select2/ | |
Append: http://fk.github.io/select2-bootstrap-css/index.html | |
xSelector: | |
function x$(idTag, param){ //Updated 18 Feb 2012 | |
idTag=idTag.replace(/:/gi, "\\:")+(param ? param : ""); | |
return($("#"+idTag)); | |
} |
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
var restCon = $("[id$=calendar]"); | |
var urlVal = function() { | |
var restUrl = "/rest/ulr/to/get/data"; | |
return restUrl; | |
} | |
restCon.fullCalendar({ | |
defaultView: 'agendaDay', | |
firstDay: 0, | |
header: { | |
left: "prev,next today", |
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
/* | |
| | |
| IMPORTO PAQUETES | |
| | |
*/ | |
importPackage(com.itextpdf); | |
importPackage(java.io); | |
/* | |
| | |
| INI |
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
/* | |
| | |
| READ CALL .html | |
| | |
*/ | |
<template name="csvRead"> | |
<input type="button" value="Click" /> | |
</template> |
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
if(Meteor.isClient) { | |
/* | |
|--------------------------------------- | |
| DEFINICION DE TEMPLATES | |
|--------------------------------------- | |
*/ | |
var Definicion = { | |
TemplateBase : Template.listadoPersonas, |
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
/** | |
* REPLACE ALL CHARS | |
* (but the name is not.... i know!) | |
*/ | |
String.prototype.replaceChar=function(position, char) { | |
return this.substr(0, position) + char + this.substr(position, this.length); | |
} | |
String.prototype.replaceAllChars = function(thisChar, forThisChar){ |
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
{{#each personas}} | |
<p>persona.nombre</p> | |
{{#each persona.mascotas}} | |
<button>persona.id</button> | |
<p>mascota.nombre</p> | |
OlderNewer