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
export const consolesMenu = [ | |
{ | |
name: 'NES', | |
linkRandom: '/nes/random', | |
id: "nes", | |
linkAll: '/nes/all', | |
}, | |
{ | |
name: 'Super Nintendo', |
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
let a = Options { | |
file: options.file, | |
dist: options.dist, | |
..Options::default() | |
}; | |
// ALWAYS RETURNS EMPTY | |
println!("{:?}", a); |
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
import nextConnect from "next-connect"; | |
import aws from "aws-sdk"; | |
import multer from "multer"; | |
import multerS3 from "multer-s3-v3"; | |
import { getVideoTypeByEnv } from "@/src/utils/video-type"; | |
import { UPLOAD_TYPE } from "@/src/constants/lessons"; | |
import { adminOnlyAPIRoute } from "@/src/utils/session"; | |
import { ERROR_MESSAGES } from "@/src/constants/errors"; | |
const uploadType = getVideoTypeByEnv(); |
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
# auto detects a good number of processes to run | |
worker_processes auto; | |
#Provides the configuration file context in which the directives that affect connection processing are specified. | |
events { | |
# Sets the maximum number of simultaneous connections that can be opened by a worker process. | |
worker_connections 8000; | |
# Tells the worker to accept multiple connections at a time | |
multi_accept on; | |
} |
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
Running seed command `node --max-old-space-size=8096 -- node_modules/.bin/ts-node -P tsconfig.json --compiler-options {"module":"CommonJS"} prisma/seed.ts` ... | |
<--- Last few GCs ---> | |
[83311:0x108008000] 206186 ms: Mark-sweep (reduce) 8075.1 (8105.5) -> 8074.4 (8106.7) MB, 4494.9 / 0.0 ms (average mu = 0.085, current mu = 0.002) allocation failure scavenge might not succeed | |
[83311:0x108008000] 212931 ms: Mark-sweep (reduce) 8075.4 (8108.7) -> 8074.4 (8109.0) MB, 6733.9 / 0.0 ms (average mu = 0.036, current mu = 0.002) allocation failure scavenge might not succeed | |
<--- JS stacktrace ---> |
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
docker exec -ti coolify-haproxy cat /etc/haproxy/haproxy.cfg | |
# _md5hash=118ef9c8eb10791d900f4af8db86e383 | |
# _version=42599 | |
# Dataplaneapi managed File | |
# changing file directly can cause a conflict if dataplaneapi is running | |
global | |
stats socket /var/run/api.sock user haproxy group haproxy mode 660 level admin expose-fd listeners | |
log stdout format raw local0 debug |
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
19:32:41.031 GitHub importer started | |
19:32:41.267 Cloning saravieira/meilisearch:main branch. | |
19:32:47.992 Building image started. | |
19:32:52.382 Step 1/28 : FROM alpine:3.14 AS compiler | |
19:32:53.751 ---> 0a97eee8041e | |
19:32:53.751 Step 2/28 : RUN apk update --quiet && apk add -q --no-cache curl build-base | |
19:32:53.860 ---> Running in 243a6585206c | |
19:33:00.168 Removing intermediate container 243a6585206c | |
19:33:00.169 ---> b6044a89f861 | |
19:33:00.169 Step 3/28 : RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y |
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
[ | |
{ | |
"price": "USD 4.99", | |
"dollars": "4.99", | |
"country": "Algeria", | |
"countryCode": "DZA", | |
"link": "https://www.spotify.com/dz-fr/premium/", | |
"percentageOfUSA": 49, | |
"discount": 51 | |
}, |
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
[ | |
{ | |
"price": "USD 4.99", | |
"dollars": "4.99", | |
"country": "Algeria", | |
"countryCode": "DZA", | |
"link": "https://www.spotify.com/dz-fr/premium/", | |
"percentageOfUSA": 49, | |
"discount": 51 | |
}, |
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
{ | |
"errors": [ | |
{ | |
"message": "\n\u001b[31mInvalid \u001b[1m`prisma.works.create()`\u001b[22m invocation in\u001b[39m\n\u001b[31m\u001b[4m/Users/saravieira/Projects/gig-worker/api/src/services/works/works.js:22:30\u001b[24m\u001b[39m\n\n{\n data: {\n can_contact: \u001b[2mtrue\u001b[22m\u001b[2m,\u001b[22m\n\u001b[2m\u001b[22m user: \u001b[91m1\u001b[39m\u001b[2m,\u001b[22m\n \u001b[91m~\u001b[39m\n\u001b[2m\u001b[22m donate_link: \u001b[2m'https://lol.com'\u001b[22m\u001b[2m,\u001b[22m\n\u001b[2m\u001b[22m description: \u001b[2m'Making sure that '\u001b[22m\u001b[2m,\u001b[22m\n\u001b[2m\u001b[22m tasks: \u001b[91m1\u001b[39m\u001b[2m\u001b[22m\n \u001b[91m~\u001b[39m\n\u001b[2m\u001b[22m }\u001b[2m\u001b[22m\n\u001b[2m\u001b[22m}\n\nArgument \u001b[1muser\u001b[22m: Got invalid value \u001b[91m1\u001b[39m on \u001b[1mprisma.createOneWork\u001b[22m. Provided \u001b[91mInt\u001b[39m, expected \u001b[92mUserCreateOneWithoutWorksInput\u001b[39m:\n\u001b[2mtype\u001b[ |