{ user(login: "daviwesley") { repositories(first: 10,privacy: PUBLIC) { totalCount edges { node { name description createdAt }
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 os | |
import platform | |
import time | |
import csv | |
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
def check_user(user): |
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
// imagina que isso aqui é uma classe | |
const localStorageWrapper = { | |
set: (key, value) => localStorage.setItem(key, JSON.stringify(value)), | |
get: (key) => { | |
const value = localStorage.getItem(key) | |
return value ? JSON.parse(value) : value | |
} | |
} |
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
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
import os | |
options = Options() | |
options.add_argument("--window-size=600x400") | |
driver = os.getcwd() + "/geckodriver" | |
driver = webdriver.Firefox(executable_path=driver) | |
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"; | |
import Map from "ol/Map"; | |
import Tile from "ol/layer/Tile"; | |
import OSM from "ol/source/OSM"; | |
import View from "ol/View"; | |
import { fromLonLat, toLonLat } from "ol/proj.js"; | |
import { Tile as TileLayer, Vector as VectorLayer } from "ol/layer.js"; | |
import { MatDialog, MatDialogConfig } from "@angular/material/dialog"; | |
import { FiltroDialogComponent } from "../filtro-dialog/filtro-dialog.component"; | |
import Polyline, { encodeDeltas } from "ol/format/Polyline.js"; |
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
tabela = { | |
0: {"digito": 1, 'other': 'qrej', "e": "qrej"}, | |
1: {"digito": 1, '.': 2, "e": 2}, | |
2: {"other": "qrej", "digito": 3, "e": 4}, | |
3: {"digito": 3, "e": 4, "other": "qf1"}, | |
4: {"other": "qrej", "+": 5, "-": 5}, | |
5: {"other": "qrej", "digito": 6}, | |
6: {"digito": 6, "other": "qrej"}, | |
"qrej": "qrej", | |
"qf1": "qf1" |
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
LocaleConfig.locales.fr = { | |
monthNames: [ | |
"Janeiro", | |
"Fevereiro", | |
"Março", | |
"Abril", | |
"Maio", | |
"Junho", | |
"Julho", | |
"Agosto", |
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
class QLearning(): | |
def __init__(self): | |
self.self.matrizQ = [[0]*5 for x in range(5)] | |
self.learningRate = 0.9 | |
self.discountRate = 0 | |
self.indiceAcaoAtual = 2 | |
self.indiceEstadoAtual = 0 |
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
"transform": { | |
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js" | |
} |
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
"transform": { | |
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js" | |
} |