• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 1401

  • 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 2018 replying to this from @kr8n3r
@igloo_si @Netlify
Embedded image from social media
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @kr8n3r
@igloo_si Yay.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @RawInfoSec
@RawInfoSec @Scott_Helme @troyhunt Thankfully everyone who hosts their own WordPress site is also an expert at securing a LAMP stack server and a DBA. It's fine.
Embedded image from social media
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @DinisCruz
@DinisCruz @Azizur @Netlify @GoHugoIO That is a feature on the paid plan. https://www.netlify.com/pricing/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @benpbarnett
@benpbarnett An excellent leaving present from those lovely folks at @rga.

Now the whole world can enjoy crystal clear audio quality as I shout "get off the feckin' keyboard! You're sending tweets with your arrrrrrse"
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @DavidDarnes
@DavidDarnes @Netlify Ha ha. Amazing.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @philhawksworth
@Scott_Helme @troyhunt If only there were an easy way to control your HTTP headers so you could sort this out without fuss.

oh, hai @Netlify's _headers config:

https://medium.com/netlify/10-netlify-features-to-surprise-and-delight-225e846b7b21#8161
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @DavidDarnes
@DavidDarnes Now you've got no choice.
At @Netlify Towers, what Jules says goes.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @DavidDarnes
@DavidDarnes I double dare you.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @andyshora
@andyshora @Netlify 👍
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018
Me: I think I'll do a little work.
Her: Do you. http://ift.tt/2Cz00z6
Embedded image from social media
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018
Brilliantly written and chillingly convincing. A pretty persuasive argument for site owners to sort out their CSPs (Content Security Policies). I can almost see @Scott_Helme and @troyhunt nodding along.

https://medium.com/@david.gilbertson/im-harvesting-credit-card-numbers-and-passwords-from-your-site-here-s-how-9a8cb347c5b5
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @philhawksworth
@DinisCruz @Azizur @Netlify @GoHugoIO Just a thought... If you need people to quickly spin up an instance of a site from your template, they can do this with *almost* one click via the @netlify Deploy Button.

https://www.netlify.com/docs/deploy-button/

Nice example here(you are quite safe to click it!):

https://www.netlifycms.org/docs/start-with-a-template/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @DinisCruz
@DinisCruz @Azizur @Netlify I think the same properties are true of @GoHugoIO. You can run the site locally during dev (the speed of that makes developing and populating a delight, BTW) or push to a github for an instant rebuild and deploy on @Netlify.

But whatever #jamstack setup is working for you!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @_munter_
@_munter_ @RyanTownsend @Netlify @adactio Wouldn't have been a problem if I had been a good boy when I decided to simplify my URLs and instigated a proper redirect pattern to handle all of that!

I was either forgetful or ignorant of how to do that on GH-Pages.

Naughty Philip.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @_munter_
@_munter_ @RyanTownsend @Netlify This is handy.

In my case I spotted inbound links from a post from @adactio back in 2009, which used a url format I had on my blog and later simplified.

https://domscripting.com/blog/display/120

I thought I had correctly redirected everything around 2011, but I forgot a pattern I once used.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @RyanTownsend
@RyanTownsend @Netlify I was just looking at my Google Analytics and seeing some 404 hits.

Currently that type of logging access and reporting is not available directly from Netlify.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @rwxrob
@robmuh @captainsafia @Netlify I like that mindset shift. #jamstack by default (unless something more is *genuinely* warranted) rather than LAMP or MEAN stack by default, even if all the moving parts could have been avoided.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018
🤔 Spotting 404s on my blog caused by links to an old URL pattern I later simplified. Thought I dealt with that years ago, but fixed it in moments today thanks to @netlify's simple _redirects config:

/blog/:year/:month/:day/:slug /blog/:slug 301

😎

https://medium.com/netlify/10-netlify-features-to-surprise-and-delight-225e846b7b21#7007
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 6th 2018 replying to this from @auchenberg
@auchenberg Sorry to hear that you've been having such a tough time. Thank you for sharing this thoughtful and inspiring post. So many valuable lessons in there for all of us. Irrespective of our own health status.

Giant hugs and huge respect. x
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 5th 2018 replying to this from @
@magicspon @Netlify It could be that you've somehow got 2 webhooks firing the build.
In your admin, take a look in your Deploy Settings at the Build Hooks

(https://app.netlify.com/sites/{your-site}/settings/deploys#build-hooks)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 5th 2018 replying to this from @philhawksworth
@peduarte @Netlify This would be true on any host where you set HSTS headers to force HTTPS. It's not exotic or unusual to Netlify. (We just want you to know what this action is doing)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 5th 2018 replying to this from @peduarte
@peduarte @Netlify That is a scary looking bit of text! The intention here is just to be very transparent that HSTS headers will be set to 1 year, which is good practice. But if for some reason (I can't imagine why), you decided that you wanted to *disable* HTTPS, that would be the impact.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 5th 2018 replying to this from @_munter_
@_munter_ @Jack_Franklin @Netlify Come on in. The water's lovely.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • January 5th 2018 replying to this from @Jack_Franklin
@Jack_Franklin @Netlify You should probably read further down in the ToS. "An ice cream for Phil" is in there somewhere.
  • 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.