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
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
/* | |
| | |
| | |
| 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
#!/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 |
NewerOlder