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
| <?php | |
| /** | |
| * Available Font Awesome icons | |
| * | |
| * Get all icons from a font-awesome.css file and list in json mode | |
| * | |
| * @author Alessandro Gubitosi <[email protected]> | |
| * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3 | |
| */ |
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
| [ | |
| "Belisario Quevedo", | |
| "Alangasi", | |
| "Carcelen", | |
| "Amaguaña", | |
| "Centro Historico", | |
| "Atahualpa", | |
| "Chilibulo", | |
| "Calacali", | |
| "Chillogallo", |
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
| Handlebars.registerHelper('grouped_each', function(every, context, options) { | |
| var out = "", subcontext = [], i; | |
| if (context && context.length > 0) { | |
| for (i = 0; i < context.length; i++) { | |
| if (i > 0 && i % every === 0) { | |
| out += options.fn(subcontext); | |
| subcontext = []; | |
| } | |
| subcontext.push(context[i]); | |
| } |
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
| { | |
| "1": { | |
| "provincia": "AZUAY", | |
| "cantones": { | |
| "101": { | |
| "canton": "CUENCA", | |
| "parroquias": { | |
| "10101": "BELLAVISTA", | |
| "10102": "CAÑARIBAMBA", | |
| "10103": "EL BATÁN", |
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 loadTextFileAjaxSync(filePath, mimeType) { | |
| var xmlhttp = new XMLHttpRequest(); | |
| xmlhttp.open("GET", filePath, false); | |
| if (mimeType != null) { | |
| if (xmlhttp.overrideMimeType) { | |
| xmlhttp.overrideMimeType(mimeType); | |
| } | |
| } |
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 get_first_element(the_array) { | |
| the_array instanceof Object ? return the_array[0] : return false; | |
| } |
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 get_first_element(the_array) { | |
| if (the_array instanceof Object) | |
| return the_array[0]; | |
| else | |
| return false; | |
| } |
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 calculator(num_a, num_b, operation) { | |
| if(operation == 'addition') | |
| return num_a + num_b; | |
| if(operation == 'substraction') | |
| return num_a - num_b; | |
| if(operation == 'multiplication') | |
| return num_a * num_b; |
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 calculator(a, b, operation) | |
| {if(operation=='addition'){return a+b;} | |
| if(operation=='substraction'){return a-b;} | |
| if(operation=='multiplication'){return a*b;} | |
| if(operation=='division'){return a/b;}} |
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
| anho | mes | provincia | convencional | CDMA | TTUP | |
|---|---|---|---|---|---|---|
| 2015 | Julio | AZUAY | 153133 | 25617 | 691 | |
| 2015 | Julio | BOLIVAR | 16054 | 5025 | 175 | |
| 2015 | Julio | CANAR | 24413 | 5711 | 11 | |
| 2015 | Julio | CARCHI | 21383 | 3057 | 203 | |
| 2015 | Julio | CHIMBORAZO | 56245 | 5743 | 536 | |
| 2015 | Julio | COTOPAXI | 44158 | 2024 | 242 | |
| 2015 | Julio | EL ORO | 78584 | 2716 | 200 | |
| 2015 | Julio | ESMERALDAS | 39202 | 3765 | 300 | |
| 2015 | Julio | GALAPAGOS | 5125 | 2886 | 2 |