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:
#!/bin/bash | |
# for each md file in the directory | |
for file in *.md | |
do | |
# convert each file to html and place it in the html directory | |
# --gfm == use github flavoured markdown | |
marked -o pages/$file.html $file --gfm | |
done |
<?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:
#!/bin/sh | |
TARGET="master" | |
BRANCH="seotweaks" | |
git push origin $TARGET && git stash | |
# Overwrite $TARGET with $BRANCH | |
git checkout $BRANCH | |
git merge -s ours $TARGET |
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 { |