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
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct Node { | |
size_t size; | |
struct Node* next; | |
} Node; | |
typedef struct { | |
void* pool_start; |
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
---------------------------------------WRITING INFO ABOUT TEST 0---------------------------------------- | |
-------------PROMPT---------------- | |
from typing import List | |
def has_close_elements(numbers: List[float], threshold: float) -> bool: | |
""" Check if in given list of numbers, are any two numbers closer to each other than | |
given threshold. |
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
def get_prompt_from_azure(message: str): | |
# Create an openAI connection every time the request is sent ! | |
AZURE_API_ENDPOINT = os.environ.get("AZURE_API_ENDPOINT") | |
AZURE_API_KEY = os.environ.get("AZURE_API_KEY") | |
AZURE_API_DEPLOYMENT_NAME = "gpt-35-turbo-france" | |
AZURE_API_VERSION = "2023-05-15" | |
url = f"{AZURE_API_ENDPOINT}/openai/deployments/{AZURE_API_DEPLOYMENT_NAME}/chat/completions?api-version={AZURE_API_VERSION}" |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IEne=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="style.css"> | |
<title>Regisration Form </title> |
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
*{ | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
font-family: 'Poppins', sans-serif; | |
} | |
body{ | |
min-height: 100vh; | |
display: flex; | |
align-items: center; |
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
var form = document.querySelector("form"); | |
var nextBtn = form.querySelector(".nextBtn"); | |
var backBtn = form.querySelector(".backBtn"); | |
var allInput = form.querySelectorAll(".input-field"); | |
nextBtn.addEventListener("click", () => { | |
allInput.forEach(input => { | |
if(input.value !== ""){ | |
form.classList.add('secActive'); | |
}else{ |
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
CREATE TABLE Org | |
( | |
id INT NOT NULL AUTO_INCREMENT, | |
marketplace VARCHAR NOT NULL, | |
created_at DATE NOT NULL, | |
updated_at DATE NOT NULL, | |
PRIMARY KEY (id) | |
); | |
CREATE TABLE Surveyor |