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 requests | |
import datetime | |
import json | |
import urllib | |
session_data = { | |
'sessionId': '[AWS_ACCESS_KEY_ID]', | |
'sessionKey': '[AWS_SECRET_ACCESS_KEY]', | |
'sessionToken': '[AWS_SESSION_TOKEN]' | |
} |
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
mutation ($accountId: String!, $CourseInput: UpdateCourseInput!) { | |
updateCourse(accountId: $accountId, input: $CourseInput) { | |
id, | |
title, | |
description, | |
defaultVersion, | |
labels{ | |
id, | |
} | |
__typename |
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
{ | |
"version": 2, | |
"builds": [ | |
{ | |
"src": "index.js", | |
"use": "@now/node-server" | |
} | |
], | |
"routes": [ | |
{ |
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
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.5/build/pure-min.css" crossorigin="anonymous"> |
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
{ | |
"version": 2, | |
"builds": [ | |
{ | |
"src": "index.js", | |
"use": "@vercel/node" | |
} | |
], | |
"routes": [ | |
{ |
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 React from "react"; | |
import { Container, makeStyles } from "@material-ui/core"; | |
const styles = makeStyles({ | |
table: { | |
fontFamily: "arial, sans-serif", | |
borderCollapse: "collapse", | |
width: "100%", | |
}, | |
headAndBody: { |
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
async getPlpAddresses(): Promise<any> { | |
const result = await this.db.getData({ | |
index: 'getAddressByPlpGenerated', | |
toSearch: false, | |
}) | |
if (!result.data[0]) { | |
throw new Error('No results to show') | |
} | |
const plpAddressesList = result.data | |
.filter( |
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 React from "react"; | |
import Chart from "react-google-charts"; | |
const MockDados = [ | |
["Cidade", "Indice 1", "Indice 2"], | |
["Nome 1", 123456789, 4020202020], | |
["Nome 2", 223456789, 3020202020], | |
["Nome 3", 323456789, 2020202020], | |
["Nome 4", 423456789, 1020202020], | |
]; |
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 React, {useState, useEffect} from 'react'; | |
import { | |
Text, | |
View, | |
PermissionsAndroid, | |
TouchableOpacity, | |
Platform, | |
ScrollView, | |
} from 'react-native'; |
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 React, {useState} from 'react'; | |
import { | |
Text, | |
View, | |
PermissionsAndroid, | |
TouchableOpacity, | |
Platform, | |
ScrollView, | |
} from 'react-native'; |
NewerOlder