This file contains hidden or 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
@Data | |
@Entity | |
public class Contato { | |
@Id | |
@GeneratedValue(strategy = GenerationType.AUTO) | |
private Long id; | |
private String nome; | |
private String email; | |
private String telefone; | |
} |
This file contains hidden or 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 sys | |
import math | |
def get_integer_roots(a, b, c): | |
delta = b * b - 4 * a * c | |
x1 = (-b + math.sqrt(delta)) / 2 * a | |
x2 = (-b - math.sqrt(delta)) / 2 * a | |
return (x1, x2) | |
def get_number_of_better_solutions(total_time, max_distance_so_far): |
This file contains hidden or 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 http.client | |
import mimetypes | |
conn = http.client.HTTPSConnection("xx9p7hp1p7.execute-api.us-east-1.amazonaws.com") | |
payload = '' | |
headers = { | |
'authority': 'xx9p7hp1p7.execute-api.us-east-1.amazonaws.com', | |
'method': 'GET', | |
'path': '/prod/PortalAcumulo', | |
'scheme': 'https', | |
'accept': 'application/json, text/plain, */*', |
This file contains hidden or 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: '3' | |
services: | |
web: | |
build: . | |
ports: | |
- "5000:5000" | |
volumes: | |
- .:/code | |
environment: | |
FLASK_ENV: development |
This file contains hidden or 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: '3' | |
services: | |
web: | |
build: . | |
ports: | |
- "5000:5000" | |
volumes: | |
- .:/code | |
environment: | |
FLASK_ENV: development |
This file contains hidden or 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
<html> | |
<body> | |
<!-- área do catálogo de filmes --> | |
<div class="container"> | |
<div class="row"> | |
<div id="id01"></div> | |
</div> | |
</div> | |
<script> |
This file contains hidden or 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
<html> | |
<body> | |
<!-- área do catálogo de filmes --> | |
<div class="container"> | |
<div class="row"> | |
<div id="id01"></div> | |
</div> | |
</div> | |
<script> |
This file contains hidden or 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
// First program example | |
#import <Foundation/Foundation.h> | |
int main (int argc, const char * argv[]) | |
{ | |
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; | |
NSLog (@"Hello, World!"); | |
[pool drain]; | |
return 0; |