• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 213

  • 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 7th 2020 replying to this from @devdevcharlie
@devdevcharlie The temptation to create an edit of this where the game is replaced by "my side of this video call" with well-timed statements which provoke your reactions of delight or disappointment is strong.

But that would make me a monster.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 7th 2020
Forgive me for a moment, but I don't care how smug this sounds...

I *really cannot wait* until the @Netlify all-hands off-site later this month. It's a gathering of so many people whom I adore and admire.

And spending a little time in California in January does not suck either.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 7th 2020 replying to this from @slightlylate
@slightlylate Finally.
This is the twitter thread I came here for in the first place.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 7th 2020 replying to this from @sachajudd
@szechuan @RobbieRinder A grateful nation sends its thanks.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2020
RT @shortdiv: https://dev.to/shortdiv/can-a-site-be-too-large-for-the-jamstack-2e65
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2020
I think this is spot on. Great advice here. https://twitter.com/davatron5000/status/1214246184908460032
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2020 replying to this from @TrentWalton
@TrentWalton @paravelinc @Netlify Oh lovely! Now I like it all the more!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2020 replying to this from @TrentWalton
@TrentWalton @paravelinc This is delightful!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2020 replying to this from @Paul_Kinlan
@Paul_Kinlan @andreban You must be a pleasure to be around.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2020
Woohoo!
I hearty welcome, Laurie! 🤗 https://twitter.com/seldo/status/1214224764501254144
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2020
January seems like a good time to share our thoughts and experiments using #JAMstack.

@shortdiv has been blogging **every day this year** about it.

Now, I've added some #jamuary thoughts of my own.

https://dev.to/philhawksworth/prerendering-is-the-key-to-a-tasty-jamstack-22pp
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2020 replying to this from @Netlify
@Netlify @divshot Hey @Netlify, you probably mean @shortdiv rather than @divshot here, don't ya?

(I mean, what kind of idiot posts a tweet with that sort of an error in it?)
Embedded image from Twitter
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2020 replying to this from @TejasKumar_
@TejasKumar_ @EmmaBostian @Netlify I'd actually recommend http://community.netlify.com as a first port of call for help like this. There are lots of helpful people there beyond the @Netlify support folks.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2020 replying to this from @Fusion87
@Fusion87 @jsjoeio @github @Netlify @kwuchu I'm afraid I'm not an expert in that. I wonder if anyone over at http://community.netlify.com has dabbled in that territory. Perhaps worth searching there and asking that friendly group.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 4th 2020 replying to this from @lesliecdubs
@lesliecdubs Yikes! That sounds nasty. Here’s to a speedy recovery.

And I hope you’re ok by the time you need to travel. I’m excited to see you later this month.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 3rd 2020 replying to this from @ddprrt
@ddprrt Hang on a mo... I'll get my popcorn.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 3rd 2020
Fascinated by the site setup for http://tsconf.eu.

I'd make popcorn and snuggle into a comfy armchair to read a detailed blog post about this if @ddprrt wrote it. https://twitter.com/ddprrt/status/1213062666371174402
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 3rd 2020
RT @devkimchi: Ever wanted to convert your existing @WordPress blog to static site like @gridsome?

@justinchronicle wrote a blog post how…
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 2nd 2020 replying to this from @irreverentmike
@irreverentmike @Netlify Oh good point! Thanks for that feedback. I’ll share it with our docs team.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 2nd 2020 replying to this from @irreverentmike
@irreverentmike @Netlify Aha. I see the confusion. Environment variables aren’t always necessarily secrets. They might just be contextual or made available from an environment. For instance there are a bunch of variables that Netlify exposes from the build enviroment for convenience.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 2nd 2020 replying to this from @irreverentmike
@irreverentmike @Netlify Exactly. Secrets should never go into source control.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 2nd 2020
I made a thing.
I made it look like a book.
It's not a book.

It's my template for making sites with @tailwindcss, PurgeCSS, UglifyJS, and @eleven_ty.

You can try it in a couple of clicks.

https://www.hawksworx.com/blog/eleventail-a-helper-for-tailwindcss-and-eleventy/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 2nd 2020 replying to this from @philhawksworth
@irreverentmike @Netlify Try setting a different NODE_ENV value for different deploy contexts (stage | prod etc) and then programmatically accessing different env vars as a result.

if (process.env.NODE_ENV=="production") {
const secretThing = process.env.myProdSecret;
}
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 2nd 2020 replying to this from @irreverentmike
@irreverentmike @Netlify There are a combination of things at your disposal which should get you what you need:

- Env Vars (https://docs.netlify.com/configure-builds/environment-variables/#netlify-configuration-variables)
- Deploy Contexts (https://docs.netlify.com/site-deploys/overview/#deploy-contexts)
- DotEnv (https://www.npmjs.com/package/dotenv)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 2nd 2020
OOoooh. I'll be eagerly following along as @shortdiv writes more and more about #JAMstack this #JAMuary! https://twitter.com/shortdiv/status/1212455186150699008
  • 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.