diff --git a/.gitignore b/.gitignore index 35857751..b5fac687 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,10 @@ _site *.sublime-workspace codekit-config.json node_modules -_asset_bundler_cache \ No newline at end of file +_asset_bundler_cache +.bundle/ +.jekyll-cache/ +_posts/.jekyll-cache/ +new-images/ +/vendor +.idea/ diff --git a/.idea/clintonboys.github.io.iml b/.idea/clintonboys.github.io.iml deleted file mode 100644 index e4009693..00000000 --- a/.idea/clintonboys.github.io.iml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index c23ecacb..00000000 --- a/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 0ed3b438..00000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index b63ede46..00000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7f..00000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 217ed054..00000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,545 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - W - Welcome to the - Welcome to the per - f - faceb - facebo - faceboo - facebook - em - emma - - - $PROJECT_DIR$/about - - - - - - - - - - - true - DEFINITION_ORDER - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1522003053623 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..3b664107 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "git.ignoreLimitWarning": true +} \ No newline at end of file diff --git a/Gemfile b/Gemfile index 0ac1cd4e..b791b61f 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,6 @@ source 'https://rubygems.org' - -gem "json", "2.0.2" -gem 'jekyll' +gem "json" +gem "jekyll", "~>4.3.3" gem "jekyll-sitemap" -gem 'octopress', '~> 3.0.0.rc.12' +gem 'octopress' gem 'jekyll-paginate' diff --git a/Gemfile.lock b/Gemfile.lock index 0ba984dc..25383b45 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,52 +1,55 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) colorator (1.1.0) - concurrent-ruby (1.1.9) - em-websocket (0.5.2) + concurrent-ruby (1.3.1) + em-websocket (0.5.3) eventmachine (>= 0.12.9) - http_parser.rb (~> 0.6.0) + http_parser.rb (~> 0) eventmachine (1.2.7) - ffi (1.15.3) + ffi (1.16.3) forwardable-extended (2.6.0) - http_parser.rb (0.6.0) - i18n (1.8.10) + google-protobuf (3.23.4-arm64-darwin) + google-protobuf (3.23.4-x86_64-darwin) + http_parser.rb (0.8.0) + i18n (1.14.5) concurrent-ruby (~> 1.0) - jekyll (4.0.1) - addressable (~> 2.8.0) + jekyll (4.3.3) + addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) - i18n (>= 0.9.5, < 2) - jekyll-sass-converter (~> 2.0) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) jekyll-watch (~> 2.0) - kramdown (~> 2.1) + kramdown (~> 2.3, >= 2.3.1) kramdown-parser-gfm (~> 1.0) liquid (~> 4.0) - mercenary (~> 0.3.3) + mercenary (>= 0.3.6, < 0.5) pathutil (~> 0.9) - rouge (~> 3.0) + rouge (>= 3.0, < 5.0) safe_yaml (~> 1.0) - terminal-table (~> 1.8) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) jekyll-paginate (1.1.0) - jekyll-sass-converter (2.1.0) - sassc (> 2.0.1, < 3.0) + jekyll-sass-converter (3.0.0) + sass-embedded (~> 1.54) jekyll-sitemap (1.4.0) jekyll (>= 3.7, < 5.0) jekyll-watch (2.2.1) listen (~> 3.0) - json (2.3.0) - kramdown (2.3.1) + json (2.7.2) + kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - liquid (4.0.3) - listen (3.5.1) + liquid (4.0.4) + listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) - octopress (3.0.12.pre.1) + octopress (3.0.11) jekyll (>= 2.0) mercenary (~> 0.3.2) octopress-deploy @@ -62,30 +65,35 @@ GEM jekyll (>= 2.0) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (4.0.6) - rb-fsevent (0.11.0) - rb-inotify (0.10.1) + public_suffix (5.0.5) + rb-fsevent (0.11.2) + rb-inotify (0.11.1) ffi (~> 1.0) - redcarpet (3.5.1) - rexml (3.2.5) - rouge (3.26.0) + redcarpet (3.6.0) + rexml (3.2.8) + strscan (>= 3.0.9) + rouge (3.30.0) safe_yaml (1.0.5) - sassc (2.4.0) - ffi (~> 1.9) - terminal-table (1.8.0) - unicode-display_width (~> 1.1, >= 1.1.1) + sass-embedded (1.58.3-arm64-darwin) + google-protobuf (~> 3.21) + sass-embedded (1.58.3-x86_64-darwin) + google-protobuf (~> 3.21) + strscan (3.1.0) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) titlecase (0.1.1) - unicode-display_width (1.7.0) + unicode-display_width (2.5.0) + webrick (1.8.1) PLATFORMS - universal-darwin-20 + universal-darwin-23 DEPENDENCIES - jekyll + jekyll (~> 4.3.3) jekyll-paginate jekyll-sitemap - json (= 2.0.2) - octopress (~> 3.0.0.rc.12) + json + octopress BUNDLED WITH 2.2.15 diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index 6fbf033e..00000000 --- a/Gruntfile.js +++ /dev/null @@ -1,88 +0,0 @@ -'use strict'; -module.exports = function(grunt) { - - grunt.initConfig({ - jshint: { - options: { - jshintrc: '.jshintrc' - }, - all: [ - 'Gruntfile.js', - 'assets/js/*.js', - '!assets/js/plugins/*.js', - '!assets/js/scripts.min.js' - ] - }, - uglify: { - dist: { - files: { - 'assets/js/scripts.min.js': [ - 'assets/js/plugins/*.js', - 'assets/js/_*.js' - ] - } - } - }, - imagemin: { - dist: { - options: { - optimizationLevel: 7, - progressive: true - }, - files: [{ - expand: true, - cwd: 'images/', - src: '{,*/}*.{png,jpg,jpeg}', - dest: 'images/' - }] - } - }, - svgmin: { - dist: { - files: [{ - expand: true, - cwd: 'images/', - src: '{,*/}*.svg', - dest: 'images/' - }] - } - }, - watch: { - js: { - files: [ - '<%= jshint.all %>' - ], - tasks: ['jshint','uglify'] - } - }, - clean: { - dist: [ - 'assets/js/scripts.min.js' - ] - } - }); - - // Load tasks - grunt.loadNpmTasks('grunt-contrib-clean'); - grunt.loadNpmTasks('grunt-contrib-jshint'); - grunt.loadNpmTasks('grunt-contrib-uglify'); - grunt.loadNpmTasks('grunt-contrib-watch'); - grunt.loadNpmTasks('grunt-contrib-imagemin'); - grunt.loadNpmTasks('grunt-svgmin'); - - // Register tasks - grunt.registerTask('default', [ - 'clean', - 'uglify', - 'imagemin', - 'svgmin' - ]); - grunt.registerTask('dev', [ - 'watch' - ]); - grunt.registerTask('images', [ - 'imagemin', - 'svgmin' - ]); - -}; \ No newline at end of file diff --git a/_config.yml b/_config.yml index 2dd62d1b..35c34d2f 100644 --- a/_config.yml +++ b/_config.yml @@ -1,11 +1,11 @@ # Site wide configuration title: Clinton Boys -locale: en_AU -url: https://www.clintonboys.com +locale: en_GB +url: https://clintonboys-github-io.vercel.app future: - - true + - false # Jekyll configuration @@ -36,10 +36,10 @@ minimal_mistakes_skin: "dark" # "air", "aqua", "contrast", "dark", "dirt", "neon owner: name: Clinton Boys avatar: bio-photo.jpg - bio: "Australian data scientist and mathematician, living in London." - email: clintonboys@icloud.com + bio: "Australian software engineer and mathematician, living in London." + email: me@clintonboys.com disqus-shortname: - twitter: _clintonboys + twitter: #username google: plus: #username verify: diff --git a/_data/authors.yml b/_data/authors.yml deleted file mode 100644 index d49d88bf..00000000 --- a/_data/authors.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Authors - -billy_rick: - name: Billy Rick - web: http://thewhip.com - email: billy@rick.com - bio: "What do you want, jewels? I am a very extravagant man." - avatar: bio-photo-2.jpg - twitter: extravagantman - google: - plus: BillyRick - -cornelius_fiddlebone: - name: Cornelius Fiddlebone - email: cornelius@thewhip.com - bio: "I ordered what?" - avatar: bio-photo.jpg - twitter: rhymeswithsackit - google: - plus: CorneliusFiddlebone \ No newline at end of file diff --git a/_future_posts/2024-08-09-ten-years.md b/_future_posts/2024-08-09-ten-years.md new file mode 100644 index 00000000..a05ae490 --- /dev/null +++ b/_future_posts/2024-08-09-ten-years.md @@ -0,0 +1,19 @@ +--- +layout: post +title: Ten years of this site +image: + feature: sample-image-54.jpg + credit: Skogafoss, Iceland, 2018 +--- + +In August 2014, during my transition from studying mathematics in Sydney to working in tech in Tel Aviv, I deployed the first version of my personal website. The site looked pretty similar ten years ago to how it looked yesterday, the main difference being that every post had a photograph at the top, of some different part of the world I had travelled to. These photos were quite nice, and a little differentiating feature from other bland text-based personal websites of tech folks, but at some point around five years ago, I decided to conform to the unwritten international bland text-based personal website standard, and removed the images, justifying it with my desire for a minimalist aesthetic, and improved loading times. + +There have been moments when I have not been particularly happy with this website. Having a site on the public internet is a real "putting yourself out there" kind of thing, something that at times feels uncomfortable. Particularly over a period of ten years, there are things I wrote about in the past that I have since learned are wrong, or misguided, or should be done completely differently. It's tempting to delete them - and I have removed a few of the lower quality posts from the site over the years - but I think "blemishes and all" is the best way to go, as there is value in demonstrating your learning process, of "working in public". When I think about it this way, I feel proud of having polished this little corner of the web into something that really feels like it's my own. + +I hope I still find myself writing here in another ten years' time. I wonder if by then I will have given into the urge to redesign the site using Hugo instead of Jekyll[^1], which will presumably be ancient technology in 2034 (though there are an awful lot of PHP sites still up and running today, so who knows). + +And for now I have brought the images back. Life is too short, and the internet is too precious a thing, to not add a little bit of colour when you can. Who else are these little corners of the web we build for, after all? + +### Footnotes + +[^1]: I couldn't resist the urge to do a bit of a cleanup, fix a bunch of hardcoded things and unncessary cruft in the repository, upgrade some packages, and move the deployment to Vercel from Github Pages - I have been using Vercel for my [digital garden](https://www.mtsolitary.com) for a few years and it's really nice. \ No newline at end of file diff --git a/_includes/_author-bio.html b/_includes/_author-bio.html index ff1e7f26..9abe1e9a 100644 --- a/_includes/_author-bio.html +++ b/_includes/_author-bio.html @@ -14,10 +14,10 @@

{{ author.name }}

{% if author.twitter %}Twitter{% endif %} {% if author.facebook %} Facebook{% endif %} {% if author.google.plus %} Google+{% endif %} - {% if author.linkedin %}LinkedIn{% endif %} {% if author.instagram %} Instagram{% endif %} {% if author.tumblr %} Tumblr{% endif %} {% if author.github %}Github{% endif %} + {% if author.linkedin %}LinkedIn{% endif %} {% if author.stackoverflow %} Stackoverflow{% endif %} {% if author.lastfm %} Last.fm{% endif %} {% if author.dribbble %} Dribbble{% endif %} diff --git a/_includes/_footer.html b/_includes/_footer.html index 44a0148b..0dd8df46 100644 --- a/_includes/_footer.html +++ b/_includes/_footer.html @@ -12,4 +12,4 @@ {% endif %} -© {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by Jekyll using the Minimal Mistakes theme. +© {{ site.time | date: '%Y' }} {{ site.owner.name }} diff --git a/_layouts/home.html b/_layouts/home.html index a00704eb..fd104ff2 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -23,7 +23,7 @@ {% endif %} alt="{{ page.title }} feature image"> {% if page.image.credit %} - Photo: {{ page.image.credit }} + {{ page.image.credit }} {% endif %} {% endif %} diff --git a/_layouts/page.html b/_layouts/page.html index 2a8f93fd..ed8ec8d4 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -23,9 +23,9 @@ "{{ site.url }}/images/{{ page.image.feature }}" {% endif %} alt="{{ page.title }} feature image"> - {% if page.image.credit %} - Photo: {{ page.image.credit }} - {% endif %} + {% endif %} @@ -37,10 +37,6 @@

{{ page.title }}

{{ content }} - {% if page.share != false %} -
- {% include _social-share.html %} - {% endif %}
{% if site.owner.disqus-shortname and page.comments == true %}
diff --git a/_layouts/post-index.html b/_layouts/post-index.html index 7760a78b..7d481db6 100644 --- a/_layouts/post-index.html +++ b/_layouts/post-index.html @@ -22,9 +22,9 @@ "{{ site.url }}/images/{{ page.image.feature }}" {% endif %} alt="{{ page.title }} feature image"> - {% if page.image.credit %} - Photo: {{ page.image.credit }} - {% endif %} + {% endif %} diff --git a/_layouts/post.html b/_layouts/post.html index 3dabb9ab..8150026c 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -23,7 +23,7 @@ {% endif %} alt="{{ page.title }} feature image"> {% if page.image.credit %} - Photo: {{ page.image.credit }} + {{ page.image.credit }} {% endif %} {% endif %} @@ -39,29 +39,24 @@

{{ page.title }}

{% else %}

{{ page.title }}

{% endif %} +

{% if page.modified %} and last modified on {% endif %}

{{ content }} -
-
- {% if site.owner.disqus-shortname and page.comments == true %} -
- {% endif %}