{"componentChunkName":"component---src-templates-post-template-js","path":"/2020/04/27/a-digital-garden/","result":{"data":{"mdx":{"frontmatter":{"title":"A Digital Garden","date":"2020 April 27th"},"body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"date\": \"2020-04-27T00:00:00.000Z\",\n  \"title\": \"A Digital Garden\",\n  \"tags\": [\"information\", \"guide\", \"now\", \"domains\"],\n  \"published\": true\n};\n\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\n\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"I have spent the last two days now questioning how and what I write\\nafter reading a \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://richardhaines.dev/on-my-mind/\",\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"post from Richard Haines\"), \". In his post he mentioned\\nhow he stumbled across the Digital Garden idea.\"), mdx(\"p\", null, \"Richard\\u2019s post led me to \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://www.christopherbiscardi.com/what-is-a-digital-garden\",\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"Chris Biscardi\\u2019s thoughts\"), \" on that and in\\nturn Joel Hooks.\"), mdx(\"p\", null, \"Both Joel and Chris mention a post from \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://twitter.com/amyhoy\",\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"Amy Hoy\"), \" (who I\\u2019ve just\\nrealised I follow on Twitter) in the post Amy talks about the \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://stackingthebricks.com/how-blogs-broke-the-web/\",\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"How the\\nBlog Broke the Web\")), mdx(\"p\", null, \"As I\\u2019m writing this I\\u2019m actually in an Egghead.io Zoom webinar on the\\nsubject.\"), mdx(\"h2\", {\n    \"id\": \"publish-all-the-things\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#publish-all-the-things\",\n    \"aria-label\": \"publish all the things permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  })))), \"Publish all the things\"), mdx(\"p\", null, \"I decided that where I write about what I learn doesn\\u2019t have to be a\\njob, something else to add to my current cognitive load.\"), mdx(\"p\", null, \"I was a bit hasty about publishing everything on my site, there\\u2019s no\\nrush for it to be \\u2018released\\u2019 though, I\\u2019ll do it as and when I get\\nround to it.\"), mdx(\"p\", null, \"I spent some time cleaning up the site however, I removed all\\nunnecessary cover images and use an Open Graph tool to generate social\\nsharing cards.\"), mdx(\"p\", null, \"The posts folder on this site before and after I purged all the\\nassets.\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"70mb folder size with cover images\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"47mb after removing images\")), mdx(\"p\", null, \"I\\u2019ll go into more detail on this in the upcoming post \", \"[Moving from Now\\nto Netlify then back to Now]\", \", I think the title explains a lot of what\\nthe content will be on that one\"), mdx(\"p\", null, \"So this is going to work with the notion that I\\u2019ll write about things\\nas they come to me, add them here and add to them periodically as an\\nwhen needed.\"), mdx(\"p\", null, \"This could possibly change after I finish listening to the Egghead.io\\nwebinar.\"), mdx(\"p\", null, \"I\\u2019m feeling quite liberated about the not saving things behind a\\npublished flag now.\"), mdx(\"p\", null, \"Even though I have the most ridiculous filing system\"), mdx(\"p\", null, \"Also publish! Like I\\u2019m O\\u2019Reilly \\uD83D\\uDE02\"), mdx(\"p\", null, \"The content here is primarily for me and if it helps anyone else then\\nthat\\u2019s a massive plus, you\\u2019re welcome. \\uD83D\\uDC31\"), mdx(\"h2\", {\n    \"id\": \"unpublish-all-the-things\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#unpublish-all-the-things\",\n    \"aria-label\": \"unpublish all the things permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  })))), \"Unpublish all the things\"), mdx(\"p\", null, \"It did! I\\u2019ve unpublished a lot of half arsed posts, some just a title\\nand a link. Sorry if you\\u2019re reading this and wondering why there\\u2019s a\\npost titled \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Shaving the Yak!\"), \" with the total content of one\\nsentence and two links!\"));\n}\n;\nMDXContent.isMDXComponent = true;","excerpt":"I have spent the last two days now questioning how and what I write\nafter reading a  post from Richard Haines . In his post he mentioned\nhow…","tableOfContents":{"items":[{"url":"#publish-all-the-things","title":"Publish all the things"},{"url":"#unpublish-all-the-things","title":"Unpublish all the things"}]},"timeToRead":1,"fields":{"slug":"/2020/04/27/a-digital-garden/","editLink":"https://github.com/spences10/thelocalhost/edit/authoring/posts/2020/04/27/a-digital-garden/index.mdx"}}},"pageContext":{"slug":"/2020/04/27/a-digital-garden/","previous":{"id":"d98b78d7-ed4e-5fa5-8942-fb91bba996e7","excerpt":"Quite a while ago now I was introduced to tools like Renovate and\nGreenkeeper, at the time I thought they were awesome, keeping your\nprojects patches and secure so I went and used them in every project I\nmade. Busy work That was an incredible PITA…","frontmatter":{"title":"Continuous Deployments on Non Essential Projects","date":"2020-04-27T00:00:00.000Z"},"fields":{"slug":"/2020/04/27/continus-deployment/"}},"next":{"id":"05e9d503-dfb5-56f9-a901-279e72cf3907","excerpt":"I've spent a while today trying to bring down the size of this\nproject, I have several posts that are particularly large so I wanted\nto work out a way to reduce that. I'm an Ubuntu user and wanted to see if there was a way I could\nidentify the larger…","frontmatter":{"title":"Moving Large Markdown Assets to a CDN","date":"2020-04-30T00:00:00.000Z"},"fields":{"slug":"/2020/04/30/large-md-assets-to-cdn/"}}}}}