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
| mkdir -p ~/.local/share/fonts | |
| for type in Bold Light Medium Regular Retina; do wget -O ~/.local/share/fonts/FiraCode-$type.ttf "https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-$type.ttf?raw=true"; done | |
| fc-cache -f |
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
| if (jQuery('[type="date"]').prop('type') !== 'date') { | |
| document.write(unescape('%3Clink href="' + bcm.web_design_path + '/css/bootstrap-datepicker/datepicker3.css" rel="stylesheet" type="text/css" /%3E')); | |
| document.write(unescape('%3Cscript src="' + bcm.web_design_path + '/js/plugins/bootstrap-datepicker/bootstrap-datepicker.js"%3E%3C/script%3E')); | |
| document.write(unescape('%3Cscript src="' + bcm.web_design_path + '/js/plugins/bootstrap-datepicker/locales/bootstrap-datepicker.es.js"%3E%3C/script%3E')); | |
| jQuery(document).ready(function () { | |
| jQuery('[type="date"]').datepicker({ | |
| format: "yyyy-mm-dd", | |
| todayBtn: true, | |
| language: "es", |
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
| function sort_cities(a, b) { | |
| var compA = a.name.toUpperCase(); | |
| var compB = b.name.toUpperCase(); | |
| return (compA < compB) ? -1 : (compA > compB) ? 1 : 0; | |
| } | |
| jQuery( document ).ready( function( $ ) { | |
| $.getJSON('CHANGE_ME_JSON_URL?callback=?', function(data) { | |
| data = jQuery.makeArray(data); | |
| data.sort(sort_cities); |