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 2015-2020 Piperift - All rights reserved | |
#pragma once | |
#include "Platform/Platform.h" | |
#include <atomic> | |
namespace VCLang |
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 "MyManager.h" | |
#include <Engine/Engine.h> | |
#include <GameDelegates.h> | |
TMap<TWeakObjectPtr<UGameInstance>, TWeakObjectPtr<UMyManager>> UMyManager::GlobalManagers {}; | |
void UMyManager::DoInitialize() | |
{ |
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 2015-2019 Piperift. All Rights Reserved. | |
#pragma once | |
#include <Async/AsyncWork.h> | |
#include "Misc/TypeTraits.h" | |
class ITaskHolder { | |
public: |
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 2015-2018 Piperift. All Rights Reserved. | |
#pragma once | |
#include <Async/AsyncWork.h> | |
#include "Misc/TypeTraits.h" | |
template<class TaskType> | |
class FTaskHolder : public FAsyncTask<TaskType> { |
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 "MyEditorPrivatePCH.h" | |
#include "Kismet2/KismetEditorUtilities.h" | |
DEFINE_LOG_CATEGORY(LogMyEditor) | |
#define LOCTEXT_NAMESPACE "MyEditor" | |
void FMyEditorModule::StartupModule() | |
{ |
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 once | |
#include "MyEditorPrivatePCH.h" | |
DECLARE_LOG_CATEGORY_EXTERN(LogMyEditor, All, All) | |
class FMyEditorModule: public IModuleInterface | |
{ | |
public: | |
virtual void StartupModule() override; |
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
//ServeMe - github.com/muit/serveMe | |
var server = ServeMe(); | |
server.get("/user").do(authenticated).do(function(req, res) { | |
return { | |
json: { | |
message: "Hey!" | |
} | |
}; | |
}); |
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
/** | |
* Wait for x events to finish, and then call a function. | |
* @param {Array} ids [Registered event ids] | |
*/ | |
function EventWaiter(ids){ | |
if(names instanceof Array) { | |
this.waitEvents = ids; | |
} | |
} |
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
{ | |
"update_rate": "00 00 00 * * *", | |
"provider": { | |
"name": "dokify", | |
"url": "https://dokify.net" | |
}, | |
"sources": [ | |
{ | |
"name": "total-checkins-24hours", | |
"description": "The amount of checkins made in the last 24hours", |
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
/** If using Unity, remove this commentary | |
* [System.Serializable] | |
**/ | |
public class Trigger{ | |
public bool value; | |
public Trigger(bool value = true) { | |
this.value = value; | |
} |