01/13/2012. From a lecture by Professor John Ousterhout at Stanford, class CS140
Here's today's thought for the weekend. A little bit of slope makes up for a lot of Y-intercept.
[Laughter]
#!/bin/bash | |
set -o pipefail | |
# Directory | |
_SCREENSHOT_DIR_=$HOME/Pictures/Screenshots | |
_ORIGINAL_DIR_=$_SCREENSHOT_DIR_/Original | |
_LOG_FILE_="$_SCREENSHOT_DIR_/.screensht.log" | |
# Color | |
_FG_COLOR_='#cdd6f4' |
// Simple script to download multiple whatssapp files at once | |
// Go the Chat-> Media -> Select any File -> paste the code in browser console -> Viola! Now Download all of them at once XD | |
document.querySelectorAll('[data-testid="checkbox-round-passive"]').forEach(s => s.click()) |