This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <variant> | |
#include <type_traits> | |
// ================================================================= | |
template<typename ...TArgs> | |
struct WhateverTypes | |
{ | |
template<typename TOp> | |
auto operator |(TOp op) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if not exist %appdata%\DarkSoulsIII goto NODS3INSTALLED | |
pushd %~dp0 | |
echo Found DarkSoulsIII save in %appdata%\DarkSoulsIII | |
rd /S /Q DarkSoulsIII | |
xcopy /S /I %appdata%\DarkSoulsIII DarkSoulsIII | |
echo Backup succeeded | |
popd | |
pause | |
goto FINISHED |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <functional> | |
#include <string> | |
#include <vector> | |
using namespace std; | |
class Interceptor | |
{ | |
using THandler = function<void(string, function<void(string)>)>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <time.h> | |
#include <iostream> | |
#include <set> | |
#include <stack> | |
#include <string> | |
#include <algorithm> | |
using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <type_traits> | |
using namespace std; | |
const int Max = 1000000; | |
bool isPrime[Max]; | |
int primes[Max] = { 0 }; | |
int primeCount = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <type_traits> | |
using namespace std; | |
const int Max = 1000; | |
bool isPrime[Max]; | |
int primes[Max] = { 0 }; | |
int primeCount = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <type_traits> | |
using namespace std; | |
const int Max = 1000; | |
bool isPrime[Max]; | |
int primes[Max] = { 0 }; | |
int primeCount = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================(1/2)================================ | |
using presentation::controls::Gui*; | |
using presentation::elements::Gui*Element; | |
using presentation::compositions::Gui*Composition; | |
using presentation::compositions::Gui*; | |
using presentation::templates::Gui*; | |
using system::*; | |
using system::reflection::*; | |
using presentation::*; | |
using presentation::Gui*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Resource> | |
<Script name="ViewModelScript"> | |
<Workflow-ViewModel> | |
<![CDATA[ | |
module script; | |
interface IViewModel | |
{ | |
func GetX() : int; | |
func SetX(value : int) : void; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "calc.h" | |
bool Char(const char*& input, char c) | |
{ | |
if(*input==c) | |
{ | |
input++; | |
return true; | |
} | |
return false; |