[#Script #Coding] Learn React 18 with Redux Toolkit – Full Tutorial for Beginners

Learn React 18 with Redux Toolkit – Full Tutorial for Beginners

By freeCodeCamp.org
Published: Mar 15, 2023


freeCodeCamp.org Learn how to use React version 18 and Redux Toolkit in this full course for beginners. React is a free and open-source front-end JavaScript library for building user interfaces based on components.

Course created by @CodingAddict

Source Code
React Tutorial: https://github.com/john-smilga/react-course-v3
Redux Toolkit: https://github.com/john-smilga/redux-toolkit-tutorial

    Contents

  • (00:00:00) Setup
  • (0:30:33) Folder Structure
  • (0:42:58) First Component
  • (0:53:25) Extensions and settings.json
  • (1:06:09) JSX
  • (1:20:21) Nest Components
  • (1:26:35) Booklist
  • (1:36:57) CSS
  • (1:47:31) Images
  • (1:55:31) JSX – CSS
  • (2:02:17) JSX – Javascript
  • (2:08:44) Props
  • (2:18:33) Props – Somewhat Dynamic Setup
  • (2:23:00) Access Props – Multiple Approaches
  • (2:27:44) Children Prop
  • (2:35:12) Simple List
  • (2:43:48) Proper List
  • (2:51:12) Key Prop
  • (2:57:20) Props – Options
  • (3:02:56) Events
  • (3:21:51) Form Submission
  • (3:25:35) Mind Grenade
  • (3:28:55) Component Feature
  • (3:34:00) React Data Flow
  • (3:39:42) Challenge
  • (3:48:51) ES6 Modules
  • (3:58:40) Local Images (src folder)
  • (4:04:25) More Challenges
  • (4:13:20) Deployment
  • (4:18:43) useState Hook
  • (5:48:19) useEffect Hook
  • (6:19:29) Multiple Returns
  • (7:28:02) Folder Structure
  • (8:27:07) Forms
  • (9:27:53) useRef Hook
  • (9:50:10) Custom Hooks
  • (10:06:20) Context API
  • (10:43:01) useReducer Hook
  • (11:26:39) Performance
  • (12:11:45) Redux Toolkit

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

[#Script #Coding] Python Reinforcement Learning using OpenAI Gymnasium – Full Course

Python Reinforcement Learning using OpenAI Gymnasium – Full Course

By freeCodeCamp.org
Published: Mar 21, 2023


freeCodeCamp.org Learn the basics of reinforcement learning and how to implement it using Gymnasium (previously called OpenAI Gym). Gymnasium is an open source Python library originally created by OpenAI that provides a collection of pre-built environments for reinforcement learning agents. It provides a standard API to communicate between learning algorithms and environments, as well as a standard set of environments compliant with that API.

Reinforcement learning is an area of machine learning concerned with how intelligent agents ought to take actions in an environment in order to maximize the notion of cumulative reward.

Google Colab Notebook (full tutorial code): https://colab.research.google.com/drive/1oNxRpRnht2Ogu5Id76YLLg_hkmwy-yKy?usp=sharing

Gymnasium documentation: https://gymnasium.farama.org/

Course developed by @EverythingTechWithMustaf
Mustaf on LinkedIn: https://www.linkedin.com/in/mustafa-esoofally-aab0501ab/

    Contents

  • (0:00:00) Introduction
  • (0:04:19) Reinforcement Learning Basics (Agent and Environment)
  • ((0:12:15) Introduction to OpenAI Gymnasium
  • (0:14:59) Blackjack Rules and Implementation in Gymnasium
  • (0:18:27) Solving Blackjack
  • (0:19:46) Install and Import Libraries
  • (0:23:19) Observing the Environment
  • (0:27:55) Executing an Action in the Environment
  • (0:33:01) Understand and Implement Epsilon-greedy Strategy to Solve Blackjack
  • (0:42:28) Understand the Q-values
  • (0:47:29) Training the Agent to Play Blackjack
  • (0:57:10) Visualize the Training of Agent Playing Blackjack
  • (1:04:34) Summary of Solving Blackjack
  • (1:09:57) Solving Cartpole Using Deep-Q-Networks(DQN)
  • (2:29:29) Summary of Solving Cartpole
  • (2:34:07) Advanced Topics and Introduction to Multi-Agent Reinforcement Learning using Pettingzoo

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

[#Script #Coding] Best Shortcut You Didn’t Know!!

Best Shortcut You Didn’t Know!!

By codeSTACKr
Published: Feb 15, 2023


codeSTACKr Code Tip of the Day
Do you ever need to go back up to some code you wrote earlier to copy a piece of it, then have to figure out where you were at just before that?

Just press Alt+LeftArrow, you’ll go right back to that previous cursor location.

You’re welcome!


Become A VS Code SuperHero Today: https://vsCodeHero.com

Join my Discord developer community: https://discord.gg/A9CnsVzzkZ





[#Script #Coding] JavaScript Tutorial – Create a Card Game

JavaScript Tutorial – Create a Card Game

By freeCodeCamp.org
Published: Dec 14, 2022


freeCodeCamp.org Improve your JavaScript skills by creating a basic card game with HTML and CSS.

    This tutorial not only covers creating a basic card game using JavaScript
    but also:

  • How to create dynamic user interactive code using vanilla JavaScript
  • Creating some animation effects
  • Responsive layout design using CSS grid, CSS FlexBox and media queries
  • How to dynamically change the positions of grid cells, so as to randomize the positions of the cards contained in a css grid using JavaScript,
  • localStorage functionality
  • And much More…

Code: https://github.com/GavinLonDigital/HuntTheAceJSGame

Gavin Lon created this tutorial. Check out his channel: @GavinLon

    Contents

  • (0:00:00) Introduction
  • (0:05:26) Getting Started
  • (0:07:00) Live Server Extension
  • (0:09:50) Create Cards – HTML
  • (0:14:44) Create the Game Play Grid
  • (0:19:55) Create Cards Dynamically – JS Code
  • (0:28:46) Initialise Card Positions
  • (0:34:39) Load Game and Start Game
  • (0:38:43) Stack Cards
  • (0:41:53) Flip Cards
  • (0:45:14) Shuffle Cards
  • (0:49:28) Deal Cards
  • (0:54:37) Choose Card
  • (1:16:56) Styling and Layout
  • (1:24:28) Animation
  • (1:32:39) Responsive Layout
  • (1:36:43) Local Storage

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

And subscribe for new videos on technology every day: https://youtube.com/subscription_cent…

[#Script #Coding] Open VS Code from Finder in macOS

Open VS Code from Finder in macOS

By codeSTACKr
Published: Mar 17, 2023


codeSTACKr Become A VS Code SuperHero Today: https://vsCodeHero.com

Join my Discord developer community: https://discord.gg/A9CnsVzzkZ

Want to quickly open a file or folder in VS Code from Finder in MacOS?

Add a quick action:
– Open the Shortcuts App
– Select “Quick Actions”
– Add a new action
– Change “Receive Any” to “Receive Files and Folders”
– From the right menu under Categories, choose Scripting and add “Run Shell Script”

Permissions may need to be added.
– Enter this script: open -n -b “com.microsoft.VSCode” –args “$*”
– For the Input choose Folder as the Type and Get the File Path
– Pass input: as arguments
– Name the Quick Action “Open with Code”

Now, when you right-click any folder or file in Finder, you’ll get this quick action to open it in VS Code.





[#Script #Coding] How to Make Money From Your Website Using Microtransactions

How to Make Money From Your Website Using Microtransactions

By freeCodeCamp.org
Published: Oct 24, 2022


freeCodeCamp.org Learn how to make money from your website without having to reply on third party advertisers or selling your users data by using the Interledger Protocol and microtransactions.

Ania Kubów developed this course. Check out her channel: https://www.youtube.com/c/AniaKub%C3%B3w

Sign up for Uphold: https://wallet.uphold.com/signup
Coil Chrome extension: https://chrome.google.com/webstore/detail…
Sign up for Coil: https://coil.com/auth/signup

Grant for the Web provided a grant to make this course possible. Grant for the Web is an Interledger Foundation program to boost open, fair, and inclusive standards and innovation in Web Monetization.

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

[#Script #Coding] Best VS Code Feature! Never Lose Your Place!

Best VS Code Feature! Never Lose Your Place!

By codeSTACKr
Published: Jan 30, 2023


codeSTACKr Become A VS Code SuperHero Today: https://vsCodeHero.com
Join my Discord developer community: https://discord.gg/A9CnsVzzkZ

Code Tip of the Day
When you work with large chunks of code, it’s easy to get lost.
With sticky scrolling enabled, the top of the editor will show you your current scope.
And you can click on the top layer to go back to the top of that section.
It works in many file types like HTML, JavaScript/TypeScript, CSS, md, package.json, and many more.


Tools I use:
codeSTACKr Theme: https://marketplace.visualstudio.com/items?itemName=codestackr.codestackr-theme
STACKr Code Font (Exclusive to my VS Code Course – https://vsCodeHero.com)
SuperHero Extension Pack: https://marketplace.visualstudio.com/items?itemName=codeSTACKr.superhero-extensions


Show support!
PayPal: https://paypal.me/codeSTACKr


Watch Next:
Playlist: Web Development For Beginners – https://www.youtube.com/watch?v=Ez4yHS2dsN8&list=PLkwxH9e_vrAJ0WbEsFA9W3I1W-g_BTsbt


Connect With CodeSTACKr:
Website: https://www.codestackr.com
Twitter: https://twitter.com/codeSTACKr
Instagram: https://instagram.com/codeSTACKr
Facebook: https://facebook.com/codeSTACKr

[#Script #Coding] Building Apps from a Business Perspective – App Product Management Complete Course

Building Apps from a Business Perspective – App Product Management Complete Course

By freeCodeCamp.org
Published: Dec 06, 2021


freeCodeCamp.org Learn to turn your app solution into a reality. This course is for leaders, entrepreneurs and software developers.

Course developed by Shad Sluiter. Check out his YouTube: @shadsluiter

    CONTENTS:

  • 0:00:00 Course Introduction
  • 0:03:14 Unit 1 – Motivations for building an app
  • 0:06:44 Unit 1.1 What is the value proposition of your app?
  • 0:12:40 Do you need a web app or just a better website?
  • 0:15:14 Categories of Apps – which app category is easiest to compete in?
  • 0:34:24 Unit 1.2 Identify the problem you are trying to solve with your app.
  • 0:36:19 Candy, vitamins or addictive painkiller?
  • 0:41:59 Fulfillment, recognition, security
  • 0:42:54 The Five Whys
  • 0:49:58 Unit 1.3 How to discover a niche in the marketplace
  • 0:52:59 Follow popular trend
  • 0:56:39 Add a twist
  • 0:58:21 Your own expertise
  • 0:59:44 Problems in existing competition
  • 1:04:34 Unit 1.4 Listening to users
  • 1:11:44 Users that exist in the market
  • 1:14:39 Get user feedback
  • 1:24:54 Idea 2.0
  • 1:28:17 Homework (Airbnb and Lyft, App Annie and Sensor Tower, Write an application plan)
  • 1:48:44 Unit 2 UI, UX, MVP design
  • 1:56:34 How to create user stories
  • 2:02:14 Planning for an MVP
  • 2:05:24 Unit 2.2 Designing an effective UI user interface
  • 2:07:04 On boarding new users
  • 2:09:44 The Google UI Case Study
  • 2:10:14 The Photoshop Adobe UI negative Case Study
  • 2:14:19 Effective UI elements
  • 2:17:20 Don’t Make Me Thing Steve Krug
  • 2:19:34 UI design templates
  • 2:20:34 Design for your target audience
  • 2:22:39 Unit 2.3 How to design an effective UX User Experience
  • 2:23:24 UX is where Design strategy and Technology intersect
  • 2:27:14 Application Flow
  • 2:29:34 Measuring Conversion Rates
  • 2:30:14 UX outside of the app
  • 2:31:04 The User Empathy Map
  • 2:35:39 Six principles for a positive UX
  • 2:37:34 Unit 2.4 The MVP
  • 2:38:54 The Lean Startup MVP concept by Eric Ries
  • 2:39:39 Planning for future versions of your app
  • 2:40:34 What is NOT an MVP
  • 2:42:44 Zappos MVP Case Study
  • 2:43:44 The MVP design pyramid
  • 2:45:44 The purpose of an MVP
  • 2:46:44 Keeping the cost of an MVP low
  • 2:50:36 Homework (App Design Case Studies, Develop User Stories, Interactive UI prototype)
  • 3:11:09 Unit 3.1 Marketing and Monetization for an App
  • 3:12:34 The BMC Case Study
  • 3:27:04 Unit 3.2 Monetization Strategies of Apps
  • 2:28:29 Apple App Store vs Google Play Store revenue
  • 3:31:14 iOS vs Android user value per customer
  • 3:32:19 iOS vs Android market share in various countries
  • 3:44:14 Unit 3.3 Marketing Your App
  • 3:53:09 Unit 3.4 Dealing with Investors
  • 4:04:44 Homework 3.1 Build a BMC for your app
  • 4:07:06 Unit 4.1 Building Customer Loyalty
  • 4:08:04 Why Customers Abandon Apps?
  • 4:09:49 First-to-Mind solution
  • 4:10:59 Compulsion
  • 4:11:04 Morality of Addictive Apps
  • 4:13:04 The HOOK app addictive model
  • 4:32:49 Homework (Understanding Hook, Applying Hook)
  • 4:38:54 Unit 5.1 Choosing the Right Tools
  • 4:48:19 Unit 5.2 Nine Companies Who Nailed their App
  • 4:59:31 Unit 5.3 Development Languages and Cross Platform Tools
  • 5:18:58 Homework (Compare Dev Tools, Recommend a Development Solution)
  • 5:27:34 Unit 6.1 Full Stack Considerations
  • 5:28:20 Choosing a Database Backend
  • 5:29:14 SQL
  • 5:31:34 noSQL
  • 5:35:09 SQL vs noSQL
  • 5:44:04 Graph Database
  • 5:50:09 Full Text Database
  • 5:56:34 Vertical Scaling
  • 5:59:14 Horizontal Scaling
  • 6:01:54 Data Duplication in Distributed Databases
  • 6:04:44 SQL Shards
  • 6:13:22 Homework (Recommend Database Solutions, Explore API services)
  • 6:20:14 Unit 7.1 Hiring the Development Team
  • 6:20:54 Four Roles of a Software Development Team
  • 6:21:54 Product Manager
  • 6:24:19 Product Designer
  • 6:29:24 Front End Developer
  • 6:30:29 Back End Developer
  • 6:36:04 Unit 7.2 Mobile vs Web Development
  • 6:47:59 Unit 7.3 Agile Team Management
  • 6:48:54 SDLC Agile vs Waterfall
  • 6:49:44 What is Waterfall Development?
  • 6:50:59 What is Agile Scrum Methodology?
  • 6:56:42 The Product Backlog
  • 6:58:04 Spring Planning
  • 6:58:39 Sprint Backlog
  • 6:58:59 What is a Sprint?
  • 6:59:42 Product Increment
  • 7:00:29 Daily Scrum
  • 7:01:54 Sprint Review and Retrospective
  • 7:03:23 Unit 7.4 How to Write a Job Requisition
  • 7:19:04 Homework (Team Roles, Internal Job Requisition, External Job Posting)
  • 7:32:24 Unit 8.1 Future Trends in Mobile Development
  • 7:50:22 Homework (Review Past Predictions, Current State of Development Tools, Future Mobile Tech)

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

And subscribe for new videos on technology every day: https://youtube.com/subscription_cent…

[#Script #Coding] Best VS Code Extension for REST API – No More Postman

Best VS Code Extension for REST API – No More Postman

By codeSTACKr
Published: Dec 23, 2022


codeSTACKr Thunder Client is a lightweight Rest API for VS Code.

It’s a great alternative to Postman or Insomnia since you can run your queries directly from VS Code instead of yet another application.

After you install the extension, you’ll see a new tab on the sidebar.

From there, you can create a new request. Enter the URL along with any the type of request it is and any payloads. Then run it.

You’ll see the results right here inside VS Code!


Become A VS Code SuperHero Today: https://vsCodeHero.com

Join my Discord developer community: https://discord.gg/A9CnsVzzkZ





[#Script #Coding] Web Development with Python Tutorial – Flask & Dynamic Database-Driven Web Apps

Web Development with Python Tutorial – Flask & Dynamic Database-Driven Web Apps

By freeCodeCamp.org
Published: Feb 16, 2023


freeCodeCamp.org Learn how to develop Dynamic Database-Driven Web Apps with Python, Flask, and MySQL. This course is broken up into two parts. In part one, you will learn how to build and deploy a site using the Flask Python web framework. In part two, you will connect the Flask application from the first part to a cloud MySQL database and learn how to deploy a production-ready database-driven web application.

Aakash N S created this course.
Submit your project & earn a certificate: https://jovian.com/learn/web-development-with-python-and-flask
Check out Jovian’s YouTube channel: https://youtube.com/@jovianhq

Notes & references links:
Part 1: https://jovian.com/aakashns/web-development-with-python
Part 2: https://jovian.com/aakashns/database-driven-web-applications

    Contents

    • Part 1

    • (0:00:00) Introduction
    • (0:02:07) 1.1 Project Setup & Flask Basics
    • (0:22:25) 1.2 Building Web Pages using HTML
    • (0:40:57) 1.3 Styling with CSS & Bootstrap
    • (1:08:25) 1.4 Dynamic Data using Templates
    • (1:27:22) 1.5 Deploying to the Cloud with Render
    • (1:42:39) 1.6 Functional and Aesthetic Improvements
    • (1:58:44) 1.7 Summary & Future Work
    • Part 2

    • (2:04:19) Database-Driven Web Applications
    • (2:07:24) 2.1 Project Setup & Deployment
    • (2:21:44) 2.2 Cloud MySQL Database Setup
    • (2:36:20) 2.3 DB Connection with SQLAlchemy
    • (2:56:22) 2.4 Display DB Data on Web Page
    • (3:20:04) 2.5 Dynamic Database-Driven Pages
    • (3:49:23) 2.6 HTML Form for Applications
    • (4:15:37) 2.7 Saving Applications to DB
    • (4:26:23) 2.8 Summary & Future Work
    • (4:37:50) Conclusion

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

And subscribe for new videos on technology every day: https://youtube.com/subscription_cent…

Proudly powered by WordPress
Creative Commons License
EricBrooks.Com® is licensed under a Creative Commons License.

Disclaimer: The views expressed herein are solely those of Eric Brooks. They do not necessarily reflect those of his employers, friends, contacts, family, or even his pets (though my cat, Puddy, seems to agree with me on many key issues.). In accordance to my terms of use, you hereby acknowledge my right to psychoanalyze you, practice accupuncture, and mock you incessantly with every visit. As the user, you also acknowledge that the author has been legally declared a "Problem Adult" by the Commonwealth of Pennsylvania, and is therefore not responsible for any of his actions. ALSO, the political views and products advertised on this site may/may not reflect the views of Puddy or myself, so please don't take them as an endorsement. We just need to eat.


Connect