Skip to content

Instantly share code, notes, and snippets.

View ajs256's full-sized avatar
🐢
I may be slow to respond.

Alex ajs256

🐢
I may be slow to respond.
View GitHub Profile
@ajs256
ajs256 / pingus2.md
Last active April 18, 2023 00:51
<!channel> @channel
We couldn’t find that file to show.
@ajs256
ajs256 / ajs256_scrapbook.css
Created January 29, 2023 18:22
my hackclub scrapbook css!!
body {
background: url(https://sprig.hackclub.com/pcb.svg), #016535;
background-size: cover;
background-attachment: fixed;
background-position: center center;
}
.header {
background: rgba(54,66,85,.75);
border-radius: 16px 16px 0 0;
@ajs256
ajs256 / README.md
Last active December 16, 2022 00:27
uBlock Origin 3rd-party iframe blocker

This is a simple filter for uBlock Origin to require any third-party iframes to be clicked to load. Here's a screenshot from the MDN page on the iframe element: image

This only works with uBlock Origin - other blockers might not have the click2load.html resource.

Paste the filter code below into your "My filters" settings to use it.

*$third-party,subdocument,redirect=click2load.html

Explanation:

@ajs256
ajs256 / cheatsheet.md
Created December 26, 2020 21:26
CircuitPython Status LED Cheat Sheet

Non-Errors

  • Steady green: code.py is running
  • Breathing green: code.py has finished or doesn't exist
  • Steady yellow: Waiting for a RESET press to start safe mode (user code doesn't run)
  • Breathing yellow: In safe mode
  • Steady white: In REPL
  • Steady blue: boot.py is running

Errors

First flash is type of error: