| Feature / Aspect | GitHub | GitLab (CE / EE) | Bitbucket |
|---|---|---|---|
| Hosting Options | SaaS (GitHub.com), Enterprise Server (self-hosted) | SaaS (GitLab.com), Self-hosted (CE = free, EE = paid) | SaaS (bitbucket.org), Data Center (self-hosted, paid) |
| Branch Protection (Free Tier) | Basic (single approval, block force push/deletes) | Advanced even in CE (require MR, multiple approvals, CI before merge) | Strong rules available on free cloud tier |
| CI/CD | GitHub Actions (minutes quota on free) |
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
| export function exampleObjectFromJsonSchema(schema: JSONSchema7): exampleObjectValue { | |
| if (schema.examples && Array.isArray(schema.examples)) return schema.examples[0] as any | |
| if (schema.examples && !Array.isArray(schema.examples)) return schema.examples as {[key: string]: any} | |
| if (schema.type === "string") return "example string" | |
| if (schema.type === "number" || schema.type === "integer") return 1 | |
| if (schema.type === "boolean") return true | |
| if (schema.type === "object") { | |
| let outObj: {[key: string]: exampleObjectValue} = {} | |
| for (let propName in schema.properties) { | |
| if (!schema.properties) continue |
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
| use crate::utils::user::{User, UserOpError}; | |
| use crate::AppState; | |
| use actix_http::BoxedPayloadStream; | |
| use actix_web::error::{ErrorForbidden, ErrorInternalServerError, ErrorUnauthorized}; | |
| use actix_web::{ | |
| body::{to_bytes, BoxBody, MessageBody}, | |
| dev::{Payload, Service, ServiceRequest, ServiceResponse, Transform}, | |
| error::PayloadError, | |
| Error, HttpMessage, HttpResponse, | |
| }; |
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
| { | |
| "words": [ | |
| { | |
| "startTime": 1.2, | |
| "endTime": 1.676, | |
| "word": "İnsanlar" | |
| }, | |
| { | |
| "startTime": 1.676, | |
| "endTime": 2.271, |
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
| { | |
| "words": [ | |
| { | |
| "startTime": 1.2, | |
| "endTime": 1.676, | |
| "word": "İnsanlar" | |
| }, | |
| { | |
| "startTime": 1.676, | |
| "endTime": 2.271, |
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
| {"audio_url":"https://media.stockimg.ai/video/audio/7xx5-Odz3IJa.mp3","words":[{"startTime":0,"endTime":0.5668235294117646,"word":"Makine"},{"startTime":0.5668235294117646,"endTime":1.1336470588235292,"word":"Öğrenimi,"},{"startTime":1.1336470588235292,"endTime":1.700470588235294,"word":"bilgisayarların"},{"startTime":1.700470588235294,"endTime":2.2672941176470585,"word":"açıkça"},{"startTime":2.2672941176470585,"endTime":2.834117647058823,"word":"programlanmadan"},{"startTime":2.834117647058823,"endTime":3.400941176470588,"word":"verilerden"},{"startTime":3.400941176470588,"endTime":3.9677647058823524,"word":"öğrenmesini"},{"startTime":3.9677647058823524,"endTime":4.534588235294117,"word":"ve"},{"startTime":4.534588235294117,"endTime":5.101411764705881,"word":"zaman"},{"startTime":5.101411764705881,"endTime":5.668235294117646,"word":"içinde"},{"startTime":5.668235294117646,"endTime":6.23505882352941,"word":"gelişmesini"},{"startTime":6.23505882352941,"endTime":6.801882352941176,"word":"sağlayan"},{"startTime |
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
| {"words":[{"word":"Machine","startTime":0,"endTime":0.464},{"word":"Learning","startTime":0.522,"endTime":0.894},{"word":"is","startTime":0.975,"endTime":1.103},{"word":"a","startTime":1.149,"endTime":1.184},{"word":"subset","startTime":1.254,"endTime":1.788},{"word":"of","startTime":1.834,"endTime":1.904},{"word":"artificial","startTime":1.974,"endTime":2.531},{"word":"intelligence","startTime":2.589,"endTime":3.309},{"word":"that","startTime":3.367,"endTime":3.541},{"word":"enables","startTime":3.587,"endTime":4.017},{"word":"computers","startTime":4.075,"endTime":4.69},{"word":"to","startTime":4.76,"endTime":4.841},{"word":"learn","startTime":4.934,"endTime":5.155},{"word":"from","startTime":5.213,"endTime":5.375},{"word":"data","startTime":5.468,"endTime":5.851},{"word":"and","startTime":6.026,"endTime":6.2},{"word":"improve","startTime":6.246,"endTime":6.653},{"word":"over","startTime":6.687,"endTime":6.896},{"word":"time","startTime":6.966,"endTime":7.338},{"word":"without","startTime":7.396,"endTime":7 |
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
| 1 | |
| 00:00:00,000 --> 00:00:08,626 | |
| Şunu hayal edin: İtalyan bir traktör üreticisi olan Ferruccio Lamborghini, Enzo Ferrari tarafından küçümseniyor. | |
| 2 | |
| 00:00:09,560 --> 00:00:15,999 | |
| Ferrari'sinden memnun olmayan Ferruccio, iyileştirmeler önermek için doğrudan Enzo'ya gider. | |
| 3 | |
| 00:00:16,486 --> 00:00:33,960 |
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
| {"words":[{"word":"Imagine","startTime":0,"endTime":0.639},{"word":"this:","startTime":0.673,"endTime":1.149},{"word":"an","startTime":1.416,"endTime":1.567},{"word":"Italian","startTime":1.625,"endTime":2.159},{"word":"tractor","startTime":2.218,"endTime":2.728},{"word":"manufacturer,","startTime":2.798,"endTime":3.762},{"word":"Ferruccio","startTime":3.959,"endTime":4.574},{"word":"Lamborghini,","startTime":4.656,"endTime":5.573},{"word":"gets","startTime":5.747,"endTime":6.014},{"word":"snubbed","startTime":6.072,"endTime":6.536},{"word":"by","startTime":6.594,"endTime":6.734},{"word":"Enzo","startTime":6.815,"endTime":7.187},{"word":"Ferrari","startTime":7.256,"endTime":7.744},{"word":"himself.","startTime":7.802,"endTime":8.626},{"word":"Ferruccio,","startTime":9.056,"endTime":10.043},{"word":"dissatisfied","startTime":10.321,"endTime":11.25},{"word":"with","startTime":11.285,"endTime":11.401},{"word":"his","startTime":11.447,"endTime":11.54},{"word":"Ferrari,","startTime":11.61,"endTime":12.272},{"word" |
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
| { | |
| "words": [ | |
| { | |
| "word": "Hi", | |
| "startTime": 0, | |
| "endTime": 0.302 | |
| }, | |
| { | |
| "word": "everyone!", | |
| "startTime": 0.383, |
NewerOlder