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
// paste this into console on any dribbble page | |
document.querySelectorAll('.dribbble-shot').forEach((item) => { item.querySelector('.tools.group').innerHTML += " " + Math.round(Number(item.querySelector('.fav a:last-child').innerText) / Number(item.querySelector('.views span').innerText.replace(',','')) * 1000) }) |
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
### Keybase proof | |
I hereby claim: | |
* I am ksokhan on github. | |
* I am ksokhan (https://keybase.io/ksokhan) on keybase. | |
* I have a public key ASAljLc4gPQv-6XiUTkL6EEcmApg21B1AMlszeu7g92QGQo | |
To claim this, I am signing this object: |
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
var fs = require('fs'); | |
module.exports = function(app){ | |
fs.readdir("routes").forEach(function(file) { | |
if (file == "index.js") return; | |
var name = file.substr(0, file.indexOf('.')); | |
require('./' + name)(app); | |
}); | |
} |