[#Script #Coding] Oh No Vim in VS Code

Oh No Vim in VS Code

By codeSTACKr
Published: Mar 29, 2023


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

VIM, oh no!
How to exit vim.


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] A Day in the Life of freeCodeCamp U.S. Staff (A rare in-person meeting)

A Day in the Life of freeCodeCamp U.S. Staff (A rare in-person meeting)

By freeCodeCamp.org
Published: Mar 07, 2023


freeCodeCamp.org This web programming course from Harvard University picks up where CS50x leaves off. It dives more deeply into the design and implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React, and Bootstrap. Topics include database design, scalability, security, and user experience. You will learn how to write and use APIs, create interactive UIs, and leverage cloud services like GitHub and Heroku.

Slides, source code, and more at
https://cs50.harvard.edu/web/2020/

Brian Yu teaches this course.

Watch the original CS50x course: https://youtu.be/8mAITcNt710

    Course Contents

  • (00:00:29) Introduction
  • (00:02:42) Lecture 0: HTML, CSS
  • (02:06:14) Lecture 1: Git
  • (02:59:29) Lecture 2: Python
  • (04:07:10) Lecture 3: Django
  • (05:46:15) Lecture 4: SQL, Models, and Migrations
  • (07:40:21) Lecture 5: JavaScript
  • (09:31:46) Lecture 6: User Interfaces
  • (11:12:01) Lecture 7: Testing, CI/CD
  • (12:45:59) Lecture 8: Scalability and Security

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] Use ChatGPT to Build a RegEx Generator – OpenAI API Low Code Course

Use ChatGPT to Build a RegEx Generator – OpenAI API Low Code Course

By freeCodeCamp.org
Published: Mar 30, 2023


freeCodeCamp.org Learn how to build a dashboard that generates RegEx using the OpenAI API and a low code tool called Retool. The dashboard allows users to input a string, write a description of the desired RegEx, and generate the code to transform the string accordingly.

You can find the iframe code here: https://github.com/kubowania/regex-openai

This course was created by @AniaKubow.

Retool provided a grant to make this course possible. Learn more about Retool: https://retool.com

    Contents

  • (0:00) Introduction
  • (2:36) Writing our own regex code
  • (5:06) Creating the header element
  • (8:11) Creating the text area
  • (11:35) How to create a custom code editor
  • (16:32) Creating the new button
  • (19:08) Setting up the sidebar
  • (20:58) Configuring the open api api
  • (22:51) The body of the example example
  • (24:58) Setting up the code

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] 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

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