• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 287

  • Newest
  • Previous
  • Next
  • Oldest

The archive of what I posted on Twitter, which I now self host due to a lack of trust in Twitter and some other reasons.

I'll soon begin refelcting all my Mastodon posts here too. I'm happier self-hosting or maintaining an archive of my content on URLs that I can own.

There are tools to help you do this too. Such as this one from the makers of Eleventy.

A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 4th 2019 replying to this from @simonswiss
@simonswiss @jamstackconf Thanks a lot Simon!

We'll miss you.
Let the canvassing for JAMstack_conf AUS commence!
(because I really really really want to visit!)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 4th 2019 replying to this from @mrjoe
@mrjoe @jamstackconf You'll be missed.
Hopefully another time, Mr Leech!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 4th 2019
Woah! Approaching full capacity for the first ever @jamstackconf in London. This is going to be so much fun. I can't wait to spend time with all the enthusiastic folks in town for the conference next week.

#ThereWillBeBunting
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 4th 2019
Editing code samples in @NetlifyCMS is set to become much nice thanks to @codemirror. Looking forward to this! https://twitter.com/NetlifyCMS/status/1146537769730285575
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 3rd 2019 replying to this from @zachleat
@zachleat @rem @petervangrieken @FronteersConf Better get your paperwork in order, Leatherman.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 3rd 2019 replying to this from @rem
@rem @petervangrieken @FronteersConf If an event doesn’t want me to MC, they had better send me a notarised instruction from a judge to stay away.

Otherwise I just turn up with a microphone and a running order.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 3rd 2019 replying to this from @petervangrieken
@petervangrieken @FronteersConf @rem I have no idea what you could possibly mean.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 3rd 2019 replying to this from @leemartin
@leemartin @Netlify Exactly.
Each function folder can have its own package.json which is nice.

While I gitignore the node_modules of my site build (depending on your build, of course), I include the node_modules of the functions after installing them as you describe. The deploy runs smoothly then.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 3rd 2019 replying to this from @leemartin
@leemartin @Netlify You bet! Another benefit of netlify dev is that it supports the redirects api. So for convenience, I often make a nicer URL scheme for my functions by adding something like this to my netlify.toml:

[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat
status = 200
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 3rd 2019 replying to this from @leemartin
@leemartin @Netlify Running netlify dev will start a local server for your site and handle requests to those functions too. They should surface on URLs like:

localhost:8888/.netlify/functions/YOUR-FUNCTION-FILENAME-MINUS-EXTENSION

(Your port number may vary)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 3rd 2019 replying to this from @piccalilli_
@andybelldesign @eleven_ty Eagerly and happily. ⭐️
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 3rd 2019 replying to this from @laurensell
@laurensell @dizzyd My finest moment on stage EVAR!
#ArmLikeATShirtCannon
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 3rd 2019 replying to this from @dizzyd
@dizzyd I love that iPhones now come with this as their default wallpaper.
Can't wait to see those residuals come rolling in! $$$$$
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 3rd 2019 replying to this from @dizzyd
@dizzyd "We're gonna need a bigger screen"
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 3rd 2019 replying to this from @
@ryanheybourn @Netlify Hooray!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2019 replying to this from @swyx
@swyx @github Narrator:

The project to refresh the content on https://jamstack.org began to take a particularly heavy toll on one member of the team.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2019 replying to this from @scottjehl
@scottjehl @jnschrag @Netlify @css Great tip. Thanks @scottjehl!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2019 replying to this from @piccalilli_
@andybelldesign @DavidDarnes @jina @eleven_ty @developurrs @zachleat Heh.
Noooooo.
Then again, did I forget to add this one?
And would it count @zachleat?
'tis but a little demo page,

https://twitter.com/philhawksworth/status/1145739587274399745
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2019 replying to this from @jnschrag
@jnschrag @Netlify @css Oh interesting. To be honest, I'd not picked up that nuance in the different usages of picture vs img elements.

I simply preferred the syntax of that element.
The same approach could be used with img and srcset.

Thanks for this info!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2019 replying to this from @jina
@jina @andybelldesign @DavidDarnes @eleven_ty @developurrs @zachleat Yeah, @andybelldesign!
Pfffft... you're *such* a typical 4 reference @eleven_ty sites sort of guy.

<Massive eye-roll />
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2019 replying to this from @jina
@jina @andybelldesign @DavidDarnes @eleven_ty @developurrs @zachleat Ok. Shit just got real.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2019 replying to this from @piccalilli_
@andybelldesign @DavidDarnes @eleven_ty @developurrs I'm assuming that the first to 11 wins some sort of massive mystery prize from @zachleat
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2019 replying to this from @piccalilli_
@andybelldesign @DavidDarnes @eleven_ty @developurrs Is this the right time to admit that I neglected to mention https://sagns.org and https://www.humdingerscomedy.com ?

Nobody's counting.
Except perhaps, @DavidDarnes.

So... is that 7? 😜
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2019 replying to this from @ScottsWebDev
@ScottsWebDev @eleven_ty @css \o/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • July 2nd 2019 replying to this from @jamiebradley234
@jamiebradley234 @jamstackconf @middlesbroughfe @sanity_io @Netlify This will be great!
  • Permalink
  • |
  • Twitter
  • Newest
  • Previous
  • Next
  • Oldest

The source code of this site is available on GitHub and is hosted and updated by Netlify automatically after each code commit

Other than where specified, the content on this site is published under a Creative Commons Attribution 3.0 licence.

Subscribe to a feed of blog posts on this site.