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
<!DOCTYPE html> | |
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" lang="en"> | |
<head> | |
<title></title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"><!--[if mso]><xml><o:OfficeDocumentSettings><o:PixelsPerInch>96</o:PixelsPerInch><o:AllowPNG/></o:OfficeDocumentSettings></xml><![endif]--><!--[if !mso]><!--><!--<![endif]--> | |
<style> | |
* { | |
box-sizing: border-box; |
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
const SHEET_ID_WITH_NAME_AND_EMAIL = 'YOUR_ID_HERE' | |
/** | |
* Função para obter nomes e emails de uma planilha específica. | |
* | |
* @param {string} sheetId | |
* @return {Array<{ name: string, email: string }>} | |
*/ | |
function getNameAndEmail(sheetId) { | |
const spreadsheet = SpreadsheetApp.openById(sheetId); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
from random import random | |
from sklearn.preprocessing import MinMaxScaler | |
from sklearn.datasets.samples_generator import make_blobs | |
# Inicializar variáveis x e y | |
x, y = make_blobs(n_samples=100, n_features=2, centers=2, random_state=1234) | |
# Regularizar x para o intervalo entre -1 e 1 | |
minmax = MinMaxScaler(feature_range=(-1, 1)) | |
x = minmax.fit_transform(x.astype(np.float64)) |
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
from mpi4py import MPI | |
comm = MPI.COMM_WORLD | |
rank = comm.Get_rank() | |
MEMO = [1,1] | |
def fib(n): | |
if(n==0 or n==1): return 1 | |
MEMO.append(fib(n-1)+MEMO[n-2]) |