Skip to content

Instantly share code, notes, and snippets.

View edm00se's full-sized avatar

Eric McCormick edm00se

View GitHub Profile
@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
@edm00se
edm00se / print_url.css
Created July 27, 2023 17:04
print url after hyperlinks
@media print {
a::after{
content: " (" attr(href) ") ";
}
}
@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 / 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 / reset_https_npm.sh
Last active June 27, 2019 20:03
for re-setting https when npm install is dumb and removes https
# for re-setting https when npm install is dumb and removes https
# explainshell: https://www.explainshell.com/explain?cmd=sed+-i+-e+%27s%2Fhttp%3A%5C%2F%5C%2F%2Fhttps%3A%5C%2F%5C%2F%2Fg%27+package-lock.json
sed -i -e 's/http:\/\//https:\/\//g' package-lock.json
@edm00se
edm00se / nanorc.sh
Created January 19, 2019 03:12
nano syntax highlighting (macOS)
# install
brew install nano
# configure
echo 'include "/usr/local/Cellar/nano/3.2/share/nano/*.nanorc"' > ~/.nanorc
# restart your shell
@edm00se
edm00se / _darkMinima.scss
Created May 8, 2018 17:20
a Dark Minima "theme" on the cheap
$brand-color: #d07922;
$background-color: #222426; /* a dark, off-black for the bg */
$text-color: #e6e6e6; /* an off-white for the text */
$grey-color-light: #565656; /* for the border-top separators */
$grey-color-dark: #adadad; /* such as the site title in the header, visited */
@edm00se
edm00se / Example.md
Last active January 19, 2019 03:15
How to Embed "Spoiler" Expandable Code Block in GitHub MD (Issues, etc.)
stuff with *mark* **down**

formatted heading with a

<omg>amazing code!</omg>
@edm00se
edm00se / NotesForOlderMacs.md
Last active May 28, 2021 15:01
Mac Setup for Homebrew, Casks, and Required Xcode CLI Tools

Older Macs

You probably need to:

  • install XCode CLI Tools (which can be difficult on older versions)
  • update OpenSSL
  • upgrade git

Install XCode CLI Tools

@edm00se
edm00se / About.md
Last active August 29, 2019 12:37
Progress bar indicator (jQuery).