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
<template> | |
<span> | |
<v-card> | |
<v-btn color="transparent" @click="voltar()"> | |
<v-icon>mdi-backburger</v-icon> | |
</v-btn> | |
<v-container fluid v-for="evento in event" :key="evento.id"> | |
<v-row justify="center" class="pt-12"> | |
<h2>{{ evento.league.name }}</h2> | |
</v-row> |
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
<template> | |
<div> | |
<div v-for="odd in odds" :key="odd.id"> | |
<span v-if="teste(odd)">{{ odd }}</span> | |
</div> | |
</div> |
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
[{"id":94,"name":"Inglaterra - Premier League","cc":77,"created_at":"2019-10-31 13:01:56","updated_at":"2019-10-31 13:01:56","up_coming":[{"id":1644586,"time":1573243200,"day":8,"month":11,"year":19,"date":"08\/11 20:00","league_id":94,"home_id":17184,"away_id":17240,"bet365_id":83530944,"destaque":0,"created_at":"2019-10-31 13:08:34","updated_at":"2019-10-31 13:08:34","home":{"id":17184,"name":"Norwich","cc":"gb","image_id":"263","created_at":"2019-10-19 18:27:26","updated_at":"2019-10-19 18:27:26"},"away":{"id":17240,"name":"Watford","cc":"gb","image_id":"24","created_at":"2019-10-19 18:27:27","updated_at":"2019-10-19 18:27:27"},"league":{"id":94,"name":"Inglaterra - Premier League","cc":77,"created_at":"2019-10-31 13:01:56","updated_at":"2019-10-31 13:01:56"}},{"id":1644581,"time":1573311600,"day":9,"month":11,"year":19,"date":"09\/11 15:00","league_id":94,"home_id":17159,"away_id":709,"bet365_id":83530948,"destaque":0,"created_at":"2019-10-31 13:08:58","updated_at":"2019-10-31 13:08:58","home":{"id":17159 |
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 App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Validator; | |
use \App\User; | |
class UserController extends Controller | |
{ |
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
import Axios from "axios" | |
export default { | |
namespaced: true, | |
state: { | |
token: "", | |
userData: {} | |
}, | |
getters: | |
{ |
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
<template> | |
<span> | |
<span v-if="!$isMobile"> | |
<v-btn | |
color="green" | |
@click="isLogged == true | |
? criarBilhete(prematch.id, prematch.home_name, prematch.away_name, prematch.home_od, 'full_time_result', '1') | |
: alertNoLogged = true" | |
>{{ prematch.home_od | odds }}</v-btn> |
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 App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use \MercadoPago; | |
class MercadoPagoController extends Controller | |
{ | |
public function index() |
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
doctrine/cache suggests installing alcaeus/mongo-php-adapter (Required to use legacy MongoDB driver) | |
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader) | |
symfony/routing suggests installing symfony/expression-language (For using expression matching) | |
symfony/routing suggests installing symfony/yaml (For using the YAML loader) | |
symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher | |
symfony/event-dispatcher suggests installing symfony/dependency-injection | |
symfony/http-kernel suggests installing symfony/browser-kit | |
symfony/http-kernel suggests installing symfony/config | |
symfony/http-kernel suggests installing symfony/dependency-injection | |
symfony/service-contracts suggests installing symfony/service-implementation |
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
<template> | |
<div> | |
<canvas id="canvas"></canvas> | |
</div> | |
</template> | |
<script> | |
export default { | |
data() { | |
return { |
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 | |
function create_image($img_url, $width, $height, $quality) | |
{ | |
function resize_image($new_width, $new_height, $image, $old_width, $old_height) | |
{ | |
$new_image = imagecreatetruecolor($new_width, $new_height); | |
imagecopyresampled($new_image, $image, 0, 0, 0, 0, $new_width, $new_height, $old_width, $old_height); | |
return $new_image; | |
} |
OlderNewer