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 geopy.geocoders import Nominatim | |
from geopy.exc import GeocoderTimedOut | |
import time | |
# Function to get coordinates from an address | |
def get_coordinates(address): | |
geolocator = Nominatim(user_agent="geoapiExercises") | |
try: | |
location = geolocator.geocode(address) | |
if location: |
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 ubuntu:latest | |
RUN apt-get update && \ | |
apt-get install -y build-essential git cmake \ | |
zlib1g-dev libevent-dev \ | |
libelf-dev llvm \ | |
clang libc6-dev-i386 | |
RUN mkdir /src && \ | |
git init |
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 ryu.base import app_manager | |
from ryu.controller import ofp_event | |
from ryu.controller.handler import MAIN_DISPATCHER | |
from ryu.controller.handler import set_ev_cls | |
from ryu.ofproto import ofproto_v1_0 | |
from ryu.lib.mac import haddr_to_bin | |
from ryu.lib.packet import packet | |
from ryu.lib.packet import ethernet | |
from ryu.lib.packet import ether_types |
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
1. Problema | |
Discutir precisamente qual o problema o artigo quer resolver. | |
2. Abordagem da solução | |
Qual é a principal ideia atrás da solução? Qual a contribuição intelectual da solução? | |
3. Abordagem de Avaliação | |
Como os autores avaliaram o trabalho? Existe alguma novidade na metodologia de avaliação? | |
4. Quais são os resultados principais? |
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
/* | |
* test_ping.c - sends ping echo requests | |
*/ | |
#include <stdio.h> | |
#include <base/log.h> | |
#include <net/ping.h> | |
#include <runtime/runtime.h> | |
#include <runtime/timer.h> |
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
/* SPDX-License-Identifier: BSD-3-Clause | |
* Copyright(c) 2010-2015 Intel Corporation | |
*/ | |
#include <stdint.h> | |
#include <inttypes.h> | |
#include <rte_eal.h> | |
#include <rte_ethdev.h> | |
#include <rte_ether.h> | |
#include <rte_cycles.h> |
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
EndToEndTestCronJob: | |
DependsOn: CodePipelineEndToEndTestingRoot | |
Type: 'AWS::Events::Rule' | |
Properties: | |
ScheduleExpression: 'cron(0 22 * * ? *)' | |
State: ENABLED | |
Targets: | |
- Arn: !Sub arn:aws:codepipeline:${AWS::Region}:${AWS::AccountId}:${CodePipelineEndToEndTestingRoot} | |
RoleArn: | |
Fn::ImportValue: |
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
BuildSpec: | | |
version: 0.2 | |
phases: | |
install: | |
runtime-versions: | |
nodejs: 12 | |
commands: | |
- echo ">>> global installing dependencies" | |
- npm install -g typescript lerna | |
pre_build: |
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
AWSTemplateFormatVersion: 2010-09-09 | |
Description: > | |
This stack creates a codepipeline for running the end-to-end tests | |
Last Modified: 08.10.2020 | |
Author: Lucas Bleme | |
Parameters: | |
Owner: | |
Description: Enter Team or Individual Name Responsible for the Stack. | |
Type: String | |
Default: Lucas Bleme |
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
it('Should choose an address', () => { | |
cy.visit(urls.contact); | |
cy.setGooglePlaceAddress('billing_address', 'Pretty street'); | |
... | |
}); |
NewerOlder