I hereby claim:
- I am janbiasi on github.
- I am janbiasi (https://keybase.io/janbiasi) on keybase.
- I have a public key ASCtE8AeCKptUGp691KbULr8_s9F9RhzyFKF9ieeYdm9vwo
To claim this, I am signing this object:
| rm -rf /Library/Application\ Support/Avid/Audio/Plug-Ins/** | |
| rm -rf /Library/Audio/Plug-Ins/Components/** |
I hereby claim:
To claim this, I am signing this object:
| import { Component, EventListener, GondelBaseComponent } from '@gondel/core'; | |
| @Component() | |
| export class UIMyComponent extends GondelBaseComponent { | |
| static componentName = 'MyComponent'; | |
| @EventListener('click', '.js-a-my-component__button') | |
| _handleClick(ev: any) { | |
| alert('Button clicked!'); | |
| } |
| ['SIGINT', 'SIGTERM'].forEach(sig => { | |
| process.on(sig, () => process.exit()); | |
| }); |
| const DATASOURCE = 'data.json'; | |
| const fs = require('fs'); | |
| const parser = require('body-parser'); | |
| const app = require('express')(); | |
| app.use(parser.json()); | |
| // HTTP GET /api/data | |
| app.get('/api/data', (req, res, next) => { |
| var cluster = require('cluster'); | |
| var numCPUs = require('os').cpus().length; | |
| var proxy = require('./proxy'); | |
| if (cluster.isMaster) { | |
| for (var i = 0; i < numCPUs; i++) { | |
| // Erstellt pro Kern einen neuen Worker | |
| cluster.fork(); | |
| } | |
| } else { |
| var http = require('http'); | |
| var httpProxy = require('http-proxy'); | |
| exports.createServer = function(host, proxyPort, httpPort) { | |
| proxyPort = proxyPort || 8000; | |
| httpPort = httpPort || 9000; | |
| host = host || 'localhost'; | |
| // Erstellt den Proxy-Server | |
| httpProxy.createServer(httpPort, host).listen(proxyPort); |
| (function() { | |
| var root = this; | |
| var giveBackOldPromise = Promise; | |
| var isNode = typeof process === 'object' || window === undefined; | |
| var asap = function(handler) { | |
| if(isNode) { | |
| process.nextTick(handler); | |
| } else { |