Skip to content

Instantly share code, notes, and snippets.

View richardsaci's full-sized avatar

Richard Allen richardsaci

View GitHub Profile
@richardsaci
richardsaci / Rockler-Perfect-Fit-Dado-Jig-Setup.md
Last active August 2, 2024 00:36
Rockler - Perfect Fit Dado Jig - Setup.md

Setting Jig for Your Material and Bit


  1. Locate or cut a narrow offcut from the material that will eventually be glued into the dado you are routing.

  2. Loosen the two 5/16" - 18 By 1" Tall Five-Star Knobs (9) and the two 1/4"-20 Knurled Knobs (11) so you can slide the Jig Base away from the Perfect Fit Fence.

  3. Fit the offcut piece in the stepped area formed by the fence of the Jib Base and the Perfect Fit Fence. Make sure to place the offcut on the step that corresponds to the diameter of the router bit you are using.

@richardsaci
richardsaci / fetch-example.md
Last active November 2, 2022 15:52
Fetch Example Code
// This function calls the route and passes the search term as a parameter.
  
  async function getTypeAheadData(x) {
    let myTerm = x;
    // console.log(`The value of myTerm: ${myTerm}`);
    const vendorsTableSection = document.getElementById('vendorsTableSection');
    let response = await fetch(`/autocomplete?term=${myTerm}`);
 //response = JSON.stringify(response)
@richardsaci
richardsaci / documentAdd_11-02-2022
Created November 2, 2022 12:43
documentAdd_11-02-2022
<div class="container">
<div class="status">
<div id="stepOne" class="statusItem stepActive">My Company Info</div>
<div id="stepTwo" class="statusItem">Select Vendor</div>
<div id="stepThree" class="statusItem">Document Info</div>
<div id="stepFour" class="statusItem">Notes</div>
<div id="stepFive" class="statusItem">Coding</div>
<div id="stepSix" class="statusItem">Line Items</div>
</div>
@richardsaci
richardsaci / vendorRoute.js
Created October 25, 2022 16:55
vendorRoute.js
```js
const express = require("express");
const router = express.Router();
const Vendor = require("../models/VendorModel");
router.get("/vendorAdd", (req, res) => {
res.render("pages/vendorAdd", {
title: "Add Vendor",
});
});
@richardsaci
richardsaci / documentAdd.ejs
Created October 25, 2022 16:53
documentAdd.ejs
```html
<div class="container">
<div class="status">
<div id="stepOne" class="statusItem stepActive">My Company Info</div>
<div id="stepTwo" class="statusItem">Select Vendor</div>
<div id="stepThree" class="statusItem">Document Info</div>
<div id="stepFour" class="statusItem">Notes</div>
<div id="stepFive" class="statusItem">Coding</div>
<div id="stepSix" class="statusItem">Line Items</div>
</div>
@richardsaci
richardsaci / Puppeteer.md
Last active October 19, 2022 19:14
Puppeteer
@richardsaci
richardsaci / SendGrid.md
Last active October 19, 2022 19:24
SendGrid

SendGrid

  • Add this Gist to LMS
  • Create a new account with SendGrid. sendgrid.com
  • ...
  • ...
  • ...
  • ...
  • ...
@richardsaci
richardsaci / Chrome-Extension-Build-a-Chrome-Extension-By-Tiff_In-Tech-on-YouTube.md
Last active October 19, 2022 12:50
Chrome Extension - Build a Chrome Extension By xxxx on YouTube
@richardsaci
richardsaci / UpWork_07-06-2022.md
Last active July 7, 2022 18:05
Node.js route that will Mass Add data to my MongoDB Collection

Node.js route that will Mass Add data to my MongoDB Collection


Description


I need a Node.js route to mass-add the attached JSON data to a MongoDB Collection.

Below you will find my Mongoose Model for my Vendor collection, the Express Route I use for posting one vendor to the MongoDB collection, and a JSON file that includes sample records in a format that matches the Model.

@richardsaci
richardsaci / sampleREADME.md
Created June 11, 2022 13:09 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >