This explains how to load sorted and filtered data on a responsive way thanks to indexeddb
A Pen by Juan Cortines on CodePen.
This explains how to load sorted and filtered data on a responsive way thanks to indexeddb
A Pen by Juan Cortines on CodePen.
A Pen by Juan Cortines on CodePen.
// script used to scrape data from performancemanager8.successfactors.com | |
// it downloads photos from the organization's chart | |
// photo file name contains firstname, lastname, position and hire date | |
(() => { | |
// root node - does not necessarily have to be the top-most | |
const THE_BOSS = 'TREFA' | |
// retry interval in case of server error | |
const RETRY_INT = 1000 |
(() => { | |
const getSliderControlInput = () => | |
document.querySelectorAll('input[data-ref=progressBar]')[0] | |
const getPlayButton = () => | |
document.querySelectorAll('button[id=play-pause]')[0] | |
const isInputReady = $input => | |
parseInt($input.value) < (parseInt($input.max) - parseInt($input.step)) | |
const isPaused = $play => | |
$play.attributes['aria-label'] && $play.attributes['aria-label'].value.includes('Play') |
'use strict'; | |
const https = require('https'); | |
const crypto = require('crypto'); | |
const tls = require('tls'); | |
const forge = require('node-forge'); | |
const pki = forge.pki; | |
const getRandomPortNumber = () => | |
Math.floor(Math.random() * (65535 - 49152)) + 49152 |