This is the sequence of steps to follow to create a root gh-pages branch. It is based on a question at [SO]
cd /path/to/repo-name
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
echo "My GitHub Page" > index.html
| #include <cstdint> | |
| namespace detail | |
| { | |
| // FNV-1a 32bit hashing algorithm. | |
| constexpr std::uint32_t fnv1a_32(char const* s, std::size_t count) | |
| { | |
| return ((count ? fnv1a_32(s, count - 1) : 2166136261u) ^ s[count]) * 16777619u; | |
| } | |
| } // namespace detail |
| // g++ main.cpp -o main -lsfml-window -lsfml-graphics -lsfml-system -losg -losgDB -losgGA -losgUtil | |
| #include <SFML/Graphics.hpp> | |
| #include <osgUtil/SceneView> | |
| #include <osg/Node> | |
| #include <osg/CameraNode> | |
| #include <osg/Group> | |
| #include <osgDB/ReadFile> |