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
$basePath = 'HKCU:\Control Panel\NotifyIconSettings\' | |
Get-ChildItem -Path $basePath | ` | |
ForEach-Object { Get-ItemProperty "$basePath$($_.PSChildName)" } | ` | |
Set-ItemProperty -Name 'IsPromoted' -Value 1 |
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
std::map<std::string, GLint> LoadTextures(const std::vector<std::string>& InTextureFiles) | |
{ | |
struct TextureData | |
{ | |
std::int32_t TextureWidth = 0; | |
std::int32_t TextureHeight = 0; | |
std::uint8_t* Data = nullptr; | |
}; | |
std::mutex PrintMutex; |
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
precision highp float; | |
uniform float time; | |
uniform vec2 resolution; | |
varying vec3 fPosition; | |
varying vec3 fNormal; | |
varying vec3 fLight; | |
void main() |
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 <ctime> | |
#ifdef __APPLE__ | |
#include <OpenCL/cl.hpp> | |
#else | |
#include <CL/cl.hpp> | |
#endif | |
#define NUM_GLOBAL_WITEMS 1024 |
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 <vector> | |
#define CL_HPP_TARGET_OPENCL_VERSION 200 | |
#define CL_HPP_ENABLE_EXCEPTIONS | |
#include <CL/cl2.hpp> | |
using namespace std; | |
int main() { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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> | |
using namespace std; | |
class BaseClass1 | |
{ | |
public: | |
BaseClass1() | |
{ | |
cout << "Base class 1 constructor" << endl; |
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> | |
class Statement | |
{ | |
public: | |
template<typename T> | |
T Get(int index); |
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
get_directory_property( DirDefs DIRECTORY ${CMAKE_SOURCE_DIR} COMPILE_DEFINITIONS ) | |
foreach( d ${DirDefs} ) | |
message( STATUS "Found Define: " ${d} ) | |
endforeach() | |
#message( STATUS "DirDefs: " ${DirDefs} ) |
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 <thread> | |
#include <chrono> | |
void really_long_function() | |
{ | |
using namespace std::chrono; | |
// Very cool user defined literals for duration representation | |
std::this_thread::sleep_for(3000ms); |
NewerOlder