Newsletters
- BrazilJS Weekly (tecnologia)
- Frontend Focus (tecnologia)
- Gabriel Pardal (cultura)
- The Intercept Brasil (notícias)
- Web Design Weekly (tecnologia)
#!/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 |
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 | |
] | |
} |
default: validate init plan apply | |
validate: | |
terraform validate | |
init: | |
terraform init | |
plan: | |
terraform plan |
copy([...document.querySelectorAll('[data-hovercard-type=repository]')].map(link => `git clone ${link.href}.git`).join('\n')) |
get /patients | |
get /patients/login/:pid/birthdate/:bdt | |
put /patients | |
get /study | |
get /study/:acc | |
get /study/token/:acc | |
post /users | |
get /users/:pid |
docker stop $(docker ps -aq) | |
docker rm $(docker ps -aq) | |
docker image rm $(docker image ls -aq) |
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 |
// 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 | |
})(); |
@-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 */ |