using Byte = std::uint8_t;
#include <vector>
# 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) |
'use strict'; | |
function toUtf8FromPotentialBase64Encoded(input) { | |
const buffer = Buffer.from(input, 'base64'); | |
return (input === buffer.toString('base64')) | |
? buffer.toString('utf-8') | |
: input; | |
} |
# apigen.neon | |
# | |
# Neon configuration file for the documentation generator "ApiGen". | |
# | |
# This program is free software: you can redistribute it and/or modify it under | |
# the terms of the GNU Lesser General Public License as published by the Free | |
# Software Foundation, either version 3 of the License, or (at your option) any | |
# later version. | |
# | |
# This program is distributed in the hope that it will be useful, but WITHOUT |
<?php | |
namespace FlorianWolters\Example\Pattern\Design\Creational\Singleton; | |
/** | |
* Demonstration of the *Singleton* design pattern in PHP. | |
* | |
* This is the correct implementation of the *Singleton* creational design | |
* pattern in the PHP programming language. | |
* | |
* - Prevents cloning of an instance via the `__clone()` magic method. |
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:
<?php | |
/** | |
* FinalKeywordIgnoredInTrait.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 | |
* | |
* @link https://bugs.php.net/bug.php?id=62204 |
<?php | |
namespace FlorianWolters\Component\Core; | |
/** | |
* A stub class for {@link HashCodeTraitTest} that uses the trait {@link | |
* HashCodeTrait}. | |
* | |
* @author Florian Wolters <wolters.fl@gmail.com> | |
* @copyright 2012 Florian Wolters | |
* @license http://gnu.org/licenses/lgpl.txt LGPL-3.0+ |
<?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 | |
*/ |
@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 |