Adapted from a lesson I wrote/taught at Turing: http://frontend.turing.io/lessons/module-2/test-driven-development.html
- Something
- Look at the structure of a test and the testing lifecycle
- Write some tests!
- Resources
| ## Cody at Turing - Spring 2018 | |
| - Developed curriculum on Javascript fundamentals, test driven development, and React testing | |
| - Taught computer science through lecture and 1-1 pairings with students | |
| - Lead group seminars on soft skills of engineering | |
| - Advised students on resumes and held career advice sessions | |
| - Created starter-kit application for national non-profit empowering girls learning to code |
| # Websockets | |
| ## Notes | |
| Delete word backward: terminal -> pref -> profiles -> keyboard -> use option as meta | |
| also ctrl a, e | |
| ## Agenda | |
| - Have students think about what `real time` means | |
| - Explain the HTTP req/res cycle |
| # Performance | |
| http://frontend.turing.io/lessons/module-4/intro-to-performance.html | |
| ## Agenda | |
| - What are some strategies you use to make your websites performant? | |
| - Take five minutes to think about this scenario: | |
| - I load a website. It's slow. Why's it slow? | |
| - Then, have students question me and investigate/troubleshoot the problem |
| # Localization & Internationalization | |
| http://frontend.turing.io/lessons/module-4/localization.html | |
| ## Agenda | |
| - What's the difference between localization and internationalization? | |
| - Internationalization -> localization | |
| - What's a Locale | |
| - Go thru the lesson |
Adapted from a lesson I wrote/taught at Turing: http://frontend.turing.io/lessons/module-2/test-driven-development.html
Raw notes are at the top
Human-readable blog post is in the middle
llbuild is the build system used by xcode and the swift package manager.
| import math | |
| class ImageSizer: | |
| def __init__(self): | |
| pass | |
| @classmethod | |
| def INPUT_TYPES(s): | |
| return { | |
| "required": { |
| # ComfyUI custom node template | |
| # | |
| # Copy this template and paste it into a new file at ComfyUi/custom_nodes/RENAMEME_NODE_CLASS_NAME.py | |
| # Rename each of the items that start with 'RENAMEME_' (including the file name) | |
| # | |
| # For more information on each of these fields, see the comments of the example_node.py inside of ComfyUI: | |
| # https://github.com/comfyanonymous/ComfyUI/blob/master/custom_nodes/example_node.py.example | |
| # | |
| # Names | |
| # |