A JavaScript library that manages the UI.
React enables you to express in a declarative way what your UI should look like at any point in time; while building your app with little, reusable blocks: components.
# https://support.twitter.com/articles/20172128?lang=en#video-formats | |
# https://trac.ffmpeg.org/wiki/Encode/H.264 | |
# gif to mp4 for twitter | |
ffmpeg -i in.gif -pix_fmt yuv420p -vf crop="floor(in_w/2)*2:floor(in_h/2)*2" out.mp4 | |
# extract part of video (-t duration) | |
ffmpeg -i in.mp4 -ss 00:00:00.000 -to 00:00:15.000 -vcodec copy -acodec copy part.mp4 | |
# convert to mp4 for twitter |
const fs = require("fs"); | |
const https = require("https"); | |
/** | |
* | |
* Set the env var in circle project from a .env file | |
* | |
* usage: | |
* | |
* ```bash |
sudo apt-get install apt-transport-https ca-certificates
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
sudo apt-get update
sudo apt-get install syncthing
sudo apt-get install git
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.