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
// Windows | |
// g++ *.cpp -o vulkan -lSDL2main -lSDL2 -lvulkan-1 | |
// Linux | |
// g++ *.cpp -o vulkan -lSDL2main -lSDL2 -lvulkan | |
// https://vulkan-tutorial.com/ | |
#include <iostream> | |
using namespace std; | |
#include <SDL2/SDL.h> |
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
android { | |
signingConfigs { | |
getByName("debug") { | |
keyAlias = "debug" | |
keyPassword = "my debug key password" | |
storeFile = file("/home/miles/keystore.jks") | |
storePassword = "my keystore password" | |
} | |
create("release") { | |
keyAlias = "release" |
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
// buildSrc/src/main/kotlin/Config.kt | |
object Config { | |
const val ACTIVITY = "com.mautinoa.cardapp.MainActivity" | |
const val PACKAGE = "com.mautinoa.cardapp" | |
const val kotlinVersion = "1.2.71" | |
object SdkVersions { | |
val versionCode = 1 | |
val compile = 28 | |
val target = 26 |
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 <node.h> | |
#include "Test.h" | |
namespace demo { | |
using v8::FunctionCallbackInfo; | |
using v8::Isolate; | |
using v8::Local; | |
using v8::Object; |
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
""" | |
The most basic (working) Windows service possible. | |
Requires Mark Hammond's pywin32 package. | |
Most of the code was taken from a CherryPy 2.2 example of how to set up a service | |
""" | |
import pkg_resources | |
import win32serviceutil | |
from paste.script.serve import ServeCommand as Server | |
import os, sys | |
import ConfigParser |