Skip to content

Instantly share code, notes, and snippets.

View darnocer's full-sized avatar
👽
Greetings Earthling

Darian Nocera darnocer

👽
Greetings Earthling
View GitHub Profile
@darnocer
darnocer / builtinmodules.md
Created July 26, 2023 22:10
'builtin-modules' error

Error

./node_modules/@esbuild-plugins/node-resolve/esm/index.js:37:0
Module not found: Can't resolve 'builtin-modules'

Import trace for requested module:
./node_modules/mdx-bundler/dist/index.js
./lib/mdx.js
@darnocer
darnocer / gitcommit.md
Created April 20, 2023 17:44
Commit Changes to Github

Committing changes to Github

  1. Check status of changes
git status
  1. Stage files for commit

Specify files:

@darnocer
darnocer / openvscode.md
Created April 20, 2023 17:31
Open in VSCode Quick Action on Mac

Open in VSCode

Enable the option to right-click a folder and open it directly in VSCode on Mac.

  1. Open Automator
  2. File > New > Quick Action
  3. In the right-hand pane:
    • Worflow receives current files or folders in Finder
    • Optional:
      • Image > Choose... > Select Visual Studio Code from Applications
  • Color > Select Color
@darnocer
darnocer / nextjsversion.md
Created April 20, 2023 15:58
Upgrade Next.js

Next.js Versions

See what version of Next.js you're currently using:

npm list next

See the latest version of Next.js that is available:

npm view next version
@darnocer
darnocer / gypinfo.md
Last active July 26, 2023 20:29
npm ERR gyp info error

Sharp package causing error

When installing dependencies with npm i, I was running into this unhelpful npm ERR! gyp info... error.

It was resolved by reinstalling the sharp package.

   "sharp": "^0.28.3", // version with error
   "sharp": "^0.32.4", // reinstalled version with no error
@darnocer
darnocer / webflowstructure.md
Last active September 16, 2023 17:32
Webflow Client-First Architecture Cheat Sheet
Legend 🟩 = Component

Page Structure

Body

@darnocer
darnocer / kindle.md
Last active October 27, 2023 16:01
Stubborn Syncing Issues with Kindle Highlights

Not sure if my Kindle is just old, but I have the hardest time syncing my book notes & highlights to my Macbook so that I can export them. Below are the steps for my future reference.

Device: Kindle Paperwhite 7th Generation

Troubleshooting Syncing Issues

  • Ensure both devices are connected to the same Wifi
  • Ensure both devices are connected to the same Amazon account
  • Ensure Whispersync* is enabled
  • Try to 🔄 Sync from both devices
@darnocer
darnocer / webflowmailchimp.md
Last active July 22, 2023 18:39
Guide to MailChimp Integration in Webflow

Guide to MailChimp Integration in Webflow

This guide covers in detail the implementation of a custom contact or sign up form on your Webflow website that subscribes users and adds data to your contact list in MailChimp, including the configuration in MailChimp. It goes over the options to actually implement the integration and the advantages and limitations of each option.

This guide is for beginners to MailChimp, but assumes proficiency in Webflow. This content is intended to be searchable for details that you need in case you get stuck :)

@darnocer
darnocer / yaml.md
Last active January 15, 2023 19:18
Obsidian Frontmatter
---
alias: [alt name 1, alt name 2]

tags:
- example
- random

---

Working with SVGs

Overview

SVGs are an XML-based markup language.

Tip: Open the SVG file in a TextEdit app to copy the code.

Attributes

Attributes can be used to modify SVGs. Presentation Attributes are CSS properties that can be used as attributes on SVG elements to change its appearance.