Skip to content

Instantly share code, notes, and snippets.

View DevWurm's full-sized avatar

Leo Lindhorst DevWurm

  • Saxonia Systems AG @saxsys
  • Dresden, Germany
View GitHub Profile
@DevWurm
DevWurm / entry.js
Last active March 4, 2019 15:21
angular-cli Electron configuration
const {app, BrowserWindow} = require('electron')
const path = require('path')
const url = require('url')
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let win
function createWindow () {
// Create the browser window.
@DevWurm
DevWurm / installation.md
Last active March 3, 2018 13:25 — forked from tessi/installation.md
Install OpenProject 6 on uberspace.de

How to install OpenProject on uberspace.de

Follow those steps to install OpenProject on a fresh uberspace.

Step 1: Install dependencies

First we set-up all dependencies. We use ruby 2.2.5 and install gems in a user directory:

echo "gem: --user-install --no-rdoc --no-ri" > ~/.gemrc

cat <<'EOF' >> ~/.bash_profile

import CustomReporter = jasmine.CustomReporter;
import CustomReporterResult = jasmine.CustomReporterResult;
export class TraceReporter implements CustomReporter {
private traceResult = new Map<string, SpecResult[]>();
specDone(result: CustomReporterResult) {
const tags = (result['metadata'] || {tags: []}).tags;
tags.forEach(tag => {
if (this.traceResult.has(tag)) {
@DevWurm
DevWurm / icon.png
Last active August 23, 2017 07:05
Turtle installer - Installer for the turtl.it linux 64bit application
icon.png
@DevWurm
DevWurm / franz.desktop
Last active May 7, 2017 14:18
Franz App Desktop File
[Desktop Entry]
Name=Franz
Comment=Multi-service messenger
Exec=/opt/Franz/Franz
Icon=franz
Terminal=false
Type=Application
Categories=Messaging,Internet
@DevWurm
DevWurm / fonts.md
Last active May 7, 2017 13:19
A list of awesome free fonts
@DevWurm
DevWurm / metropolis-beamerfonts.tex
Created May 1, 2017 15:15
Beamerfont declarations for Metropolis theme (for overwriting)
\setbeamerfont{title}{size=\Large,%
series=\bfseries}
\setbeamerfont{author}{size=\small}
\setbeamerfont{date}{size=\small}
\setbeamerfont{section title}{size=\Large,%
series=\bfseries}
\setbeamerfont{block title}{size=\normalsize,%
series=\bfseries}
\setbeamerfont{block title alerted}{size=\normalsize,%
series=\bfseries}
@DevWurm
DevWurm / fonts.tex
Last active April 26, 2017 14:04
Specify different font for section headings / title
\usepackage{titlesec}
\usepackage{titling}
% Specify different font for section headings
\newfontfamily\headingfont[]{Roboto Bold}
\titleformat*{\section}{\LARGE\headingfont}
\titleformat*{\subsection}{\Large\headingfont}
\titleformat*{\subsubsection}{\large\headingfont}
\renewcommand{\maketitlehooka}{\headingfont} % font in \maketitle
@DevWurm
DevWurm / obsall.ts
Created April 3, 2017 08:19
Promise.all and promise.then(...).then(...) behavior for Observables
const create = (val) => {
return (o: Observer<any>) => {
setTimeout(() => {
console.log(val);
o.next(val);
o.complete();
}, 5000)
}
};
@DevWurm
DevWurm / install.sh
Created January 5, 2017 15:00
TypeScript configuration for Node.js
npm install -D @types/node