- Screen aspect ratio: 16x9
- Screen resolution: 640 x 360 pixels
- Share contact icon size: 640 x 360 pixels
- Menu option icon size: 50 x 50 pixels
- Supported media format: MP4
- Video: H.264 baseline and H.263 baseline
- Audio: AAC and MP3
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
// | |
// C++ style comments | |
// | |
name "Test model" // key-value pair (kvp) | |
version 1.0 // kvp as number | |
rev 3182 // ... | |
full_screen true // boolean value - can not use 'true'/ 'false as kvp key | |
resizable false |
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> | |
#include <string> | |
std::string printy(const std::string& p) | |
{ | |
return std::move(p); | |
} | |
template<typename ... Types> | |
std::string printy(const std::string& p, float first, Types ... rest) |
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 comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) | |
int main(int, const char**) | |
{ | |
// create window normally | |
return 0; | |
} |
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
// main.cpp | |
// | |
#include <windows.h> | |
#include <windowsx.h> | |
#include <d3d11.h> | |
#include <d3d11_2.h> | |
#include <algorithm> |
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
/* | |
Copyright 2013 Scott Ramsay | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
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
class AsyncProcess(object): | |
def __init__(self, arg_list, env, listener, | |
# .... (removed) code | |
# Hide the console window on Windows | |
startupinfo = None | |
if os.name == "nt": | |
startupinfo = subprocess.STARTUPINFO() | |
# comment line below to enable GUI processes |
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
#!/bin/bash | |
if [-z "$1" ]; then | |
BASE_PATH=. | |
else | |
BASE_PATH=$1 | |
fi | |
if [-z "$2" ]; then | |
FILTER_EXT=* |
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
<Reference Include="MonoMac" Condition="'$(Configuration)'=='DebugMono'" /> | |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Mono|AnyCPU' "> | |
<DefineConstants>PLATFORM_MONO</DefineConstants> | |
<PropertyGroup /> |
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
git config --global merge.tool p4merge | |
git config --global mergetool.p4merge.trustExitCode false | |
git config --global diff.tool p4merge |