- BrazilJS Weekly (tecnologia)
- Frontend Focus (tecnologia)
- Gabriel Pardal (cultura)
- The Intercept Brasil (notícias)
- Web Design Weekly (tecnologia)
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
#!/usr/bin | |
wget https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.31.5/0.31.5-linux-x64.zip -O /tmp/0.31.5-linux-x64.zip | |
rm -rf /usr/lib64/opera/libffmpeg.so | |
unzip /tmp/0.31.5-linux-x64.zip -d /usr/lib64/opera/ | |
rm -rf /tmp/0.31.5-linux-x64.zip |
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
variable "ssm_path" {} | |
data "external" "ssm_parameters" { | |
program = ["sh", "-c", <<EOT | |
raw_json=$(aws ssm get-parameters-by-path --no-with-decryption --path ${var.ssm_path}) | |
encoded_json=$(echo $raw_json | sed 's/"/\\"/g') | |
echo "{\"json\": \"$encoded_json\"}" | |
EOT | |
] | |
} |
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
default: validate init plan apply | |
validate: | |
terraform validate | |
init: | |
terraform init | |
plan: | |
terraform plan |
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
copy([...document.querySelectorAll('[data-hovercard-type=repository]')].map(link => `git clone ${link.href}.git`).join('\n')) |
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
get /patients | |
get /patients/login/:pid/birthdate/:bdt | |
put /patients | |
get /study | |
get /study/:acc | |
get /study/token/:acc | |
post /users | |
get /users/:pid |
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
docker stop $(docker ps -aq) | |
docker rm $(docker ps -aq) | |
docker image rm $(docker image ls -aq) |
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
function getChanges(oldText, newText) { | |
let index | |
for (let i in oldText) { | |
let charOld = oldText[i] | |
let charNew = newText[i] | |
if (charOld !== charNew) { | |
index = i | |
break |
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
// Transfer | |
javascript:(function () { | |
const repo = window.location.pathname.replace('/settings', '').substr(1); | |
const user = 'theuves-lixo'; | |
document.querySelector('#confirm_repository_name').value = repo; | |
document.querySelector('#confirm_new_owner').value = user; | |
document.querySelectorAll('[type=submit].btn-danger')[1].disabled = false | |
})(); |
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
@-moz-document url-prefix("https://www.youtube.com/watch") { | |
/* | |
* remove | |
*/ | |
ytd-live-chat-frame, /* chat em tempo real */ | |
#related, /* vídeos relacionados */ | |
#secondary, /* comentários */ | |
ytd-comments, /* comentários */ | |
#top-level-buttons > *:nth-child(2), /* botão de dislike */ |
NewerOlder