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 | |
enum HttpCodes { | |
// Informational | |
CONTINUE = 100, | |
SWITCHING_PROTOCOLS = 101, | |
PROCESSING = 102, | |
// Succcess | |
OK = 200, | |
CREATED = 201, |
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
# | |
# Python Script to Replace the File Names in a Folder | |
# Changes by @m-etka | |
# | |
import os | |
# Get working directory | |
path = os.getcwd() |
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 "TranslationHelper.h" | |
#include <QGuiApplication> | |
#include <QTranslator> | |
TranslationHelper::TranslationHelper(QObject *parent) | |
: QObject(parent) | |
, m_Translator(new QTranslator(this)) | |
, m_SourceLang("tr_TR") | |
, m_CurrentLang(m_SourceLang) | |
, m_TranslationsDir("translations") |
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
while read p; do youtube-dl --no-check-certificate -x --audio-format mp3 --audio-quality 1 $p; done <Nightcore.txt |
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
--align-pointer=name | |
--align-reference=name | |
--convert-tabs | |
--mode=c | |
--pad-method-colon=after | |
--pad-header | |
--pad-method-prefix | |
--pad-oper | |
-A8 | |
--unpad-paren |
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
swagger: 2.0 | |
host: api.quantum.smeltzer.digital | |
schemes: | |
- http | |
- https | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
info: |
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
diff --git a/zxcvbn.c b/zxcvbn.c | |
index ebe9e31..5b2dcf3 100644 | |
--- a/zxcvbn.c | |
+++ b/zxcvbn.c | |
@@ -41,6 +41,7 @@ | |
#include <stdio.h> | |
#else | |
#include <fstream> | |
+#include <QFile> | |
#endif |
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
template <typename Type, typename ComparisonFunc = std::equal_to<Type>> | |
class is | |
{ | |
public: | |
constexpr is(Type t) | |
: m_Value(std::move(t)) | |
{} | |
bool any_of(const std::initializer_list<Type> &list) const | |
{ |
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
set(KinectSDK2_FOUND OFF CACHE BOOL "Kinect 2.x SDK found") | |
set(KINECTSDK20_DIR "NOT FOUND" CACHE PATH "Kinect 2.x SDK path") | |
if(WIN32) | |
if(EXISTS $ENV{KINECTSDK20_DIR}) | |
message(KINECT_FOUND) | |
set(KinectSDK2_FOUND ON CACHE BOOL "Kinect 2.x SDK found" FORCE) | |
set(KinectSDK2_DIR $ENV{KinectSDK2_DIR} CACHE PATH "Kinect 2.x SDK path" FORCE) | |
if(EXISTS $ENV{KINECTSDK20_DIR}/inc) | |
set(KinectSDK2_INCLUDE_DIRS $ENV{KINECTSDK20_DIR}/inc) |
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 <Kinect.h> | |
#include <iostream> | |
void processBodies(const unsigned int &bodyCount, IBody **bodies); | |
template<class Interface> | |
static inline void safeRelease(Interface *&interfaceToRelease) | |
{ | |
if (interfaceToRelease != nullptr) { | |
interfaceToRelease->Release(); | |
interfaceToRelease = nullptr; |