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
name: E2E Tests | |
on: | |
push: | |
branches: [adabat] | |
pull_request: | |
branches: [adabat] | |
jobs: | |
e2e-tests: |
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 { DeepgramClient, type PrerecordedSchema } from "@deepgram/sdk"; | |
import type { SpeakerSegment, Utterance } from "../utils/types"; | |
import { AppError } from "../utils/error"; | |
import type { S3Client } from "bun"; | |
import { FFmpeg } from "@ffmpeg/ffmpeg"; | |
import { randomUUID } from "crypto"; | |
export class AudioService { | |
transcribingConfig: Partial<PrerecordedSchema>; | |
ffmpeg: FFmpeg; |
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
local seat = script.Parent | |
local front_speed = 100 | |
local up_speed = 5 | |
local max_height = 20 | |
local AngularVelocity = script.AngularVelocity | |
local LinearVelocity = script.LinearVelocity |
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
local seat = script.Parent | |
local max_speed = seat.MaxSpeed | |
local front_speed = 0 | |
local acceleration = 5 | |
local deceleration = 3.5 | |
local up_speed = 5 | |
local max_height = 100 | |
local takeoff_speed = 75 | |
local falling_speed = -9.807 * 4.5 --so that it does not stay long in the air if it does not have the speed to fall, change it if you like | |
local wind_speed = 2.5 |
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
#include <iostream> | |
using std::cout, std::endl; | |
int binarySearch(int *haystack, int size, int needle) | |
{ | |
int low = 0; | |
int high = size - 1; | |
while (low <= high) |
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
14,"[{""id"": 24, ""name"": {""es"": ""Uñas Acrílicas""}, ""price"": 100, ""duration"": ""00:30"", ""featured"": false, ""available"": false, ""description"": {""es"": ""Uñas acrílicas con diseño y esmalte gel""}, ""discount_price"": 70, ""enable_booking"": false, ""enable_at_salon"": false, ""enable_at_customer_address"": false}]" | |
15,"[{""id"": 75, ""name"": {""es"": ""Maquillaje Social Clásico""}, ""price"": 200, ""duration"": ""00:59"", ""featured"": true, ""available"": true, ""description"": {""es"": ""<p>Este servicio es hecho con productos de alta gama proporciona un lindo acabado y durabilidad, incluye:</p><p>-Preparación de piel </p><p>-Maquillaje profesional </p><p><span style=\""font-size: 1rem;\"">- Fijador de larga duración </span></p><p><span style=\""font-size: 1rem;\"">- Las pestañas también están incluidas pero son a elección del cliente.</span>I</p><p>importante la preparación de la piel, productos de alta gama \r\nproductos:\r\nDior,Laura Mercier, Estee Lauder, Mac,Clinique, urban decay ,P |
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
// TODO: This obviously doesnt belong here, sorry bros | |
// fix on monday | |
class DialogExample extends StatelessWidget { | |
const DialogExample({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar(title: const Text('showDialog Sample')), | |
body: Center( |
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
// REMOVE MONDAY | |
app.use((req, res, next) => { | |
const start = Date.now(); | |
res.on("finish", () => { | |
const duration = Date.now() - start; | |
console.log(`PROFILER: [${req.method}] ${req.originalUrl} - ${duration}ms`); | |
}); | |
next(); | |
}); |
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
pip install google-cloud-storage | |
export GOOGLE_APPLICATION_CREDENTIALS="path/to/your-service-account.json" |
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 datetime | |
import calendar | |
YEAR = 2023 | |
month = 2 | |
for _ in range(11): | |
num_days = calendar.monthrange(YEAR, month)[1] | |
days = [datetime.date(YEAR, month, day) for day in range(1, num_days + 1)] |
NewerOlder