Skip to content

Instantly share code, notes, and snippets.

@NKCSS
NKCSS / scroll-chat-gpt.js
Created April 24, 2023 09:28
Scroll ChatGPT conversation
const sleep = sleepMs => new Promise(x => setTimeout(x, sleepMs));
const scrollContent = async function(){
const content = document.querySelector('[class^="react-scroll-to-bottom"] > div.flex');
const scroller = content.parentElement;
const viewHeight = scroller.getBoundingClientRect().height;
const height = content.getBoundingClientRect().height - viewHeight;
// If you want different step size, you can adjust it here. I did 2/3rd so you can still have a recognition point between steps.
window.scrollStep = Math.floor((viewHeight / 3) * 2);
// Jump every 1,5s. You can also set this to 1 and the scrollStep to 1-5 and see the page scroll continiously.
window.scrollDelay = 1500;
@NKCSS
NKCSS / mac-vendor.txt
Created January 4, 2019 21:59 — forked from aallan/mac-vendor.txt
List of MAC addresses with vendors identities
000000 Officially Xerox
000001 SuperLAN-2U
000002 BBN (was internal usage only, no longer used)
000003 XEROX CORPORATION
000004 XEROX CORPORATION
000005 XEROX CORPORATION
000006 XEROX CORPORATION
000007 XEROX CORPORATION
000008 XEROX CORPORATION
000009 powerpipes?

Keybase proof

I hereby claim:

  • I am NKCSS on github.
  • I am nkcss (https://keybase.io/nkcss) on keybase.
  • I have a public key whose fingerprint is 3106 B2E9 13BF 5408 30B4 1686 F888 AE13 C8AA D0DF

To claim this, I am signing this object: