Skip to content

Instantly share code, notes, and snippets.

View edm00se's full-sized avatar

Eric McCormick edm00se

View GitHub Profile
@edm00se
edm00se / ReadMe.md
Created January 31, 2020 19:39
DIY scroll to top widget for vue.js use

Scroll Top

A vue.js component to provide "scroll to top" of page functionality. Uses font awesome svg loader for the button/icon.

Issue

Currently there's an issue with this implmementation, in that mobile Safari tap events aren't triggering the click event as the desktop does.

This approach for its current project has been currently held in favor of vue-scroll-up

@edm00se
edm00se / UltiBroc.md
Last active April 26, 2023 18:21
Ultimate Broccoli!

Ultimate Broccoli

broc and roll

Prep

  1. preheat your oven to 500F (yes it's hot, it'll roast quickly)
  2. cut up your broccolii into bite sized pieces, small-ish
  3. cover a 1/4 or 1/2 sized sheet pan with aluminum foil
  4. drizzle some olive oil on the pan, add broccoli and shuffle it around a bit ("tossing" the broc' in the olive oil)
@edm00se
edm00se / print_url.css
Created July 27, 2023 17:04
print url after hyperlinks
@media print {
a::after{
content: " (" attr(href) ") ";
}
}
@edm00se
edm00se / robots.txt
Last active October 5, 2023 15:08
Disallow ChatGPT GPTBot scraping
User-agent: CCBot
Disallow: /
User-agent: ChatGPT-User
Disallow: /
User-agent: GPTBot
Disallow: /
User-agent: Google-Extended