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
-- Simple Premake script to get all C/C++ files | |
solution "SolutionName" | |
configurations { "Debug", "Release" } | |
project "ProjectName" | |
kind "ConsoleApp" | |
language "C++" | |
files { "**.h", "**.cpp"} | |
links{ "SDL2", "glew32", "glew32s"} |
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
solution "Lua" | |
configurations { "Release", "Debug"} | |
os.chdir("src") | |
-- The static Lua library | |
project "Lua51" | |
bindir = "bin" | |
libdir = "lib" | |
kind "StaticLib" |
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 "glm.h" | |
#include<vector> | |
#include <iostream> | |
#include<Windows.h> | |
double PCFreq = 0.0; | |
__int64 CounterStart = 0; | |
void StartCounter() | |
{ | |
LARGE_INTEGER li; |
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
from socket import * | |
host = "localhost" | |
port = 50000 | |
buf = 1024 | |
addr = (host,port) | |
# Create socket and bind to address | |
UDPSock = socket(AF_INET,SOCK_DGRAM) | |
UDPSock.bind(addr) | |
print "Listening" |
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
terraform { | |
required_providers { | |
digitalocean = { | |
source = "digitalocean/digitalocean" | |
version = "~> 2.0" | |
} | |
} | |
} | |
# Set the variable value in *.tfvars file |
OlderNewer