Skip to content

Instantly share code, notes, and snippets.

View mrsimpson's full-sized avatar

Oliver Jägle mrsimpson

  • DB Systel GmbH
  • Lorsch, Germany
View GitHub Profile
@mrsimpson
mrsimpson / launch.json
Last active April 12, 2018 22:54
VSCode launch configuration for Assistify and Rocket.Chat - see https://github.com/Microsoft/vscode-node-debug/issues/179
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to meteor debug",
"type": "node",
"request": "attach",
"port": 9229,
"address": "localhost",
"restart": false,
@mrsimpson
mrsimpson / React starter kit.md
Last active October 30, 2018 07:54
React starter

React starter kit

This holds yet another (my) configuration for starting a react frontend project - for simple copying to an empty folder.

Purpose

This gist provides elementary configuration for starting a React project. It does not contain any backend framework, this can be added as per the requirements.

Features

@mrsimpson
mrsimpson / production-issue-03-2019.md
Last active April 4, 2019 22:15
Analysis: Writing to MongoDB with Rocket.Chat not possible or heavily delayed

This gist is to document what we've seen, understood and which actions have been taken

Phenomena

Obvious issues

  • Users cannot log in - after klicking the login-button, there was neither a response nor a timeout
  • Messages sent remain grayed out for a long time

At the same time

@mrsimpson
mrsimpson / main.yml
Created February 9, 2020 21:36
Simple CI Github pipeline for OpenFaas functions
name: CI
on: [push]
jobs:
build:
runs-on: [ubuntu-latest]
steps:
@mrsimpson
mrsimpson / Readme.md
Last active April 22, 2020 10:15
Open ABAP Runtime

An open source ABAP runtime

This gist holds ideas and artifacts related to creating a runtime for ABAP code - which runs without an ABAP application server, leveraging only OpenSource tools and good practices from the web dev community.

td;dr - what should be achieved

Code logic in a (limited scope of) ABAP.
Transpile ABAP to a script language (most probably Javascript).
Use a containerized runtime which allows to execute this on a server.
@mrsimpson
mrsimpson / script.md
Last active March 1, 2020 20:00
Setting up OpenFaaS - commands
@mrsimpson
mrsimpson / CI-CD-pipeline.yml
Last active March 9, 2020 20:13
Non-SAP ABAP tooling
name: CI/CD
on:
push:
paths-ignore:
- '**.md'
jobs:
test:
runs-on: ubuntu-latest
@mrsimpson
mrsimpson / copyToBrowserTerminal.js
Created March 17, 2021 22:23
Mass creation of Rocket.Chat users
function generatePassword() {
const groups = ["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
"0123456789",
"!§$%&/()=?*+-"];
return [12, 2, 1]
.map(function (len, i) {
return Array(len)
.fill(groups[i]).map(function (x) {
return x[Math.floor(Math.random() * x.length)]
@mrsimpson
mrsimpson / map.geojson
Last active July 22, 2021 12:48
All German cities with multiple borders (multi polygons)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.