Course Intro for Designing GraphQL Schemas
lessonDuration 44sFree
In this short clip Nik shares why is story how this course came to be.
Browse
Find courses, lessons, articles, talks, and podcasts.
7,176 resources
Showing 3,241–3,264 · Page 136 of 299
lessonDuration 44sFree
In this short clip Nik shares why is story how this course came to be.
lessonDuration 3m 50s
In this lesson, we'll learn how to exploit an XSS vulnerability to read the contents of a cookie from our vulnerable website. We'll also make an endpoint on our attacker website to receive and log the cookie we've stolen. This payload will be used and modified in the following lessons to validate vulnerabilities and to verify their mitigation.
lessonDuration 2m 34sFree
AppleScript is a powerful and strange language that allows you to interact with apps in a wide variety of ways. One feature it enables is the ability to get the URL from Chrome so that you can take the URL and do whatever you want with it. ```zsh clone(){ cd ~/projects url=$(osascript -e 'tell application "Google Chrome" to return URL of active tab of front window') repo=${url:19} name=${repo:t} git clone git@github.com:$repo && code $name } ```
lessonDuration 3m 56s
Pipes are one of bash's most powerful features, but sometimes plain bash doesn't give us the tools we need to perform more complicated transformations. In this lesson, we'll see how we can leverage node.js in conjunction with bash. We'll pipe a log file of line-delimited JSON (LDJSON) to a node script that filters it and then writes the result to stdout. We'll use node.js' Transform stream to accomplish this.
lessonDuration 4m 1s
In this lesson, we'll learn what a Cross Site Request Forgery (CRSF) vulnerability is by learning how to exploit a CSRF vulnerable site by making malicious requests on behalf of a logged in user. We'll construct a malicious payload that automatically gets POSTed to the vulnerable site simply by visiting the attacker website while being logged into the target website.
lessonDuration 2m 24sFree
We'll be creating a new Nx Workspace with an Angular project. This can be used to follow the monorepo pattern and also take advantage of the many schematics Nx offers.
lessonDuration 50s
In this course, we’ll dive deep into the automation potential of bash. We'll focus specifically on learning to leverage some common “hooks” that open up interesting automation possibilities: things like git hooks, adding functions and aliases to your bash_profile, and running scheduled jobs in launchd. For example, we’ll write a postmerge git hook that runs npm install automatically if package.json changed. Along the way, you’ll also learn more advanced bash commands and syntax, like the exec command for advanced standard input and output redirection and timesaving tricks, like brace expansions. This course is a follow-up to my previous course, [Automate Daily Development Tasks with bash](https://egghead.io/courses/automate-daily-development-tasks-with-bash). If you’re looking for a beginner oriented introduction, I suggest starting there. I hope you learn something from this course and that it sparks ideas on how to automate tasks in your daily life.
lessonDuration 3m 7s
Lots of if and if else statements are hard to read and tough to maintain in any language, and bash is no exception. In this lesson, we’ll learn how to use `case`, bash’s construct for a switch statement. In bash, `case` actually does pattern matching, which gives some great flexibility. We’ll write a script that will uncompress a variety of different archive file types (like .tar or .zip), based on their file extension.
lessonDuration 2m 54s
Eager delay spinners are not a good user experience. They can make a snappy user interface feel slower. We want delay spinners to appear only after a perceivable delay. `useTransition` doesn't yet have an API for customizing this. Until it does, we can use CSS animations to delay visibility of delay spinners.
lessonDuration 2m 36sFree
Learn how to create and use the Ionic List component in your Ionic 4 application.
lessonDuration 13m 25sFree
Most webpages are nothing but rectangles, but css can do circles too. We use css transforms (specifically translate and rotate) to break out of the rectangle mode and create a page where elements are positioned along the edge of a circle.
lessonDuration 3m 23s
Our app is working! But now our manager comes in and tells us that some tasks in our app are finishing very fast, so users are seeing a short glimpse of the spooner which makes the app look glitchy. Our new requirement is to wait at least 2 seconds before showing the spinner. So without introducing any complexity into our main observable, we will create a new intermediary stream that will be a proxy between the observable that immediately tells us when to show the spinner and the one that actual shows it. This new proxy will delay the events accordingly.
lessonDuration 6m 39s
ES2019 introduces the Object.fromEntries method. In this lesson, we'll see how to convert Maps and Sets into Objects and why you'd want to translate between those data structures. First we'll see how this was done prior to ES2019, and then we'll refactor the code to do the same thing using Object.fromEntries. Seeing as ES2019 was only introduced to Node in Node 12, we'll also learn how to do feature detection for Object.fromEntries.
lessonDuration 4m 34s
While we’ve made sure to expose our spinner service using simple, external APIs, most of the time, it will be called in the same way, from observables and promises. In this lesson, we will be creating an RxJS operator that be easily plugged in to different observables to track them via the spinner.
lessonDuration 24sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/strings/README.md) for this exercise. String literals are a bit special when it comes to Strings and string slices (&str). String literals are string slices that refer to “preallocated text” that is stored in read-only memory as part of the executable.
lessonDuration 2m 33s
In this lesson, we'll be looking at an issue with our combo implementation: given that we're switchMapping to a new inner combo each time the user presses the combo initiation key (the letter "a" in our example), if the initiation key is found anywhere in the middle of the combo, it will just cancel out any on-going inner combos. To fix it, we'll look at the differences between `switchMap` and `exhaustMap` and why `exhaustMap` is a much better choice for our scenario: `switchMap` disposes of any previous inner observables when it gets a new notification from the source, while `exhaustMap` waits for the inner observable to finish, before considering any new notifications from the source.
lessonDuration 4m 6sFree
We'll start by creating a new Hasura Cloud project. Then setup a new Security Group in AWS for a secure connection from Hasura Cloud to our RDS PostgreSQL database. Then we'll create our RDS PostgreSQL database, and setup the connection string in our Hasura Cloud project.
lessonDuration 5m 5s
Web applications in general have a problem with images. As soon as an `<img />` tag is rendered, the `src` is requested. But that can take some time and the browser doesn't give us much of an API for what should be displayed during that time (or what to display if it fails to load). But the browse *does* implement a cache for images if the `Cache-Control` header is set properly by the server for the image. And if it's cached, then the browser can display the image instantly. So, let's learn how we can preload the image so when an `<img />` tag is rendered, the image is displayed instantly.
lessonDuration 4m 10sFree
YugabyteDB is an open source, high-performance distributed SQL database for powering global, internet-scale applications.YugabyteDB is also a cloud-native database, so it can be deployed across both public and private clouds, including Kubernetes environments. In regards to serving as a backend for microservices, YugabyteDB brings together three must-haves: a PostgreSQL-compatible SQL API, low-latency read performance, and globally distributed write scalability. YugabyteDB with its global data distribution brings data close to users for multi-region and multi-cloud deployments. In this lesson we will see how we can create YugabyteDB cluster locally on our Mac for dev environment and prototyping
lessonDuration 1m 10sFree
Paginate can be used with options to move forward or backward in the list of results. We can also limit or expand the number of results we get in a Page. ``` Paginate(Match(Index("all_customers"))) ``` ``` Paginate(Match(Index("all_customers")), { size: 2 }) ``` ``` Paginate( Match(Index("all_customers")), { size: 2, after: Ref(Collection("customers"), "244075679455381001) } ) ```
lessonDuration 3m 2s
In this lesson, we will use the simple data sources we created earlier, to create a more specialized stream that gives us the current count of tasks that are in progress.
lessonDuration 3m 8s
The `useState` functions we wrap in `useTransition` function wrappers can be passed around to components like any callback. Instead of making all of your components aware of Concurrent Mode, you can provide wrapped callbacks and continue compatibility with both legacy and future React code.
lessonDuration 55s
Now that we're setting our delivery radius, let's use it! We'll use that value to create a new Circle shape on the map. **[Click here for exercise instructions](https://github.com/colbyfayock/launchtime-workshop/tree/master/lessons/08%20-%20Add%20Restaurant%20Delivery%20Zones%20to%20Map%20with%20Shaded%20Regions#2-using-the-delivery-radius-to-add-a-shaded-circle-to-the-map)**
lessonDuration 2m 6s
ES2019 introduces the Symbol.prototype.description property. In this lesson, we'll learn why this property is useful and unlocks Symbols as appropriate to use to represent strings constants in JS. We'll investigate a use case for string constants and see why using Symbols prior to ES2019 was not appropriate. Then we'll see how using .description fixes that. Lastly, we'll learn why using Symbols may be better than strings for constants in certain use cases by examining what it means to be "collision free".