Skip to content

Instantly share code, notes, and snippets.

Avatar
🏖️
Working from home

Filipe Carmona carmona

🏖️
Working from home
View GitHub Profile
View imdb-links.js
@carmona
carmona / download-images.sh
Created Jan 31, 2017
download all files from a URL list in a text file
View download-images.sh
#!/bin/bash
INPUT="links.txt"
while read line ;
do
curl -O $line &> /dev/null
done < $INPUT
exit
@carmona
carmona / steam-autoremove.js
Last active Jun 28, 2016
Steam sales auto-remove
View steam-autoremove.js
const removeBtn = '.item_market_action_button';
const confirmBtn = '#market_removelisting_dialog_accept';
let sell = document.querySelector(removeBtn);
sell.classList = [];
var start = setInterval(function(){
cancelSale();
},2000);
@carmona
carmona / binge.js
Last active Jul 6, 2016
GloboPlay Binge-watch
View binge.js
console.log('funcao de autoplay ativada');
setInterval(loopEvento, 10000);
function loopEvento(){
document.querySelector('video').addEventListener('ended',proximo,false);
function proximo(e) {
document.querySelector('.video-item.active').nextSibling.click();
}
}