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/** |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<profiles version="13"> | |
<profile kind="CodeFormatterProfile" name="GoogleStyle" version="13"> | |
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/> |
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); |