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
#!/bin/sh | |
#Arquivos de dados | |
#https://www.b3.com.br/pt_br/market-data-e-indices/servicos-de-dados/market-data/historico/mercado-a-vista/series-historicas/ | |
#Salvar este script dentro da mesma pasta dos arquivos anuais de dados | |
echo "\nRaiz do ativo. ex: Petrobrás use apenas as 4 primeiras letras 'PETR'" | |
raiz=$1 | |
arqs=`ls COTAHIST*.TXT` |
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> | |
<HTML> | |
<HEAD> | |
<TITLE>WhatsApp</TITLE> | |
<link rel="icon" | |
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL5SURBVEhLlVVNTiJREO4YWRI6IhtXHKGPwOyHhM3sOcDEcIPhBqxcywGMbCYmxAk9xgP0CgQjNMHfKNAoCComPd9XvG7kd5ov6XR3vap6r6q+qqetg+u6um3bv25ubsyXlxcH/3zcbrfrfnx8mHd3d7mjo6OEUg8OOsaT8xwq9AeDgQPYr6+vSjRBu902cQhDma8H9A06mZi6Dk57+P7+nsC3rlQEpVKJsgweT9dFlFm1vBzQMfDIqbGJaVlWXC2tRbPZ5EaCi4uLP0o8i0aj4Tu/vb1df5IlgJnx/Pws9tfX1xklngJyk4ssnBJtjHK5zE3ohpjWBD8pSlBEC6zxcz0ajVKfn5+FWq0WmCnIRJq+AEuJpqcfj8fflYiyOB4JudVqTZUDACZe4eMSlvqZcYJ/v3AKgQpO4KBie39/n9uKRCJerv6qt4cZWgLBeA5sb2/n+cZGaQ05znI3MCctqwonJyfkuYdDJQ4M2DC9jgbH7FgipdZ8oMmkNk9PT7YSBcbDw4ODxnO3ABFcXV0t5DgcDv9AhNru7m788fFxoyii0ag2HA61LQytHgV7e3vzOddCoVAb+fzG71gslr68vDRlAahUKgn0jNPr9Rb6BsSJw07f2dlpaufn59ID4LxvPA8sf62H2+l0cv1+Xyj8BX4G8C0+MW4KIkAaHDUhV1IRawZO6w+2OTgHBwe+LQ5QoPDt7e2nCFAQKTRCnuy4BujqDLpViq/ASHwGnp2dJRCdqyKcpJ0f4CyViYVaLAM24Z3BJvX1+Q0/Fp2AN |
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
javascript:(function(loc,msgInput,msgCheck,msgDefault,reTest,reReplace,countryCode,areaCode,s,r){s=prompt(msgInput,"");while(!reTest.test(s)&&s){s=s.replace(/\D/g,"").replace(reReplace,function(match,p1,p2,p3,offset,string){r=p1||"55";r+=p2||"11";r+=p3;return r});s=prompt(msgCheck,s)}if(s){open("https://wa.me/"+s+"?l="+loc+"&text="+encodeURIComponent(msgDefault)+"&r"+Math.floor(Math.random()*100)).focus()}})("ptbr","Enter WhatsApp Number to sanitize","Check formated WhatsApp Number (country code + area code + local number)","Default msg",/^(55)(\d{2})(\d{8,9})$/g,/^(55)?(\d{2})?(\d{8,9})$/g,"55","11"); |
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
<?php | |
namespace Laravel\Scout\Engines; | |
use Laravel\Scout\Builder; | |
use Elasticsearch\Client as Elasticsearch; | |
use Illuminate\Database\Eloquent\Collection; | |
use Illuminate\Support\Collection as BaseCollection; | |
class ElasticsearchEngine extends Engine |