This file contains 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
#pragma once | |
/******************************************************************************* | |
OpenSimplex Noise in C++ | |
Ported from https://gist.github.com/digitalshadow/134a3a02b67cecd72181 | |
Originally from https://gist.github.com/KdotJPG/b1270127455a94ac5d19 | |
Optimised by DigitalShadow | |
This version by Mark A. Ropper (Markyparky56) | |
*******************************************************************************/ | |
#include <array> | |
#include <vector> |
This file contains 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
NOT ext:.h AND NOT kind:folders |
This file contains 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> | |
// forward declare Foo so we can make it a friend of FooPrivate | |
class Foo; | |
// allows us to hide instance members from friends of Foo, | |
// but still allows Foo itself to access them. | |
class FooPrivate | |
{ | |
private: |
This file contains 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 | |
set /p Input=Enter YouTube video URL: | |
@echo on | |
youtube-dl -f bestaudio -o "output-audio-only/%%(title)s-%%(id)s.%%(ext)s" %Input% | |
@echo off | |
set /p DUMMY=Press ENTER to continue... |
This file contains 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 | |
:loop | |
java -jar server.jar nogui | |
echo ERROR CODE: %errorlevel% | |
if not %errorlevel%==0 goto :loop |
This file contains 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 <stdio.h> | |
#define _USE_MATH_DEFINES | |
#include <math.h> | |
#include <windows.h> | |
// width and height of screen | |
#define ww 100 | |
#define wh 50 | |
void clr(CHAR_INFO* d) |