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
import cv2 | |
import pyautogui | |
import numpy as np | |
def search(image): | |
# Tira print da tela e salva a imagem | |
img_rgb = pyautogui.screenshot() | |
img_rgb = np.array(img_rgb) | |
img_gray = cv2.cvtColor(img_rgb, cv2.COLOR_BGR2GRAY) |
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
<template> | |
<v-text-field | |
ref="model" | |
v-bind="bind" | |
@input="input" | |
v-mask="mask_cnpj" | |
:rules="[rules.required, rules.length(11), validCPF, checkCPF]" | |
counter="14" | |
:color="color" | |
required |
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
// Converte segundos para horas | |
export const secondsToTime = (seconds, format) => { | |
if (format === 'd:h:m:s') { | |
return [ | |
parseInt(seconds / 86400), | |
parseInt(seconds / 60 / 60 % 24), | |
parseInt(seconds / 60 % 60), | |
parseInt(seconds % 60) | |
] | |
.join(':') |
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 | |
namespace App\Domains\Asaas; | |
use \App\Domains\Asaas\Connection; | |
use \App\Domains\Asaas\Exceptions\ClienteException; | |
class Cliente | |
{ | |
private $connection; |
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 | |
namespace App\Domains\Asaas; | |
use GuzzleHttp\Client; | |
use GuzzleHttp\RequestOptions; | |
class Connection | |
{ | |
private $base_url; |
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
<template> | |
<div id="app"> | |
<video width="400" controls> | |
<source src="http://localhost:8888" type="video/mp4" /> | |
</video> | |
</div> | |
</template> | |
<script> | |
export default { |
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 | |
namespace App\Domains\Asaas; | |
use \App\Domains\Asaas\Connection; | |
class Cobranca | |
{ | |
private $connection; |
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 | |
namespace App\Domains\Asaas; | |
use \App\Domains\Asaas\Connection; | |
use \App\Domains\Asaas\Exceptions\ClienteException; | |
class Cliente | |
{ | |
private $connection; |
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 | |
namespace App\Domains\Asaas; | |
use GuzzleHttp\Client; | |
class Connection | |
{ | |
private $base_url; | |
private $api; |
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 | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use \App\Services\ModuleProgressService; | |
use App\Http\Requests\ModuleProgress\ModuleProgressPostRequest; | |
class ModuleProgressController extends Controller | |
{ |
NewerOlder