Skip to content

Instantly share code, notes, and snippets.

View jgrizzled's full-sized avatar

Justin Greene jgrizzled

View GitHub Profile
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFtoxMIBEADPkmX3VZfxs2iaU00IdTEG12iqgLtLuRPiGz1v8kLfL+KTGEZM
cy9DmnKUuPK+fbG73u/mVNP41+Qi9u3RaeIkjWLnA7nuy7d0HK5I8Xmw9gSpHVfv
FLFf2XIsfIZabEuRgcGJPZaUfI9DJNJqERNwcWXkxvGr6luEMz++OqjoK9G5xnjf
oCuKlHnSI8NYZ1NR2m1mWUetkqxCj1CYWT0BKmB+jzhW9hMh7vAWYZo8QFrBX3ID
fxybZgcm6TCgYVSUJ6ahg8BwfeTCqOmxYLYMnNKjPsEw24brkjxeIoWA2p01Milw
nNqHVbyWsIjqmkT1WyvHNlEQ2RoLsww8B1eDvEM8IlvIx8JrMh3AavAaWUP6K9t8
J9dz07SuITA7dMUSi2gjXKIJLrEpH7pFFfzeyyCbb0N50jFmAhSKh0n4rcsXuG0A
OpJB/RLDWLKbJhGdICxzP5h26nFKE8sGEFAKtVOuzu1ekjTO1JB22KpTTxoWpazZ
24012 silly preinstall websocket@1.0.26
24013 info lifecycle websocket@1.0.26~preinstall: websocket@1.0.26
24014 silly preinstall web3-shh@1.0.0-beta.34
24015 info lifecycle web3-shh@1.0.0-beta.34~preinstall: web3-shh@1.0.0-beta.34
24016 silly preinstall web3-eth@1.0.0-beta.34
24017 info lifecycle web3-eth@1.0.0-beta.34~preinstall: web3-eth@1.0.0-beta.34
24018 silly preinstall web3-eth-personal@1.0.0-beta.34
24019 info lifecycle web3-eth-personal@1.0.0-beta.34~preinstall: web3-eth-personal@1.0.0-beta.34
24020 silly preinstall web3-net@1.0.0-beta.34
24021 info lifecycle web3-net@1.0.0-beta.34~preinstall: web3-net@1.0.0-beta.34
@jgrizzled
jgrizzled / gist:231aa1ca4d443142f00578d23c75d5cb
Created September 26, 2019 22:55
Thinkful JS Arrays CP 9
https://repl.it/@jgrizzled/Creating-arrays-drill
https://repl.it/@jgrizzled/Adding-array-items-drills
https://repl.it/@jgrizzled/Accessing-array-items-drill
https://repl.it/@jgrizzled/Array-length-and-access-drill
https://repl.it/@jgrizzled/Array-copying-I-drill
@jgrizzled
jgrizzled / Thinkful JS CP 10.txt
Created September 27, 2019 04:18
Thinkful JS CP 10
https://repl.it/@jgrizzled/min-and-max-without-sort-drill
https://repl.it/@jgrizzled/average-drill
https://repl.it/@jgrizzled/fizzbuzz-drill-js
@jgrizzled
jgrizzled / Thinkful JS CP11.txt
Created September 27, 2019 04:45
Thinkful Variable Scope Assignment
1. What is scope? Your explanation should include the idea of global vs. block scope.
Scope refers to the function or block level in which a particular a variable is defined. The global scope refers to variables defined at the top level of the program, I.E. not inside of any function or code block. Block scope refers to variable definitions contained in curly brackets { }, which are not accessible from outer/upper scopes and are deleted from memory upon completion of the code block or function.
2. Why are global variables avoided?
Use of global variables can excessively increase the complexity, unpredictability, and memory footprint of code. Functions whose output is purely determined by the input are easier to test and debug compared to functions whose behavior depends on unpredictable global variable state.
3. Explain JavaScript's strict mode
@jgrizzled
jgrizzled / Thinkful JS CP 12.txt
Created September 30, 2019 15:56
Thinkful JS Objects CP 12
https://repl.it/@jgrizzled/Object-creator-drill
https://repl.it/@jgrizzled/Object-updater-drill
https://repl.it/@jgrizzled/Self-reference-drill
https://repl.it/@jgrizzled/Deleting-keys-drill
@jgrizzled
jgrizzled / Thinkful JS CP 13.txt
Created September 30, 2019 16:52
Thinkful JS Objects CP 13
https://repl.it/@jgrizzled/Make-student-reports-drill
https://repl.it/@jgrizzled/Enroll-in-summer-school-drill
https://repl.it/@jgrizzled/find-by-id-drill
https://repl.it/@jgrizzled/validate-object-keys-drill
@jgrizzled
jgrizzled / quiz-wireframe-notes.txt
Last active October 16, 2019 01:34
Thinkful jQuery CP 8 - Quiz Wireframe Notes
Quiz Topic: Blockchains/Cryptocurrency
--- Quiz Questions ---
Q1: Which best describes a blockchain?
A1: A linked list
A2: A chronologically orderded ledger of blocks of data
A3: A decentralized currency
A4: A database
Answer: A2. A blockchain is a data structure which consists of blocks of data, such as transactions. Each block contains a reference to the previous block, such that it is guaranteed to have been created after the previous block, otherwise the reference to the previous block could not be created. This provides a good way to track transactions or state in a distributed network, with each block being a snapshot of time. Earlier history cannot be altered because that would alter the previous block references in every following block. Many decentralized cryptocurrency networks use blockchains to store the state of the transaction ledger.
@jgrizzled
jgrizzled / Thinkful Quiz App.txt
Created October 21, 2019 23:58
Thinkful Webapp Quiz Submission
Live site: https://jgrizzled.github.io/blockchain-quiz-app/
Github: https://github.com/jgrizzled/blockchain-quiz-app
@jgrizzled
jgrizzled / thinkful_portfolio_text.txt
Last active October 30, 2019 02:22
Thinkful Portfolio Text
Headline:
Hi, I'm Justin
Full stack web developer and blockchain enthusiast in Phoenix, AZ
Projects:
- Blockchain Quiz App
This browser-based quiz app tests your knowledge on blockchain fundamentals. It utilizes HTML5, CSS3, and jQuery to generate a responsive single-page web app for both mobile and desktop.
Github Repo: https://github.com/jgrizzled/blockchain-quiz-app
Live demo: https://jgrizzled.github.io/blockchain-quiz-app/