$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
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
$OutputEncoding = New-Object -typename System.Text.UTF8Encoding | |
[Console]::OutputEncoding = New-Object -typename System.Text.UTF8Encoding |
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
using System; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
//Unity 4.1.5 | |
public class UnityTextures : EditorWindow | |
{ |
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 <android/log.h> | |
class androidbuf: public std::streambuf { | |
public: | |
enum { bufsize = 128 }; // ... or some other suitable buffer size | |
androidbuf() { this->setp(buffer, buffer + bufsize - 1); } | |
private: | |
int overflow(int c) { | |
if (c == traits_type::eof()) { | |
*this->pptr() = traits_type::to_char_type(c); |
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
using System; | |
using System.Collections; | |
using System.Text; | |
namespace System | |
{ | |
/// <summary> | |
/// Tuple. | |
/// </summary> | |
public static class Tuple |
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
using System.IO; | |
using Nancy; | |
using Nancy.ViewEngines; | |
namespace Web.Modules | |
{ | |
public static class ModuleExtensions | |
{ | |
public static string RenderRazorViewToString(this NancyModule module, string viewName, object model) | |
{ |
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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
using Object = UnityEngine.Object; | |
namespace Swing.Editor | |
{ | |
public class EditorCoroutine |
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
#version 430 core | |
in vec2 UV; | |
layout(binding = 0) uniform sampler2DMS texColor; | |
layout(binding = 1) uniform sampler2DMS texDepth; | |
const int samples = 8; | |
float samplesInverted = 1.0 / samples; |
OlderNewer