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
ffmpeg -i input.flv -vf scale=320:-1 -r 10 -f image2pipe -vcodec ppm - | convert -delay 5 -loop 0 - output.gif | |
//ou | |
ffmpeg -i gif.avi -r 60 -vf scale = 1024×720 -1 my-gif.gif | |
//mais eficiente | |
ffmpeg -y -i video.mp4 -vf palettegen palette.png | |
ffmpeg -y -i video.mp4 -i palette.png -filter_complex paletteuse -r 10 animation.gif |
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
{ | |
"todo-tree.tree.showScanModeButton": false, | |
"workbench.iconTheme": "material-icon-theme", | |
"window.zoomLevel": 0, | |
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", | |
"editor.tabSize": 2, | |
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.rulers": [80, 120], | |
"editor.parameterHints.enabled": true, |
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
fields @timestamp, @message, @logStream | |
| filter @message like /texto a procurar/ | |
| sort @timestamp desc | |
| limit 20 |
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
//path: /usr/share/vscodium-bin/resources/app/product.json -- arch based | |
//path: /snap/codium/151/usr/share/codium/resources/app/product.json -- snap install | |
//change vscodium | |
"extensionsGallery": { | |
"serviceUrl": "https://open-vsx.org/vscode/gallery", | |
"itemUrl": "https://open-vsx.org/vscode/item" | |
} | |
//to vscode |
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
{ | |
"env": { | |
"browser": true, | |
"es2021": true, | |
"node": true, | |
"jest": true | |
}, | |
"extends": ["standard", "plugin:@typescript-eslint/recommended"], | |
"parser": "@typescript-eslint/parser", | |
"parserOptions": { |
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
{ | |
"semi": false, | |
"trailingComma": "none", | |
"arrowParens": "avoid", | |
"singleQuote": true, | |
"tabWidth": 2, | |
"printWidth": 100, | |
"endOfLine": "auto" | |
} |
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
# EditorConfig is awesome: https://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 |
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 { useState, useEffect, ReactElement } from 'react' | |
// Usage | |
const App = (): ReactElement => { | |
const size = useWindowSize() | |
return <div>{size.width}</div> | |
} |
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 { useState, useEffect, ReactElement } from 'react' | |
// Usage | |
const App = (): ReactElement => { | |
const size = useWindowSize() | |
return <div>{size.width}</div> | |
} |
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
module.exports = { | |
types: [ | |
{ value: ':sparkles: feat', name: '✨ feat:\tAdding a new feature' }, | |
{ value: ':bug: fix', name: '🐛 fix:\tFixing a bug' }, | |
{ value: ':memo: docs', name: '📝 docs:\tAdd or update documentation' }, | |
{ | |
value: ':lipstick: style', | |
name: '💄 style:\tAdd or update styles, ui or ux' | |
}, | |
{ |
OlderNewer