LINUX Utility http://studio.jacksay.com/tutoriaux/systeme-linux/l-utilitaire-bash-screen
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
Math.max.apply( Math, Array ) |
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 arr = $('#myForm').serializeArray(); | |
var data = _(arr).reduce(function(acc, field) { | |
acc[field.name] = field.value; | |
return acc; | |
}, {}); |
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
<!doctype html> | |
<script src="raphael.js"></script> | |
<body> | |
<div id="progressBar"> </div> | |
</body> |
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
"ZA-Afrique Du Sud", | |
"AF-Afghanistan", | |
"AL-Albanie", | |
"DZ-Algérie", | |
"DE-Allemagne", | |
"AD-Andorre", | |
"AO-Angola", | |
"AI-Anguilla", | |
"AQ-Antarctique", | |
"AG-Antigua-et-barbuda", |
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
getUrlParameter: function (name) { | |
return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g, '%20'))||null; | |
}, | |
setUrlParameter: function (name, value) { | |
var search; | |
if(this.getUrlParameter(name)){ | |
search = location.search.replace(new RegExp('([?|&]'+name + '=)' + '(.+?)(&|$)'),"$1"+encodeURIComponent(value)+"$3"); | |
}else if(location.search.length){ | |
search = location.search +'&'+name + '=' +encodeURIComponent(value); | |
}else{ |
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
<style> | |
.thumb { | |
height: 75px; | |
border: 1px solid #000; | |
margin: 10px 5px 0 0; | |
} | |
</style> | |
<input type="file" id="files" name="files[]" multiple /> | |
<output id="list"></output> |
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
.tokenahead { | |
cursor: text; | |
overflow: hidden; | |
height: auto; | |
padding-bottom: 0; | |
border-color:#ccc; | |
background-color:white; | |
} | |
.focus{ | |
border-color: rgba(82, 168, 236, 0.8); |