# If inside vmware install vmware tools (these are just as good as the commercial ones)
sudo apt-get install open-vm-tools open-vm-tools-desktop
# Install git
sudo apt-get install git
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
/* | |
* Hi, this is a little code, that you can run on a Cisco CCNA test and it will pick the right answers for you. | |
* Please, learn the lecture! | |
* | |
* I can't garantee anything! If you use this and you fail... Well, it's your falt. | |
* Cisco used to change a bit in the texts of the questions, so I can't garantee that this code will even work after some weeks, but I hope ;) | |
* | |
* | |
* | |
* To run it, just simply: |
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
function flatten(obj,prefix){ | |
var propName = (prefix) ? prefix + '.' : '', | |
ret = {}; | |
for(var attr in obj){ | |
if(_.isArray(obj[attr])){ | |
var len = obj[attr].length; | |
ret[attr] = obj[attr].join(','); |
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
(function($) { | |
// Used by dateinput | |
$.expr = {':': {}}; | |
// Used by bootstrap | |
$.support = {}; | |
// Used by dateinput | |
$.fn.clone = function(){ | |
var ret = $(); |