• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 214

  • 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 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
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 2nd 2020 replying to this from @ireaderinokun
@ireaderinokun Hard same!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 2nd 2020
RT @trondhindenes: Wow. Just used https://www.sanity.io/create to set up an app using vue, @sanity_io and netlify in like 15 seconds. Very nice.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 1st 2020 replying to this from @danmall
@danmall Oh no! Sad to hear this. He changed the league so dramatically.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 1st 2020 replying to this from @
@regphunt @eleven_ty @FrankTldr Ha! Oops. That probably deserves a slight edit!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 1st 2020 replying to this from @eleven_ty
@eleven_ty @FrankTldr It's not a book. It's this...

https://eleventail.netlify.com/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 1st 2020 replying to this from @mojitane
@mojitane @tailwindcss @eleven_ty Oh thanks for that! Pushing a fix now.
I'm not familiar with Bulma, but quickly started to enjoy using @tailwindcss
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 1st 2020 replying to this from @
@FrankTldr @eleven_ty O RLY?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 1st 2020
I've been enjoying experimenting with @tailwindcss lately, so made myself a little starter template for using it with @eleven_ty.

(And the new Eleventy possum made this design inevitable really!)

https://eleventail.netlify.com/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 31st 2019 replying to this from @toddlibby
@toddlibby Congrats! Now the rewards will surely follow.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 31st 2019 replying to this from @AndyWhalePhoto
@AndyWhalePhoto Dining out on NYE?
Are you out of your mind?

Tonight is a well deserved takeaway night.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 31st 2019
I have a lofty ambition of beginning my first morning of 2020 with an empty dishwasher and a clear kitchen counter.

Surely if I can do that, the rest of the year will fall perfectly into place. Right?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 31st 2019 replying to this from @TejasKumar_
@TejasKumar_ @devdevcharlie @DasSurma Thanks @TejasKumar_! This is a nice list of be a part of. 😘
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • December 30th 2019
Ok, I admit it. I didn't see this one coming. https://twitter.com/remotesynth/status/1211767011652620289
  • 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.