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
/* | |
Navicat Premium Data Transfer | |
Source Server : Laradock MySQL | |
Source Server Type : MySQL | |
Source Server Version : 50722 | |
Source Host : localhost:3306 | |
Source Schema : pyconx_dashboard | |
Target Server Type : MySQL |
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
{ | |
"totalCount": 43, | |
"labels": [ | |
"2019-03-17", | |
"2019-03-23", | |
"2019-03-26", | |
"2019-03-27", | |
"2019-03-30", | |
"2019-03-31", | |
"2019-04-03", |
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
{ | |
"totalCount": 35, | |
"labels": [ | |
"2019-04-16", | |
"2019-04-20", | |
"2019-04-26", | |
"2019-04-30", | |
"2019-05-01", | |
"2019-05-04", | |
"2019-05-05", |
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
"""Hello Analytics Reporting API V4.""" | |
# from apiclient.discovery import build | |
from googleapiclient.discovery import build | |
from oauth2client.service_account import ServiceAccountCredentials | |
SCOPES = ['https://www.googleapis.com/auth/analytics.readonly'] | |
KEY_FILE_LOCATION = '<REPLACE_WITH_JSON_FILE>' | |
VIEW_ID = '<REPLACE_WITH_VIEW_ID>' |
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 { Component, OnInit } from '@angular/core'; | |
// --- Importo NgForm | |
import { NgForm } from '@angular/forms'; | |
@Component({ | |
selector: 'app-root-form1', | |
template: ` | |
<!-- | |
Crero il form dove specifico con una TemplateReferenceVariabile |
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
computed: { | |
// --- Definisco la computed property | |
// --- Ogni volta che nel metodo "sommaNumero", avviene il .push | |
// --- sull'array (o ogni qualvolta avviene una modifica su questo array "this.elencoNumeri") | |
// --- viene invocata la funzione | |
sommatoria() { | |
let totale=0; | |
this.elencoNumeri.map( |
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> | |
<h1>Sommatoria</h1> | |
<fieldset> | |
<legend>{{titolo}}</legend> | |
<p>{{sottotitolo}}</p> | |
<input type="number" v-model="numeroInserito" | |
@keypress.enter="sommaNumero"> | |
<button v-on:click="sommaNumero()">Add</button> | |
</fieldset> |
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
// === Recupero del Token | |
$token = JWTAuth::getToken(); | |
// --- logica del middleware | |
try { | |
// --- inoltra il token e verifica che sia corretto | |
$user = JWTAuth::toUser($token); | |
} catch (JWTException $e) { |
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 class="row"> | |
<div class="col-md-6"> | |
<!-- === menu segni === --> | |
<ul> | |
<li v-for="link in elencoSegni" v-bind:key="link.slug"> | |
<button @click="dettaglioSegno(link.slug)">{{link.label}}</button> | |
</li> | |
</ul> |
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> | |
<fieldset> | |
<legend>Sommatoria</legend> | |
<input type="text" v-model="numeroDaSommare" @keyup.enter="aggiungiNumero"> | |
<button v-on:click="aggiungiNumero">Add</button> | |
</fieldset> | |
<!-- computed property ---> |
NewerOlder