Reorganise gists folder

This commit is contained in:
TKE
2022-05-13 12:49:21 +02:00
parent ecd3c7fe2f
commit acd8d616dc
98 changed files with 63 additions and 20 deletions

18
codegrab/screen2.js Normal file
View File

@@ -0,0 +1,18 @@
var page = require('webpage').create(),
url = 'https://mobile.twitter.com/carlomasala1/status/1490645423257706498',
w = 1920,
h = 8000
page.viewportSize = { width: w, height: h }
page.open(url, function(status) {
if (status !== 'success') {
console.log('Unable to load url: ' + url)
} else {
window.setTimeout(function() {
page.clipRect = { top: 0, left: 0, width: w, height: h }
page.render('img.png')
phantom.exit()
}, 20000)
}
})