Skip to content

Commit c77028f

Browse files
committed
Adding more stuff about python
1 parent 223883d commit c77028f

File tree

9 files changed

+404
-13
lines changed

9 files changed

+404
-13
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Node.JS resources for learning
2+
3+
There are a number of resources to learn NodeJS. My notes on NodeJS were not meant to explicitly be tutorials.
4+
5+
In my experiences these resources I have reviewed to be good.
6+
7+
<https://learn.microsoft.com/en-us/training/modules/intro-to-nodejs/> NodeJS on VSCode for Windows tutorial by Microsoft
8+
9+
<https://www.youtube.com/watch?v=RLtyhwFtXQA> freeCodeCamp Node.JS tutorial video
10+
11+
<https://www.youtube.com/watch?v=Oe421EPjeBE> freeCodeCamp's Node.JS and Express Full course (8 hours but has chapters)
12+
13+
<https://www.freecodecamp.org/news/get-started-with-nodejs/> freeCodeCamp's tutorial website to go along with the above video
14+
15+
<https://www.youtube.com/watch?v=qwfE7fSVaZM> freeCodeCamp's 10 hour NodeJS / Express course with 4 projects.
16+
17+
<https://www.youtube.com/watch?v=RLtyhwFtXQA> freeCodeCamp's 3 hour Full Tutorial for NodeJS.
18+
19+
<https://nodejs.org/en/learn/getting-started/introduction-to-nodejs> NodeJS's own introduction / tutorial
20+
21+
<https://github.com/nodejs/examples/blob/main/README.md#examples> NodeJS's own examples from the above webpage/website
22+
23+
<https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/Introduction> MDN/Mozilla's learning NodeJS and Express
24+
25+
<https://expressjs.com/en/starter/installing.html> ExpressJS getting started guide to get express going
26+
27+
<https://www.youtube.com/watch?v=TlB_eWDSMt4> Programming with Mosh's Learn NodeJS Tutorial (1hr)
28+
29+
<https://www.youtube.com/watch?v=w-7RQ46RgxU&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp&index=1> NodeJS Playlist (37 videos less than 10 mins each) by NetNinja
30+
31+
<https://www.youtube.com/watch?v=zb3Qk8SG5Ms&list=PL4cUxeGkcC9jsz4LDYc6kv3ymONOKxwBU&index=1> Another NodeJS crash course by NetNinja
32+
33+
<https://www.youtube.com/playlist?list=PLC3y8-rFHvwh8shCMHFA5kWxD9PaPwxaY> NodeJS Tutorial by Codevolution
34+
35+
<https://www.youtube.com/watch?v=fBNz5xF-Kx4> Traversy Media's NodeJS course (updated 2024 version here <https://www.youtube.com/watch?v=32M1al-Y6Ag>)
36+
37+
There is also a subreddit <https://www.reddit.com/r/node/>
+22-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
`npm outdated`
2-
`npm list`
3-
`npm ls`
4-
`npm update`
1+
# Using npm
2+
3+
`npm outdated` -- Returns list of the outdated installed packages from your package.json file
4+
`npm list` --
5+
`npm ls` -- shows a list of installed packages.
6+
`npm update` -- Updates the packages listed in package.json
7+
`npm init` -- Initializes a new node.js project
8+
`npm run <script_name>` -- runs whatever script is in 'scripts` in package.json
9+
`npm cache clean --force` forces npm to clear its cache.
10+
`npm ci` -- Installs dependencies directly from package-lock.json or npm-shrinkwrap.json, ignoring package.json
11+
`npm audit` scans your project for known security vulnerabilities in your dependencies but no changes applied.
12+
`npm audit fix`
13+
`npm audit fix --force`
14+
`npm version <new_version>` -- updates the semver version listing in your package.json to whatever <new_version> you specify.
15+
`npm i <package_name` -- short version of npm install.
16+
`npm install <package_name>` installs the package specified.
17+
`npm install -g <package_name>` Installs a package globally, making it available across all your Node.js projects on your system
18+
`npm uninstall <package_name>` removes a ppackage and its update from package.json
19+
`npm view <package_name>`
20+
`npm prune <package_name>`
21+
`npm show` -- similar to npm view
22+

Python/debugging-python.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22

33
Here are some tips for debugging Python.
44

5+
6+
## VSCode debugging Python
7+
8+
VSCode now uses `debugpy` for debugging, so `pip install debugpy`
9+
Set breakpoints by clicking in the gutter left of the line numbers.
10+
To debug, you need to have a launch.json file.
11+
Open the Run view by clicking on the Run icon in the Activity Bar on the side, or press Ctrl+Shift+D.

WebDevelopment/aria-accessibility.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# About using aria in Web Development projeccts.
2+
3+
The most commonly used ARIA attributes are those that help to improve the accessibility of dynamic content, interactive widgets, and complex user interfaces. These attributes are particularly useful for making web applications more accessible to users with disabilities, especially those who rely on assistive technologies like screen readers. There are tons of these attributes. This is not intended to be a complete list of attributes.
4+
5+
Here's a list of the most commonly used ARIA attributes.
6+
7+
aria-label: Provides a text description of an element, which is useful for elements that do not have a visible label. It's commonly used for form inputs, buttons, and other interactive elements.
8+
9+
aria-labelledby: Points to the ID of another element that labels the current element. This is useful for providing a label for elements that do not have a visible label.
10+
11+
aria-describedby: Points to the ID of another element that describes the current element. This is useful for providing additional information about an element.
12+
13+
aria-hidden: Indicates whether an element is exposed to an accessibility API. It's used to hide content from assistive technologies.
14+
15+
aria-readonly: Indicates whether an element is read-only. This is useful for form elements that cannot be edited by the user.
16+
17+
aria-required: Indicates that user input is required on the element before submission. This helps assistive technologies inform users about mandatory fields.
18+
19+
aria-disabled: Indicates whether an element is disabled. This is useful for form elements that are not interactable.
20+
21+
aria-checked: Indicates the checked state of a checkbox or option element. This is useful for form elements that can be checked or unchecked.
22+
23+
aria-expanded: Indicates whether a section has expanded content. This is useful for collapsible sections or accordions.
24+
25+
aria-pressed: Indicates whether a button is pressed. This is useful for toggle buttons or checkboxes.
26+
27+
aria-selected: Indicates whether an element is selected. This is useful for list items, options, and other elements that can be selected.
28+
29+
aria-multiselectable: Indicates whether an element that has the role attribute set to listbox, tree, or grid has multiple items that can be selected at once.
30+
31+
aria-sort: Indicates whether an element contains sort controls. This helps users understand how to sort the content of a table or list.
32+
33+
aria-valuemin, aria-valuemax, aria-valuenow, aria-valuetext: These attributes are used with range inputs like sliders and progress bars to provide information about the current value, minimum value, maximum value, and the text equivalent of the current value.
34+
35+
aria-live: Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. This is crucial for dynamic content that changes over time.

WebDevelopment/beginning-webdev.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ The basic tags are:
4444

4545
The tags used to structure the page(s) in HTML are called semantic tags. These are block level elements
4646

47-
<header>
48-
<footer>
49-
<aside>
50-
<article>
51-
<section>
52-
<nav>
53-
<main>
47+
`<header>`
48+
`<footer>`
49+
`<aside>`
50+
`<article>`
51+
`<section>`
52+
`<nav>`
53+
`<main>`
5454

5555
## Projects and what to make
5656

WebDevelopment/html.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ These are some of the things I have learned doing web development and creating .
1212

1313
Hopefully this will help you with some baseline knowledge, that may at least help you debug some issues.
1414

15-
## HTML 5 symantic tags
15+
## HTML 5 semantic tags
1616

1717
`<nav>`
1818
`<aside>`

0 commit comments

Comments
 (0)