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
exiftool -r -d %s -tagsfromfile "%d/%F.json" "-GPSAltitude<GeoDataAltitude" "-GPSLatitude<GeoDataLatitude" "-GPSLatitudeRef<GeoDataLatitude" "-GPSLongitude<GeoDataLongitude" "-GPSLongitudeRef<GeoDataLongitude" "-Keywords<Tags" "-Subject<Tags" "-Caption-Abstract<Description" "-ImageDescription<Description" "-DateTimeOriginal<PhotoTakenTimeTimestamp" -ext "*" -overwrite_original -progress --ext json <DirToProcess> |
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
#back-button, #forward-button { display:none!important; } |
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
pacman -Qeqm > foreign_pkgs | |
# after reinstall | |
git clone aur.archlinux.org/yay.git | |
pushd yay | |
makepkg -si | |
popd | |
yay -S - < foreign_pkgs | |
*** |
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
{ | |
"chrome.storage.local": { | |
"audio": true, | |
"battery": false, | |
"check-delay": 30000, | |
"click": "click.popup", | |
"faqs": true, | |
"favicon": true, | |
"favicon-delay": 500, | |
"form": 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
# Entrar em /etc/ssh/ssh_config | |
sudo vim /etc/ssh/ssh_config | |
# Adicionar o Bitbucket como Host e forçar a conexão IPV4 nele | |
Host bitbucket.org | |
AddressFamily inet |
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
cat pasta_numero_*/*.txt > arquivo_alvo.txt |
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
// Criar um filtro por chave e valor sem usar a função filter | |
function filterBy(key, value, array) { | |
const filteredList = [] | |
if (!key || !value) { | |
console.log("Key ou value é falso") | |
return filteredList | |
} | |
if (!Array.isArray(array) || array.length == 0) { |
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
// Criar um filtro por chave e valor sem usar a função filter | |
function filterBy(key, value, array) { | |
const filteredList = []; | |
array.map((carro) => { | |
if (!!key || !!value) { | |
if (carro[key] == value) { | |
filteredList.push(carro); | |
} | |
} |
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
# Filtrando trigramas | |
:v/^\w* \(com\|como\|da\|das\|de\|do\|dos\|em\|na\|no\|o\|os\|ou\|pela\|pelos\|por\) \w*/d |
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
class Cliente: | |
def __init__(self, nome, telefone): | |
self.nome = nome | |
self.telefone = telefone | |
class Conta: | |
def __init__(self, clientes, numero, saldo=0): | |
self.clientes = clientes | |
self.numero = numero |
NewerOlder