cjdb / cjdb.github.io Goto Github PK
View Code? Open in Web Editor NEWRepository for hosting Christopher Di Bella's personal website.
Home Page: https://blog.cjdb.xyz
Repository for hosting Christopher Di Bella's personal website.
Home Page: https://blog.cjdb.xyz
Hey there!
this page: https://blog.cjdb.xyz/applied-modern-cxx-01.html
contains this text: [RSS feed][rss]
I think you're missing a [rss]: link
in the original markdown source.
char const letter = 'A'; // value is 65 in UTF-8
char
"code units"?The mixed use of HTTPS and HTTP is causing browsers to flag the site transition from http://cjdb.com.au/blog to https://github.com/cjdb/cjdb.github.io/issues as insecure. Looking at the source code for the cjdb.com.au/blog page, it looks like you're trying to load the GitHub Pages site as an iframe. The change from insecure frame contents to secure frame contents is what is the problem (I think).
I think there are two or three possible solutions. One would be to get SSL set up on your domain using Let's Encrypt so that there is no transition from insecure to secure. I think this step should be done regardless, as plain HTTP is being deprecated everywhere and Google is even ranking insecure pages lower.
You could also use a subdomain instead of a subdirectory (blog.cjdb.com.au as opposed to cjdb.com.au/blog). With this, you can just set the subdomain to resolve to the GitHub Pages site. See https://help.github.com/articles/setting-up-an-apex-domain. This has the benefit of not requiring a web server to manage the proxy over to GH Pages, so you only have to pay for the domain and not a full server as well.
The last one would be, instead of using an iframe, to set up /blog/ to forward to the cjdb.github.io directly. I'm not sure if you're using Apache or ngnix as your web server, but it should be straightforward to set that up. This is the more involved of the two, but has the benefit of keeping your links intact, which the subdomain does not, as well as keeping a web server active to service any other sites besides just managing the proxy.
Please be aware of the Code of Conduct when discussing.
Great stuff. Just a nitpick:
CHECK(hypotenuse(3.0, 4.0) == 5.0);
I would use ==Approx
because floating point arithmetic.
In chapter 3 there is an error when using Compiler Explorer;
fatal error: 'catch2/catch_test_macros.hpp' file not found
#include <catch2/catch_test_macros.hpp>
It appears that catch2 is not found by Compiler Explorer.
Please be aware of the Code of Conduct when discussing.
Please be aware of the Code of Conduct when discussing.
Please be aware of the Code of Conduct when discussing.
Getting an RSS feed on your blog by any chance? I'd love to stay subscribed to it ;P
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.