Skip to content

Instantly share code, notes, and snippets.

View vinniefalco's full-sized avatar
🏠
Working from home

Vinnie Falco vinniefalco

🏠
Working from home
View GitHub Profile
1. For the sake of this tutorial we need a user repo (githubUsername.github.io).
On your root of jekyll project,
Create a folder named “.circleci”, inside this folder we’ll put a file named “config.yml”
(attached on upwork message).
Here is all the circleci thing was located.
subrange(
basic_multi_buffer const& b,
size_type pos,
size_type n) noexcept
{
pos = pos + b.in_pos_;
auto it = b_->list_.begin();
for(;;)
{
if(it == b_->list_.end())
/** Set the port.
The port of the URL is set to the specified
which must have the <em>port</em> syntax:
@li If the string is empty, the port is
cleared including the leading colon (':'). If
the port was the last remaining portion of
the authority, then the entire authority is
removed including the leading double slash ('//').
void
testPath()
{
// path-empty
BOOST_TEST(value("").set_encoded_path("").encoded_url() == "");
BOOST_TEST(value("//x#").set_encoded_path("").encoded_url() == "//x#");
// path-abempty
BOOST_TEST(value("//x#").set_encoded_path("/").encoded_url() == "//x/#");
BOOST_TEST(value("//x#").set_encoded_path("//").encoded_url() == "//x//#");
// path-empty
BOOST_TEST(value("").set_encoded_path("").encoded_url() == "");
BOOST_TEST(value("//x#").set_encoded_path("").encoded_url() == "//x#");
// path-abempty
BOOST_TEST(value("//x#").set_encoded_path("/").encoded_url() == "//x/#");
BOOST_TEST(value("//x#").set_encoded_path("//").encoded_url() == "//x//#");
BOOST_TEST(value("//x#").set_encoded_path("/y").encoded_url() == "//x/y#");
BOOST_TEST_THROWS(value("//x#").set_encoded_path("x"), invalid_part);
BOOST_TEST_THROWS(value("//x#").set_encoded_path("x/"), invalid_part);
//------------------------------------------------------
//
// fragment
//
//------------------------------------------------------
/** Return the fragment.
This function returns the fragment of the URL:
namespace url {
class basic_value
{
public:
basic_value() = default;
// return the hostname
string_view
encoded_hostname() const noexcept
namespace url {
class basic_value
{
char* s_;
public:
// construct a URL from a string.
// the string is copied.
basic_value( string_view s );
namespace url {
class basic_value
{
char* s_;
public:
// construct a URL from a string.
// the string is copied.
basic_value( string_view s );
namespace url {
class basic_value
{
char* s_;
protected:
virtual
char*
reserve(