1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-16 21:48:02 +00:00

Compare commits

...

3 Commits

Author SHA1 Message Date
nick-w-nick
abbc1b1114 Merge 295fe153ad into 0dee39d3c5 2024-10-18 13:02:01 -04:00
jbranchaud
0dee39d3c5 Add Configure Email Redirect With Cloudflare as a Workflow TIL 2024-10-17 11:09:04 -05:00
nick-w-nick
295fe153ad added mention of ES6 compatibility
Hello, I've added a small blockquote below the description to indicate that this method of accessing an indefinite number of function arguments has been superseded by the use of the spread operator via rest parameters for ES6+ compatibility.
2022-01-06 11:39:04 -05:00
3 changed files with 27 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
_1471 TILs and counting..._
_1472 TILs and counting..._
---
@@ -1703,6 +1703,7 @@ _1471 TILs and counting..._
- [Add Subtitles To Existing Mux Video Asset](workflow/add-subtitles-to-existing-mux-video-asset.md)
- [Access 1Password Credential From CLI](workflow/access-1password-credential-from-cli.md)
- [Change Window Name In iTerm](workflow/change-window-name-in-iterm.md)
- [Configure Email Redirect With Cloudflare](workflow/configure-email-redirect-with-cloudflare.md)
- [Convert An ePub Document To PDF On Mac](workflow/convert-an-epub-document-to-pdf-on-mac.md)
- [Create A Local Sanity Dataset Backup](workflow/create-a-local-sanity-dataset-backup.md)
- [Create A Public URL For A Local Server](workflow/create-a-public-url-for-a-local-server.md)

View File

@@ -5,6 +5,8 @@ an array-like object with all of the arguments to the function. Even if not
all of the arguments are referenced in the function signature, they can
still be accessed via the `arguments` object.
> For ES6+ compatibility, the `spread` operator used via [rest parameters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters) is preferred over the `arugments` object when accessing an abritrary number of function arguments.
```javascript
function argTest(one) {
console.log(one);

View File

@@ -0,0 +1,23 @@
# Configure Email Redirect With Cloudflare
I have a domain registered with Cloudflare --
[visualmode.dev](https://www.visualmode.dev). I want to be able to sign up for
services and receive emails as `josh@visualmode.dev`. I don't want a separate
inbox that I have to check though.
The solution, for me, is to have Cloudflare redirect incoming emails to an
email address/inbox that I'm already regularly checking.
On the _Email_ dashboard there is a _Routing Rules_ tab. In the _Custom
Addresses_ section, I can click _Create Address_. There I specify the custom
address (what will appear before the `@`), the action to make ("Send to an
email"), and the destination (the existing email address for an inbox I
regularly check).
Finally, I hit _Save_. If they don't already exist, I'll be prompted to confirm
the setup of MX records for the domain. After confirming that, I should be able
to receive emails via that new address.
The Email Routing dashboard will even show me a summary of all rerouted emails.
[source](https://blog.cloudflare.com/introducing-email-routing/#cloudflare-email-routing)