This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const material_lots_form = document.getElementById("material_lots_form"); | |
| const fetchPromise = fetch('http://localhost:3000/material_lots'); | |
| fetchPromise | |
| .then( response => { | |
| if (!response.ok) { | |
| throw new Error(`HTTP error: ${response.status}`); | |
| } | |
| return response.json(); | |
| }) | |
| .then( json => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| # Author: Rahul Shah | |
| # In your terminal, run this command first: export times=0. This will initialize a variable called times for this script to use | |
| # When you run a script, your current shell, such as bash, launches a child shell, most often sh, to run the script. You can instead execute a script that modifies the current shell environment using the source. Execute this script as source see_shortcuts.sh to accurately see how many times you have called this script in your current shell. | |
| # windows 10 | |
| if (test $times) then | |
| hitTheUnkownCase=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Construct Single Node | |
| class Node { | |
| constructor(data, next = null) { | |
| this.data = data; | |
| this.next = next; | |
| } | |
| } | |
| // Create/Get/Remove Nodes From Linked List | |
| class LinkedList { |