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 <iomanip> | |
#include <kumori/kumori.hpp> | |
class application_server : public kumori::http_server<application_server> | |
{ | |
public: | |
explicit application_server(boost::asio::io_service& service) | |
: http_server(service) |
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 <fstream> | |
#include <array> | |
#include <map> | |
#include <algorithm> | |
#include <boost/iterator/transform_iterator.hpp> | |
#include <boost/numeric/odeint.hpp> | |
namespace cvcpp |
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
#pragma once | |
#include <type_traits> | |
#include <vector> | |
#include <unordered_set> | |
#include <set> | |
#include <functional> | |
#include <boost/optional.hpp> | |
namespace astarpp | |
{ |
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
CXX ?= clang++ | |
CFLAGS = -std=c++14 -MMD -MP -Wall -Wextra | |
CFLAGS_DEBUG = -g -O0 | |
CFLAGS_RELEASE = -O3 | |
LDFLAGS = -lpthread -lboost_system | |
buildtype := release | |
ifeq ($(buildtype), debug) |
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
UseTab: Never | |
IndentWidth: 4 | |
TabWidth: 4 | |
AccessModifierOffset: -4 | |
BreakBeforeBraces: Allman | |
NamespaceIndentation: All | |
AlwaysBreakTemplateDeclarations: true | |
MaxEmptyLinesToKeep: 1 | |
KeepEmptyLinesAtTheStartOfBlocks: true | |
BreakConstructorInitializersBeforeComma: true |
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
CXX ?= clang++ | |
CFLAGS = -std=c++14 -MMD -MP -Wall -Wextra | |
CFLAGS_DEBUG = -g -O0 | |
CFLAGS_RELEASE = -O3 | |
LDFLAGS = -lpthread -lboost_system | |
buildtype := release | |
ifeq ($(buildtype), debug) |
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
void vert(inout appdata_full v) { | |
v.vertex.xyz += normalize(UnityObjectToWorldNormal(v.normal)) * sin(_Time * 10.0 + (v.texcoord.x + v.texcoord.y) * 10.0) * 0.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
#!/bin/bash | |
wget -O - -q https://github.com/$1/archive/$2.tar.gz | sha512sum -b | sed "s/\s.*//" |
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
Shader "Effect/Glass" | |
{ | |
Properties | |
{ | |
_Color("Color", Color) = (1,1,1,1) | |
_Shift("Shift", float) = 0.3 | |
_Chroma("Chroma", float) = 0.01 | |
} | |
SubShader | |
{ |
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
using System; | |
using UdonSharp; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using VRC.SDKBase; | |
using VRC.Udon; | |
public class TakeMyHand : UdonSharpBehaviour | |
{ | |
VRCPlayerApi[] players = new VRCPlayerApi[0]; |
OlderNewer