Skip to content

Instantly share code, notes, and snippets.

View anantoghosh's full-sized avatar

Ananto Ghosh anantoghosh

View GitHub Profile
  SN32F268 ATmega32U4 AT90USB1286 Proton C - STM32F303xC Blackpill - STM32F411 Nice Nano (nRF52840) RP2040
Speed 48MHz 16MHz 16MHz 72MHz ~96MHz 64MHz 2@ 133MHz
Voltage 3.3V 5V 5V 3.3V with some 5V capable pins 3.3V with 5V capable pins 3.3v 3.3v
Flash size 32kB (~28kB usable) 32kB (28kB usable) 128kB (120kB usable) 256kB 512kB 1MB off-chip flash, up to 16MB
EEPROM si
@anantoghosh
anantoghosh / Coursera Print
Last active April 18, 2022 15:48
Print Coursera Reading Pages
document.querySelector('.rc-PageHeader')?.remove()
document.querySelector('.rc-ItemFeedback')?.remove()
document.querySelector('.ItemPageLayout_navToggle')?.remove()
document.querySelector('.rc-ReadingCompleteButton')?.remove()
document.querySelector('.ItemPageLayout_content_navigation')?.remove()
document.querySelector('.ItemPageLayout_header')?.remove()
document.querySelector('.ItemPageLayout_banner')?.remove()
document.querySelector('.rc-ReadingItem')?.setAttribute('style', 'max-width: unset; margin-top: 0;');
document.querySelector('.ItemPageLayout_container')?.setAttribute('style', 'top: 0;');
@anantoghosh
anantoghosh / confluence_clean.js
Created April 23, 2021 06:34
Clean Confluence page for saving/printing
/**
* Clean Confluence page for saving/printing
* Compared to save as pdf feature in confluence, this maintains the exact visual style.
* Save this in Sources -> Snippets
*/
// Remove top navigation
document.querySelector('[data-testid=grid-topNav]')?.remove()
// Remove toolbar