• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 1268

  • 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 • April 2nd 2019
This is a handy way to build and deploy your #JAMstack site on @Netlify directly from a Google Sheet where you manage some of your content. https://twitter.com/jmolivas/status/1112978392180113409
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 2nd 2019 replying to this from @rem
@rem @jaffathecake I totally agree.

Developer convenience has trumped other considerations. Which is something to be wary of. I'm using @eleven_ty to do this as it brings support for using @LeaVerou's @prismjs which I already really love.

https://github.com/11ty/eleventy-plugin-syntaxhighlight
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 2nd 2019 replying to this from @rem
@rem @jaffathecake Interesting though, that the result of your poll leans so much towards doing this client-side. I'm assuming ( 👈 danger!) that's because it feels simpler and easier for developers to do it that way.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 2nd 2019 replying to this from @gauntface
@gauntface @eleven_ty @slsoftworks @rem Yeah, that's what I meant.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 2nd 2019 replying to this from @swyx
@swyx @Benghamine *whispers*: It's my "I'm whispering something to you because you are special" pose.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 1st 2019 replying to this from @rem
@rem I do it server side at build time.
Because anything I can do ahead of time, I do ahead of time.

It doesn't add markup for me as it is done by my SSG (@eleven_ty) during the build.

One less thing to have as a client-side js dependency and on the render path.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 1st 2019 replying to this from @yorksworths
@yorksworths Never leave home without it.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 1st 2019 replying to this from @MichaelWDelaney
@MichaelWDelaney @NetlifySupport Yeah, I'd rather like this too.
We'll track it internally here. It might be possible. I'd certainly use it.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 1st 2019 replying to this from @MichaelWDelaney
@MichaelWDelaney @NetlifySupport Sadly, Deploy to Netlify buttons can't work with private repos due to the way the repo needs to be cloned on your behalf.

I bumped into this myself recently.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 1st 2019 replying to this from @Kajrietberg
@Kajrietberg You can add environment variables via your Netlify Admin (look in your deploy settings). And you can use dotenv to safely set env vars locally too.

https://www.npmjs.com/package/dotenv

Remember to .gitignore your local .env file.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 1st 2019
Unbelievably good value! https://twitter.com/csswizardry/status/1112690957743505408
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 1st 2019 replying to this from @
@DirtyF @forestryio Congratulations, Frank!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 1st 2019
If I still worked somewhere I needed to do timesheets, I'd be creating a job code for:

"Time spent trying to comprehend some conversation online that turned out to be a reaction to yet another April fools joke."

#pranks #lols #japes

Roll on April 2nd.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 1st 2019 replying to this from @shreyas_satish
@shreyas_satish @Netlify I'm not a @jekyllrb expert, but you can specify which version of ruby to use in @netlify and specify which version of Jekyll to use in your Gemfile.

https://www.netlify.com/docs/continuous-deployment/#set-node-ruby-or-python-version
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 1st 2019
RT @stefanjudis: I'm really into functions lately... They're a perfect companion to static sites. You can realise any functionality with a…
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 1st 2019
A special conference!
So happy to be able to return again this year.
Incoming, Copenhagen! https://twitter.com/coldfrontconf/status/1112603054573080576
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 29th 2019 replying to this from @DasSurma
@DasSurma 😍 gidiot
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 28th 2019 replying to this from @rem
@rem Ditto
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 28th 2019 replying to this from @joshnesbitt
@joshnesbitt Me too!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 28th 2019
To say that I'm looking forward to this event is a massive understatement! https://twitter.com/joshnesbitt/status/1111247828293173248
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 28th 2019 replying to this from @daveverwer
@daveverwer Sorry about that Dave. (And 👋 Dave!)

I hear that we had a short (~3 minute) disruption to part of our logging infra, which caused that. And it coincided with a hiccup during an update to our support form automation.

Doh!

All should be well now. Let us know if not.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 28th 2019 replying to this from @DanjelvdWal
@DanjelvdWal @Netlify Yes! Occasionally companies need the repo (no problem) and even the build bots (our sales team can talk about) to be on-prem or in a particular geo.

But more often there is confusion about hosting on a server, vs hosting static assets on a CDN as close to users as possible.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 28th 2019 replying to this from @webandbe
@ArtWorked @ChrisFerdinandi @rem Classy.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 28th 2019 replying to this from @CodeFoodPixels
@CodeFoodPixels @webtaskio @leedsjs \o/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 28th 2019 replying to this from @DanjelvdWal
@DanjelvdWal @Netlify Sounds like you might want a detailed conversation with that client about what they mean by "hosting". Netlify disrupts the traditional idea of origin servers since all hosting is direct from the CDN. But exotic setups for the build infra is possible.

https://www.netlify.com/enterprise/
  • 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.