Techedemic
Techedemic
  • 6
  • 31 640
Top 10 JavaScript 'How To' Results From Google Autocomplete
Google's autocomplete tries to be smart and show you the most relevant search queries as you type. In this video, I take a look at the answers to questions that come up when you type "JavaScript How To ..."
These results can be different depending on when and who searches, so it's likely to be different when you watch this video. Nevertheless, we cover some basic topics that you will often come accross in your JavaScript journey.
0:00 Intro
02:26 How to call a function
08:49 How to generate a random number
12:43 How to add to an array
19:14 How to remove an item from an array
23:09 How to convert string to number
34:42 How to print
36:55 How to access an object property
39:12 How to iterate through an object
47:24 How to reverse a string
51:16 How to concatenate strings
54:44 Outro
มุมมอง: 63

วีดีโอ

NodeJS and Docker - Comparing image sizes
มุมมอง 545ปีที่แล้ว
In this video, we look at the different image sizes for a NodeJS Docker container depending on which base image you use. Repo link - github.com/techedemic/nextjs-cloudrun-app Special thanks to Liran Tall's post on Snyk.io - snyk.io/blog/choosing-the-best-node-js-docker-image/ Feel free to request videos on topics that might interest you. I like making videos related to NodeJS/TypeScript/React/M...
Deploying NextJS to Google CloudRun using Github Actions
มุมมอง 10Kปีที่แล้ว
A simple guide on deploying your NextJS app to Google Cloud platform using Cloud Run and Github Actions. Repo link - github.com/techedemic/nextjs-cloudrun-app Feel free to request videos on topics that might interest you. I like making videos related to NodeJS/TypeScript/React/MySQL-MariaDB-PostgreSQL/Docker/Cloud/etc Thanks so much for watching. Please like and subscribe
NodeJS and environment variables
มุมมอง 1682 ปีที่แล้ว
A short video explaining the basics of environment variables in NodeJS as well as how to use dotenv to simplify things. Code can be found here: github.com/techedemic/env_vars If you have any specific requests for videos, feel free to ask in the comments and I'll see what I can whip up. Take care!
ip addr and ip link - Prettier output!
มุมมอง 1.9K3 ปีที่แล้ว
Trusty old 'ifconfig' is gone from latest releases of Ubuntu (and some other flavours of Linux). Instead, like our Mac friends, us Linux guys are left with the `ip`, and by extention `ip addr` and `ip link` commands to get some info on our network interfaces. The default output is ugly and messy, however, and just using a few simple cli switches makes it far easier on the eye.
Simple API using NodeJS, Express and MariaDB
มุมมอง 19K3 ปีที่แล้ว
A simple, hands-on video to show you how to use NodeJS, Express and MariaDB together. Code can be found here -github.com/techedemic/node_express_maria

ความคิดเห็น

  • @dnzkrblt
    @dnzkrblt 6 วันที่ผ่านมา

    This is exactly the video I was looking for.

  • @tuncaysonmez7734
    @tuncaysonmez7734 3 หลายเดือนก่อน

    great implementation.

  • @martin17521596
    @martin17521596 6 หลายเดือนก่อน

    I had to implement github actions in the project and this video helped me a lot with the permissions issue. thanks from Chile

  • @Mannoeu
    @Mannoeu 8 หลายเดือนก่อน

    amazing explanation, thank you!

  • @tsykin
    @tsykin 9 หลายเดือนก่อน

    Very helpful! I would appreciate if you would make more videos on this topic, specifically about environment variables (how to set them up)

  • @sportsplanetx5832
    @sportsplanetx5832 9 หลายเดือนก่อน

    great sir

  • @nicolasalexandre8951
    @nicolasalexandre8951 9 หลายเดือนก่อน

    topzera vlw

  • @crazycode8956
    @crazycode8956 10 หลายเดือนก่อน

    Very useful bro <3 any solutions to reduce the image size ?

  • @josuer4675
    @josuer4675 10 หลายเดือนก่อน

    28:00

  • @BalajiSriraman
    @BalajiSriraman 10 หลายเดือนก่อน

    Nice Video Dude

  • @migaelhartzenberg2037
    @migaelhartzenberg2037 11 หลายเดือนก่อน

    I like your teaching style! and thanks for the little gems on making a dev's life easier (rectangle etc...). Thanks for the video. A few ideas for another video: 1) You mentioned the image size once build can become too big and one should make it smaller. Can you show us how to make an image's size smaller? especially with nextjs / react etc... 2) Can you perhaps show us how to deploy from docker to Google Cloud Kubernetes with CI/CD?

  • @gelsonmatavela
    @gelsonmatavela ปีที่แล้ว

    Please, more videoss like that.... You're verry good coder, ... One love from Mozambique 🇲🇿

  • @Jon-ww5qs
    @Jon-ww5qs ปีที่แล้ว

    worked like a charm. thank you very much for this

  • @rahul-thakur
    @rahul-thakur ปีที่แล้ว

    Does it support ISR?

  • @diegopaguay6145
    @diegopaguay6145 ปีที่แล้ว

    24:00 - 26:00 - create the service account. That's all i needed! thanks!

  • @kaylalin8077
    @kaylalin8077 ปีที่แล้ว

    thank you so much!!

  • @teachkhmerbinary
    @teachkhmerbinary ปีที่แล้ว

    fast and on target

  • @runner4digits
    @runner4digits ปีที่แล้ว

    Thank u a lot ❤ You definitely have a talent of teaching, describing difficult and complex things in simple way!

  • @brunoe6604
    @brunoe6604 ปีที่แล้ว

    Thank you!!!

  • @cos-ibeuchechukwu9398
    @cos-ibeuchechukwu9398 ปีที่แล้ว

    thanks for this. it helped alot.

  • @shubhamberde-fg4ez
    @shubhamberde-fg4ez ปีที่แล้ว

    nice it's helpful

  • @quickhand9246
    @quickhand9246 ปีที่แล้ว

    Hi there! Just went through this video thank you for the very thorough tutorial. Just FYI the Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client is caused by trying to set a response status header after it is already sent. (ex. res.status(xxx) is used twice in the same function). Well done anyway!

    • @techedemic
      @techedemic ปีที่แล้ว

      Thanks for the info!

  • @matthewrogers4282
    @matthewrogers4282 ปีที่แล้ว

    There are so many articles and walkthroughs on this exact process, but none are as clear and detailed as your video. Thank you!

    • @techedemic
      @techedemic ปีที่แล้ว

      Glad it was helpful!

  • @ItTeachTech
    @ItTeachTech ปีที่แล้ว

    Nice Video .. I appreciate you..

  • @actuallyisjoha
    @actuallyisjoha ปีที่แล้ว

    Thanks, helped me a lot!

    • @techedemic
      @techedemic ปีที่แล้ว

      Glad it helped!

  • @alitonoliveira1700
    @alitonoliveira1700 ปีที่แล้ว

    Excelent! Some tutorials also include the copies below and I am not sure whether is necessary or not. COPY --from=builder /app/public ./public COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static

    • @techedemic
      @techedemic ปีที่แล้ว

      Yeah I wonder. I didn't need to use it in the case of this build, but to be fair, it's an 'out the box' NextJS app. Perhaps once you have a bunch of routes/pages/etc the permissions become a problem. Or there's some other reason .. Could you link one of these tutorials perhaps? I'd like to see if there is some context I'm missing.

  • @TerrorByteTW
    @TerrorByteTW ปีที่แล้ว

    I've been manually deploying my code to a Cloud VM using "git pull", and any secrets I've been having to manually upload/update. I've seen web tutorials explaining how to do things this way, but this is a much nicer explanation! I'll have to figure out how to do CI/CD with my secrets since they're kept in a separate file ignored by Git, but other than that this is an incredible tutorial. Thanks so much!

    • @tsykin
      @tsykin 9 หลายเดือนก่อน

      Have you figured out how to deploy with secrets? I am looking for that as well

  • @alitonoliveira1700
    @alitonoliveira1700 ปีที่แล้ว

    Awesome content! I am curious to know about docker image optimization (image size less than 400 mb on your video) and about the load balancer instead of allowing not authorized requests.

    • @techedemic
      @techedemic ปีที่แล้ว

      Nice! Was hoping someone would want that. I'll create video dedicated to that topic specifically .. watch this space 😉

    • @alitonoliveira1700
      @alitonoliveira1700 ปีที่แล้ว

      @@techedemic Some people say that alpine is not recommended for production and instead we should make multistage building but multistage is not as simple as we think.

    • @techedemic
      @techedemic ปีที่แล้ว

      Have a look at th-cam.com/video/EMd6TcQxgw0/w-d-xo.html

  • @noname-dl4qu
    @noname-dl4qu ปีที่แล้ว

    Your Video helped me very much and i like how you explained everything! i hope you keep doing Videos like this bec. i can follow the steps better as if i'm reading it! i will try this with sequelize, but if this does not work i'm gona stick to your method. oh i cant write down my relief your video triggered in me

    • @techedemic
      @techedemic ปีที่แล้ว

      Glad you liked it! I'm working on something new.... out soon 😉

  • @muhammadsuleman7281
    @muhammadsuleman7281 2 ปีที่แล้ว

    love you sir

  • @Kank2888u
    @Kank2888u 2 ปีที่แล้ว

    This was a very well done tutorial. Thanks. I was also stuck when the .env file was read :/. Took some time but managed to figure it out.

  • @IsusVonBier
    @IsusVonBier 2 ปีที่แล้ว

    I'm getting "Do not know how to serialize a BigInt" response from post on register. Pasted your code from github just in case, same thing. Can't figure out why, even tried with 'body-parser'. Any ideas?

    • @Dm4hero
      @Dm4hero 2 ปีที่แล้ว

      It's because it's receveing something that cannot parse into a json. If you don't care about the view of the response you can use res.status(200) without .json(....)

  • @tastypatrick2903
    @tastypatrick2903 2 ปีที่แล้ว

    What exactly do you use Express for? Edit: All I know is for API endpoints

    • @techedemic
      @techedemic 2 ปีที่แล้ว

      Express is a framework for handling http(s) based requests. In it's simplest form, it handles the typical HTTP GET, POST, PUT, DELETE methods for you, but it supports middleware which means there is an vast array of utilities you can include as part of your express setup. Things like PassportJS (for authentication) is an example of a middleware library you can include with ExpressJS. Yes, node does have http/s functionality baked in, but Express is more comprehensive functionality wise and simplifies things tremendously. Other frameworks similar to express include Koa. I hope this answers your question?

  • @فيصلالراوي-ع1ج
    @فيصلالراوي-ع1ج 2 ปีที่แล้ว

    Great and thank you from Morocco

  • @Faskosu
    @Faskosu 2 ปีที่แล้ว

    Awesome video, I'm not a native English speaker and I could understand everything, also, loved the organic troubleshooting process, made me feel a lot better about my programming and not getting everything first try haha

    • @techedemic
      @techedemic 2 ปีที่แล้ว

      Yeah the false pretence that everything "just works" is what sometimes puts people off because they don't get it right as easily as some videos make it look. Glad you liked it :)

  • @wmm007
    @wmm007 3 ปีที่แล้ว

    Thank you! This is one of the best tutorials on TH-cam that I have encountered across multiple programming languages. Excellent comprehensive presentation style in my opinion 👍 👍 Well done.

    • @techedemic
      @techedemic 3 ปีที่แล้ว

      Thanks man! Comments like these means a lot and inspires me to make more...

  • @gillesmcdonald5299
    @gillesmcdonald5299 3 ปีที่แล้ว

    Nice vidéo.. Please what theme and plugins you use for your VScode..? Thanks

    • @techedemic
      @techedemic 3 ปีที่แล้ว

      Theme is marketplace.visualstudio.com/items?itemName=wesbos.theme-cobalt2 Plugins... ooph..I use a lot, but the ones I cannot live without include:"ESLint", "Live Share", "Prettier"

    • @gillesmcdonald5299
      @gillesmcdonald5299 3 ปีที่แล้ว

      @@techedemic perfect thanks

  • @brianhayes1105
    @brianhayes1105 3 ปีที่แล้ว

    Very Nice! I'm a beginner and just starting out with the essentials of Javascript, NodeJS, and SQL databases like MariaDB and PostgreSQL. Your tutorial was a very nice introduction to querying and creating a basic database using NodeJS, ExpressJS, and MariaDB. It occurred to me that in production your .env-local has your database password in plain text. Is there a simple way to encrypt this file so that it requires a password to open it? I'm also running linux, but am relatively new to it and don't know the basics of this. Again, thank you for a fantastic tutorial!

    • @HendriSchoeman
      @HendriSchoeman 3 ปีที่แล้ว

      Remember, the idea is not to use the '.env-local' method in production. In production, these values should be passed via the command line as ENVIRONMENT VARIABLES. As such, the values should come from the environment. There are many ways to achieve this. For the sake of this video and for local development, storing these values in clear text should not be an issue. Also, don't push the `.env-local` file to git. I did it in this case to give you full access to the source coude after the fact but it's not good practice to do so in 'real life' You just gave my an idea for a topic for my next video :).. "Environment Variables in Node"

  • @fresh218
    @fresh218 3 ปีที่แล้ว

    Your english pronunciation is fine as it is, I understood everything perfectly!

  • @sushantkumar3861
    @sushantkumar3861 3 ปีที่แล้ว

    I am very helpful by this video... Thanks a lot... Please upload more for our learning

    • @techedemic
      @techedemic 3 ปีที่แล้ว

      Glad I could help you. What topic would you be interested in? Anything specific?

  • @19TopGun93
    @19TopGun93 3 ปีที่แล้ว

    Very very thank you for this video. This was my third tutorial to this thema. And now it runs as expected for my usage. Now I understand how I have to write my functions :) Thanks a lot

    • @techedemic
      @techedemic 3 ปีที่แล้ว

      It's a pleasure! I'll be making many more along the same lines... so remember to hit that 'subscribe' button and you'll be notified when they are uploaded!