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
| [ | |
| { | |
| "index":"company-pt", | |
| "analysis":{ | |
| "filter":{ | |
| "pt_stop_filter":{ | |
| "type":"stop", | |
| "stopwords":[ | |
| "_portuguese_" | |
| ] |
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 (win, doc) { | |
| function getRangeAtCollapse(range, collapsed) { | |
| // get range as item | |
| if (range.item) { | |
| var rangeItem = range.item(0); | |
| // return the data | |
| return { node: rangeItem }; | |
| } | |
| // get range as text | |
| var |
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
| var init_counter = 0; | |
| var cronometro = window.setInterval(function(){ | |
| console.log(init_counter); | |
| if(init_counter == 5){ | |
| clearInterval(cronometro); | |
| } | |
| init_counter++; | |
| }, 1000); |
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 | |
| /** | |
| * function sarfile($string) | |
| * @author Yeremi Loli | |
| * @access : public | |
| * @version : 0.0.1 | |
| * @description : | |
| * Sanitize And Rename Files. | |
| * - Replace many accented letters to clean letters. | |
| * - Give a prefix using microtime(true). More explanation in http://php.net/manual/en/function.microtime.php |
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 | |
| /* | |
| * class Connection | |
| * @author Yeremi Loli | |
| * @since 0.01 v | |
| * @category Global Singleton Connect | |
| * @copyright 2011 | |
| * @example : | |
| try { | |
| $conn = Connection::Singleton(); |