• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 205

  • 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 • January 20th 2020 replying to this from @keirwhitaker
@keirwhitaker @kieranmasterton @Shopify First a treat for my earholes.
Now my eyeholes too?!
Hooray!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 20th 2020
Perfect podcast listening for your commute or, if I may be so bold, to enjoy during a deep candle-lit bath. https://twitter.com/Jack_Franklin/status/1219186488514138113
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 20th 2020
This talk by @seldo is brilliant! https://twitter.com/Netlify/status/1218292005920485376
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 20th 2020
Worth the price of admission! https://twitter.com/smashingconf/status/1219179209769095169
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 20th 2020 replying to this from @smashingmag
@smashingmag @shortdiv It still boggles my mind that @shortdiv has been able to write an interesting post about #JAMstack *every single day* this year as she lead the charge into #jamuary!

https://dev.to/t/jamuary
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 20th 2020 replying to this from @feather
@feather @gatsbyjs @Netlify @sarah_edo @Bitbucket That’s fantastic!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 19th 2020
This speaks volumes about the heft of Nike's brand identity,
...but above all else, it's just cool. Want. https://twitter.com/yourmobilegeek/status/1218982471364034560
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 19th 2020 replying to this from @philhawksworth
@stefanjudis @swyx @Netlify @zeithq That said, for the logic you are describing, the URL nerd in me would tend to prefer defining that in the path rather than putting it in a qs.

(I don't have all the context of what you're making, of course.)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 19th 2020 replying to this from @stefanjudis
@stefanjudis @swyx @Netlify @zeithq I don't totally agree.

With a traditional backend, you'd not accept all and any arbitrary parameters or values. You'd have some validation and fallback rules in your logic. A GET should return a representation of content. You're just defining what you can GET at build time.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 19th 2020 replying to this from @stefanjudis
@stefanjudis @swyx @Netlify @zeithq 🥳 Perhaps a confusion about the limitations. It can't be completely dynamic and just accept any parameters. You need to tell it what params too look for and then you can scoop out the values of them if you need.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 19th 2020 replying to this from @swyx
@swyx @stefanjudis @Netlify @zeithq A race to the docs!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 19th 2020 replying to this from @stefanjudis
@stefanjudis @Netlify @zeithq You need to tell @Netlify's redirect API what query parameters to expect, but should it give you what you are asking for.

Docs here: https://docs.netlify.com/routing/redirects/redirect-options/#query-parameters
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 19th 2020
👏 This comment wins today:
"What kind of tennis score is eleventy-love?" https://twitter.com/philhawksworth/status/1218865174171570176
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 19th 2020
The JS world sometimes feels like it is getting more complex & intimidating, but there are still examples of it powering sites in ways that feel approachable.

That's one of the reasons I enjoy @eleven_ty. As @chriscoyier says, "It's Just JavaScript™"

https://css-tricks.com/eleventy-love/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 17th 2020 replying to this from @Kosai106
@Kosai106 @eunjae_lee GENIUS!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 17th 2020 replying to this from @piccalilli_
@hankchizljaw @zachleat @nhoizey @davatron5000 @chriscoyier This is what I do too.
You can see an example in my little @eleven_ty / @tailwindcss starter.

https://github.com/philhawksworth/eleventail/blob/master/.eleventy.js#L34-L37
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 17th 2020 replying to this from @moo9000
@moo9000 @Netlify Yes. Netlify Large Media is agnostic of the git provider.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 17th 2020 replying to this from @jaffathecake
@jaffathecake That’s appalling.
I want it.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 17th 2020 replying to this from @moo9000
@moo9000 @Netlify Not exactly. But a couple things that might be of interest...

We offer simple post-processing to optimise your build output. This includes some image optimisation.

Our Large Media service wraps GitLM and provide edge image transforms 👉 https://docs.netlify.com/large-media/overview/?utm_source=twitter&utm_medium=nlm-pnh&utm_campaign=devex
Embedded image from Twitter
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 17th 2020
RT @Netlify: Could it be? The benefits of a statically generated site without a complicated change to your @WordPress site setup?? it Could…
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 17th 2020
The @Netlify Slack offers a world of discovery.
I am enriched.
Embedded image from Twitter
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 17th 2020
RT @Netlify: Did you hear? We're running a webinar!

Join us for the first installment on building a kickass JAMstack site on a timeline w…
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 16th 2020 replying to this from @dkruythoff
@dkruythoff touche
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 16th 2020 replying to this from @dkruythoff
@dkruythoff Bless you for thinking about solutions!

Between you and me, and quality punning aside... I don't think that the url http://petlify.netlify.com scans as nicely or is as descriptive as http://petsof.netlify.com.

Also... it has now been claimed 😏

(But I'll never share this defence)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 16th 2020 replying to this from @fabiovenni
@fabiovenni These were right out of the freezer.
Boiled. Then pan fried in some butter.
I regret nothing!
  • 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.