Skip to content

Instantly share code, notes, and snippets.

View arnvgh's full-sized avatar
🦀
(๑>◡<๑)

Arunava Ghosh arnvgh

🦀
(๑>◡<๑)
View GitHub Profile
@arnvgh
arnvgh / screensht
Created April 13, 2023 08:01
Screenshot go brrrr
#!/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())
@gtallen1187
gtallen1187 / slope_vs_starting.md
Created November 2, 2015 00:02
A little bit of slope makes up for a lot of y-intercept

"A little bit of slope makes up for a lot of y-intercept"

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]