using Byte = std::uint8_t;
#include <vector>
'use strict'; | |
function toUtf8FromPotentialBase64Encoded(input) { | |
const buffer = Buffer.from(input, 'base64'); | |
return (input === buffer.toString('base64')) | |
? buffer.toString('utf-8') | |
: input; | |
} |
/** | |
* Demonstrates *The Rule of Five* C++ idiom. | |
* | |
* @file the_rule_of_five.h | |
* @author Florian Wolters <[email protected]> | |
* | |
* @section License | |
* | |
* Copyright Florian Wolters 2015 (http://blog.florianwolters.de). | |
* |
This document contains installation instructions for tools and libraries for the programming language C++. It uses the cross-platform build system [CMake][0] whenever the software to download, configure, build and run supports it.
When building with multiple compilers for multiple architectures, a certain naming scheme is used (Convention over Configuration), since the build description has to consist of the following four aspects to be unique:
#!/bin/bash | |
function pause() { | |
if [ "$#" -eq 0 ] | |
then | |
PROMPT="Press any key . . ." | |
else | |
PROMPT="$1" | |
fi |
# Copyright (c) 2014-2023 Florian Wolters | |
# MIT License | |
cmake_minimum_required(VERSION 3.26.3) | |
project( | |
"hello_boost_with_cmake" | |
VERSION 2.0.0 | |
LANGUAGES CXX) |
@ECHO OFF | |
REM Update Composer | |
composer self-update | |
REM PHPUnit | |
CALL composer global require phpunit/phpunit | |
REM Mock Object library for PHPUnit | |
CALL composer global require phpunit/phpunit-mock-objects |
//------------------------------------------------------------------------------ | |
// <copyright file="FieldCreator.cs" company="Florian Wolters"> | |
// Copyright (c) Florian Wolters. All rights reserved. | |
// </copyright> | |
// <author>Florian Wolters <[email protected]></author> | |
//------------------------------------------------------------------------------ | |
namespace FlorianWolters.Office.Word.Fields | |
{ | |
using System; |
<?php | |
/** | |
* DirectCallToMagicMethodConstruct.php | |
* | |
* PHP 5.4.13 (cli) (built: Mar 15 2013 02:05:59) | |
* Copyright (c) 1997-2013 The PHP Group | |
* Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies | |
* with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans | |
*/ |