Skip to content

Instantly share code, notes, and snippets.

View nixbb's full-sized avatar

Niki Boshoff nixbb

View GitHub Profile
@nixbb
nixbb / settings.json
Created February 5, 2019 09:45
Visual Studio Code Settings for UE4
{
"C_Cpp.default.cppStandard": "c++14",
"C_Cpp.default.cStandard": "c14",
"C_Cpp.clang_format_style": "{Language: Cpp, AccessModifierOffset: -4, ConstructorInitializerIndentWidth: 4, AlignTrailingComments: true, AllowAllParametersOfDeclarationOnNextLine: false, AllowShortIfStatementsOnASingleLine: false, AllowShortLoopsOnASingleLine: false, AllowShortFunctionsOnASingleLine: true, AlwaysBreakTemplateDeclarations: false, AlwaysBreakBeforeMultilineStrings: false, BreakBeforeBinaryOperators: false, BreakBeforeTernaryOperators: false, BinPackParameters: true, ColumnLimit: 0, ConstructorInitializerAllOnOneLineOrOnePerLine: true, IndentCaseLabels: false, MaxEmptyLinesToKeep: 2, NamespaceIndentation: None, SpacesBeforeTrailingComments: 1, Cpp11BracedListStyle: true, Standard: Cpp11, IndentWidth: 4, TabWidth: 4, UseTab: Always, BreakBeforeBraces: Allman, IndentFunctionDeclarationAfterType: false, SpacesInParentheses: false, SpacesInAngles: false, SpaceInEmptyParentheses: false, SpacesInCStyleCastParenthese
@nixbb
nixbb / .gitignore
Last active April 17, 2016 07:50
Unity3D .gitignore
#UNITY
#-----
*.suo
*.csproj
*.unityproj
*.pidb
*.sln
*.userprefs
Library/
[Bb]uilds/
@nixbb
nixbb / StackMob.cs
Created August 25, 2012 09:27
StackMob OAuth 2.0 Unity 3D Example
using UnityEngine;
using System.Collections;
using System.Security.Cryptography;
using System;
using System.Text;
public class StackMob : MonoBehaviour
{
public const string acceptHeader = "application/vnd.stackmob+json; version=0"; // 0 = development, 1 = production
public const string apiKey = "e78a2646-d479-47b1-9ae5-65732c5eabdc"; // nixApp