From 00406833032ad562551e4afd99011cd671f3787a Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Wed, 27 May 2020 01:45:58 +0100 Subject: [PATCH] New drafts and a post --- Gemfile.lock | 20 +++---- _drafts/camino-de-santiago.md | 58 ++++++++++++++++++++ _drafts/pretty-terminal-configs.md | 4 ++ _drafts/swift-coding-challenge-3-and-4.md | 16 ++++++ _drafts/terminal-colors.md | 65 +++++++++++++++++++++++ _posts/2020-05-27-camino-de-santiago.md | 5 ++ 6 files changed, 159 insertions(+), 9 deletions(-) create mode 100644 _drafts/camino-de-santiago.md create mode 100644 _drafts/pretty-terminal-configs.md create mode 100644 _drafts/swift-coding-challenge-3-and-4.md create mode 100644 _drafts/terminal-colors.md create mode 100644 _posts/2020-05-27-camino-de-santiago.md diff --git a/Gemfile.lock b/Gemfile.lock index 67cdc39..abb98a1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,12 +1,12 @@ GEM remote: https://rubygems.org/ specs: - activesupport (6.0.2.2) + activesupport (6.0.3.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) - zeitwerk (~> 2.2) + zeitwerk (~> 2.2, >= 2.2.2) addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) colorator (1.1.0) @@ -26,7 +26,7 @@ GEM http_parser.rb (0.6.0) i18n (1.8.2) concurrent-ruby (~> 1.0) - jekyll (4.0.0) + jekyll (4.0.1) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -62,7 +62,8 @@ GEM gemoji (~> 3.0) html-pipeline (~> 2.2) jekyll (>= 3.0, < 5.0) - kramdown (2.1.0) + kramdown (2.2.1) + rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) liquid (4.0.3) @@ -73,14 +74,14 @@ GEM rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) mini_portile2 (2.4.0) - minimal-mistakes-jekyll (4.19.1) + minimal-mistakes-jekyll (4.19.2) jekyll (>= 3.7, < 5.0) jekyll-feed (~> 0.1) jekyll-gist (~> 1.5) jekyll-include-cache (~> 0.1) jekyll-paginate (~> 1.1) jekyll-sitemap (~> 1.3) - minitest (5.14.0) + minitest (5.14.1) multipart-post (2.1.1) nokogiri (1.10.9) mini_portile2 (~> 2.4.0) @@ -89,11 +90,12 @@ GEM sawyer (~> 0.8.0, >= 0.5.3) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (4.0.4) - rb-fsevent (0.10.3) + public_suffix (4.0.5) + rb-fsevent (0.10.4) rb-inotify (0.10.1) ffi (~> 1.0) - rouge (3.18.0) + rexml (3.2.4) + rouge (3.19.0) safe_yaml (1.0.5) sassc (2.3.0) ffi (~> 1.9) diff --git a/_drafts/camino-de-santiago.md b/_drafts/camino-de-santiago.md new file mode 100644 index 0000000..a20a4d1 --- /dev/null +++ b/_drafts/camino-de-santiago.md @@ -0,0 +1,58 @@ +--- +title: A short look back on my Camino de Santiago journey + +tags: +- life +- camino +- caminodesantiago +category: camino +--- + +A year ago tomorrow I began the most gruelling, yet immensely satisfying, journey of my life. I set off from my home in Buchholz in der Nordheide Germany, to fly to France to walk the Camino de Santiago. + +Ostensibly the point of the walk was to find myself, to seek out something that had been missing in me for a long time. But it was also about trying to make a decision about what I was doing and my relationship with my wife. + +I kinda failed at the latter point. I found while walking that often my brain zoned out and I wasn't thinking about what I should have been. I did however find something that (mostly) made me feel good. + +My original intention was to take time along the way to stop for an extra day here and there to see places that I was walking through, but it never really happened. I kind of regret that, although the point of the walk was not to be a tourist. + +I had fully intended to go back on the Camino this year (2020), but the unthinkable happened and the world entered a state of lock down that for now has no end in sight. The intention was to walk (mostly) different routes this time, because there are a heck of a lot of them. + +I didn't want to end when I did, I wasn't ready to back and quite honestly, I'm still not ready to. + +## Some Stats, Dates, and Figures + +- I walked 2 camino's. The Camino Frances & Camino Portuguese (Porto; More Costal Route + Espiritual Variente) +- I flew from Hamburg to France on the 28th of May 2019 +- I started the Camino de Santiago, leaving Saint-Jean-Pied-de-Port on the 31st of May 2019 +- I finished the Camino on the 8th July 2019, when I arrived in Santiago de Compostela +- I left the next day for Finisterre +- I arrived in Finisterre on the 11th of July 2019 +- I start the Camino Portuguese on the 18th July 2019 +- I arrived in Santiago de Compostela on the 31st of July 2019 +- I flew back to Hamburg from Porto on the 6th of August 2019 (walking 14km to the airport from Porto) + +- I took 3 rest days (3rd, 8th and 23rd of June). The first 2 where not because I actually needed to rest, but because I had the wrong shoes and they where messing my feet up. (which gave me a couple of nasty blisters) +- I bought a new pair of shoes on the evening of the 7th of June, which I then used the rest of the way. +- I sent roughly 2kg of stuff home on the 8th of June, stuff I thought I needed but didn't + +Originally I was track my steps / distances using a Fitbit HR and my iPhone 6S. However because of issues charging the HR (connector area broke), I gave up using it on July 6th. + +In total I walked at least 1643km. This was a combination of the daily Camino walks, plus any extra after I arrived at my destination. + +| Section | Stage Distance Walked | Total walked that stage | +| ------- | -------- | ------- | +| Camino Frances | 793.04km | 972.3km | +| Santiago to Finisterre | 96.16km | 105.9km | +| Camino Portuguese | 299.14km | 402.9km | +| **Totals:** | **1,188.34km** | **1,481.1km** | + +The remaining 160km was days walking around Finisterre, Muxia, Santiago and Porto. + +## Photos + +Over the next little while I am going to post photos from my journey, more than I did at the time on Instagram (which had a limit of 10 per post). + +I'll try and add context to them, and a bit about where they where taken. + +Anyway, enough for now. I intend, body willing, to locally repeat the Camino distances over the next 2 months. \ No newline at end of file diff --git a/_drafts/pretty-terminal-configs.md b/_drafts/pretty-terminal-configs.md new file mode 100644 index 0000000..bef87a6 --- /dev/null +++ b/_drafts/pretty-terminal-configs.md @@ -0,0 +1,4 @@ +--- +layout: post +title: pretty-terminal-configs +--- diff --git a/_drafts/swift-coding-challenge-3-and-4.md b/_drafts/swift-coding-challenge-3-and-4.md new file mode 100644 index 0000000..179b847 --- /dev/null +++ b/_drafts/swift-coding-challenge-3-and-4.md @@ -0,0 +1,16 @@ +--- +title: Swift Coding Challenge 3 and 4 +tags: +- programming +- ios +- swift +- coding-challenges +category: coding-challenges +--- + +# Challenge 3 +Take two strings, random order of letters and compare if they contain the same letters + +This was very quickly done. I remembered about ``sorted`` + +# Challenge 4 \ No newline at end of file diff --git a/_drafts/terminal-colors.md b/_drafts/terminal-colors.md new file mode 100644 index 0000000..5e8d4ba --- /dev/null +++ b/_drafts/terminal-colors.md @@ -0,0 +1,65 @@ +--- +title: terminal-colors + +tags: +- programming +category: programming + +--- + +Color ... I have a problem ... + +Or Colour if you're from the UK and associated territories. + +Seriously, I legitimately have a problem. I need color when I am working with source code, the terminal or when I am reading computer books (like images, or source code). + +I can't explain what it is, but I don't take in the information as well when its monochrome, or minimally highlighted. The more colour, the better I understand it. + +For example, this is the default terminal file listing on macOS: + + + +and source code from a book: + + + +The last couple of days I've been exploring how to add more colour to the terminal for file listings and when looking at looking at the content of files. + +I'm happy to say there are some apps and settings that make the terminal nirvana like for me. + +Improving the colours used by 'ls' + +The version of 'ls' provided by Apple in macOS is rather limited in the colours it can display. By that I mean you can't assign particular filetypes their own colours. You are limited (https://www.cyberciti.biz/faq/apple-mac-osx-terminal-color-ls-output-option/) to what can have coloured and the number of colours: + +Directories, symbolic links, sockets, pipes, executables, and characters. + +Enter GNU ls which is able to display many more colours (256, or 24bit). You can specify different colours for different extensions. Meaning you could have colours for music files (.mp3, .m4a), video files (.avi, .mov, .mp4), office documents (.doc, .xls) and so on. + + + +Download a regularly updated list of colours from link https://github.com/trapd00r/LS_COLORS + +[NOTE] You can't use the provided scripts on macOS without first installing 'coreutils' (via Homebrew) and then tweaking the shellscripts to use those. + +Alternatives to 'ls' + +There are two decent alternatives to 'ls' available on GitHub. These improve on its output providing output as grids and trees, and in one case icons. + +Both are written in rust + +lsd + +sdfsdfsd https://github.com/Peltoche/lsd + +exa + +dsfsfsd https://github.com/ogham/exa // https://the.exa.website + +Alternative to 'cat' + +bat https://github.com/sharkdp/bat + +Last but not least 'delta' + +https://github.com/dandavison/delta + diff --git a/_posts/2020-05-27-camino-de-santiago.md b/_posts/2020-05-27-camino-de-santiago.md new file mode 100644 index 0000000..3b952b0 --- /dev/null +++ b/_posts/2020-05-27-camino-de-santiago.md @@ -0,0 +1,5 @@ +--- +layout: post +title: camino-de-santiago +date: 2020-05-27 01:45 +0100 +---