Skip to content

Instantly share code, notes, and snippets.

View MrJacz's full-sized avatar
😀
Project-Blue anyone?

Jacz MrJacz

😀
Project-Blue anyone?
View GitHub Profile
@MrJacz
MrJacz / api_data.json
Created March 27, 2018 11:59
Idiotic api data
[
{
"type": "get",
"url": "/effects/brightness",
"title": "Brightness",
"version": "1.0.0",
"name": "Brightness",
"group": "Effects",
"header": {
"fields": {
module.exports = {
extends: "eslint:recommended",
env: {
node: true,
es6: true
},
parserOptions: {
ecmaVersion: 9,
sourceType: "module"
},
@MrJacz
MrJacz / test.ts
Created March 29, 2019 19:42
there
public someFuncName(uri, data) {
return new Promise((resolve, reject) => {
writeFile(uri, data, err => {
if (err) return reject(err);
resolve(true);
});
});
}
import { AppServer } from './server';
import { TwitchChat } from './twitch-chat';
import { AlertsManager } from './alerts-manager';
import EffectsManager from './effects-manager';
import Commander from './commander';
import * as config from './config';
const effectsManager = new EffectsManager();
const commander = new Commander(effectsManager);