Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
// index.mjs | |
// nvm use 15 && node index.mjs | |
{ | |
const getRandomInteger = (max = 100) => { | |
return Math.floor(Math.random() * max) | |
} | |
console.log('Math.random', getRandomInteger()) | |
} |
chore: add Oyster build script //Pequenas alterações que não são novas funcionalidades. | |
docs: explain hat wobble //Semelhante a uma wiki; documentações etc. | |
feat: add beta sequence //Criação de Nova funcionalidade; | |
fix: remove error message //Correção de bugs | |
refactor: share logic 4d3d3d3 //Refatoração de um código | |
style: convert tabs to spaces //Alteração em estilos, formatação de código etc. | |
test: ensure that increment //Criação de testes da sua aplicação |
// Exemplo de requisição GET | |
var ajax = new XMLHttpRequest(); | |
// Seta tipo de requisição e URL com os parâmetros | |
ajax.open("GET", "minha-url-api.com/?name=Henry&lastname=Ford", true); | |
// Envia a requisição | |
ajax.send(); | |
// Cria um evento para receber o retorno. |