Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
# coding=utf-8 | |
# Copyright 2023 The HuggingFace Inc. team. All rights reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
// zod schema | |
z.object({ | |
// valid if string or: | |
optional: z.string().optional(), // field not provided, or explicitly `undefined` | |
nullable: z.string().nullable(), // field explicitly `null` | |
nullish: z.string().nullish(), // field not provided, explicitly `null`, or explicitly `undefined` | |
}); | |
// type | |
{ |
# Use-case: | |
# - We have multiple git repositories but want to merge them together for simplicity / using a monorepo / etc. | |
# - We can not lose the git history and tags | |
# - The new structure can be arbitrary | |
# | |
# Solution: | |
# - Create a tmp directory and clone all previous repos | |
# - Install git filter-repo via pip | |
# - In each of these repos, use the git filter-repo command to move all files to any new directory inside the repository | |
# - cd anywhere and create your new repository |
# By default, desktop environment won't start unless you connect your monitor | |
# This config allows you to start desktop environment and enable GPU acceleration without monitor connected. Official Nvidia driver is required if you use Nvidia card. | |
# NO DUMMY DISPLAY PLUGS REQUIRED | |
# Save the file to /etc/X11/xorg.conf | |
# Disable "Allow Flipping" in Nvidia settings to fix desktop flickering | |
# Tested on Linux Mint 21 with AnyDesk remote desktop | |
# GPU: NVIDIA GeForce GT 710 | |
# nvidia-xconfig: X configuration file generated by nvidia-xconfig |
Más información - Docs Oficiales
npm i -D typescript @types/node
# This xorg configuration file will start a dummy X11 server. | |
# move it to /etc/X11/xorg.conf | |
# don't forget apt install xserver-xorg-video-dummy; | |
# based on https://xpra.org/Xdummy.html | |
Section "ServerFlags" | |
Option "DontVTSwitch" "true" | |
Option "AllowMouseOpenFail" "true" | |
Option "PciForceNone" "true" | |
Option "AutoEnableDevices" "false" |
See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |