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:
# 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) |
04379243 table | |
03593526 jar | |
04225987 skateboard | |
02958343 car | |
02876657 bottle | |
04460130 tower | |
03001627 chair | |
02871439 bookshelf | |
02942699 camera | |
02691156 airplane |
Não é possível desfazer um push diretamente, como é feito com o commit utilizando o comando $ git reset --soft|mixed|hard hash-do-penultimo-commit
Para desfazer um push são necessários 3 passos:
$ git reset --mixed HEAD~1
e em seguida utilizar o comando $ git stash
(se preferir pode usar a opção -m "revertendo o push blablabla"
para salvar o stash com um contexto do que foi feito$ git revert HEAD~0
$ git stash apply
$ git push origin sua-branch -f