Skip to content

Instantly share code, notes, and snippets.

View NiklasMerz's full-sized avatar

Niklas Merz NiklasMerz

View GitHub Profile
@NiklasMerz
NiklasMerz / survey.md
Last active November 10, 2023 11:14
Cordova User Survey Questions Draf

Cordova User Survey Questions

Have you worked on an app using Apache Cordova in the past 6 months

[ ] Yes

[ ] No

Open Source: Zeit und Geld richtig investieren

Open Source ist heute aus der Softwareentwicklung nicht mehr wegzudenken. Mit Open Source Tools und Bibliotheken kann man oft schneller und besser Projekte umsetzen. Man begibt sich aber auch in eine gewisse Abhängigkeit und die Open Source Welt lebt davon, dass Nutzer auch etwas zurückgeben. Ich habe viele Jahre an einem Projekt gearbeit, das sehr stark von einem Open Source Tool abhängig ist und wurde so selbst Teil dieser Community.

Deshalb möchte Ich euch ein paar praktische Tipps und persönliche Erfahrungen mitgeben, damit ihr ein besseres Gefühl über eure Open Source Nutzung bekommt und eure Projekte besser unterstützen könnt.

@NiklasMerz
NiklasMerz / webviews.md
Last active July 29, 2022 16:55
Different WebViewAPIs
Name Platforms Description Features Limitations UX flexibility Usage Example State shared
Android Webview Android Default WebView implementation on Android Rich API with JS and CSS interaction, Tie WebView and native APIs together Features equal to current Chrime but some Web APIs are not supported Allows you to mix native content with the WebView and to resize it Hybrid Frameworks (Cordova, Capacitor)
Custom Tabs Android API for opening browser-like WebViews on Android Browser navigation and conveniance features like password fill App has no access to Web content Covers the entire application with some minimal top bar customization Link preview in social media apps
SFSafariViewController iOS, iPadOS API for opening browser-like WebViews on iOS Browser navigation and conveniance features like password fill App has no access to Web content Covers the entire application
@NiklasMerz
NiklasMerz / issue.md
Last active May 25, 2022 05:52
WebviewUsecas
name about title labels assignees
Use case & issue template
Describe this issue template's purpose here.

Use case name

@NiklasMerz
NiklasMerz / sample.ts
Created November 5, 2019 19:56
Pecuniator Script
var budget = new Budget({name: "My car budget", interval: "yearly"});
var account = Accounts.get("MYGIROIBAN");
const insuranceQuery = new TransactionsQuery();
insuranceQuery.subject.contains("Insurance Payment Car");
//insuranceQuery.subject.regex(..
insuranceQuery.iban.equals("DE....")
const insuranceTransactions = account.query(insuranceQuery);
budget.add("Insurance", insuranceTransactions);
@NiklasMerz
NiklasMerz / hosts-test
Created March 14, 2019 21:03
Test Gisdirect
repo https://github.com/niklasmerz/gistdirect
@NiklasMerz
NiklasMerz / deployment.yaml
Last active May 9, 2020 00:07
Github Actions Kubernetes Deploy
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
app: myproject
name: myproject
namespace: default
spec:
progressDeadlineSeconds: 600
replicas: 1
@NiklasMerz
NiklasMerz / Dockerfile
Last active January 5, 2019 14:35
Sample Dockerfile for building and running Go applications
FROM golang:alpine as builder
ENV PATH /go/bin:/usr/local/go/bin:$PATH
ENV GOPATH /go
COPY . /go/src/github.com/niklasmerz/myproject
RUN set -x \
&& cd /go/src/github.com/niklasmerz/myproject \
&& go build \
@NiklasMerz
NiklasMerz / perkeep.service
Last active January 3, 2023 09:24
/etc/systemd/system/perkeep.service
[Unit]
Description= Perkeep Server
Documentation= https://perkeep.org
[Service]
Type= simple
User= perkeep
ExecStart= /opt/perkeep/perkeepd

Keybase proof

I hereby claim:

  • I am niklasmerz on github.
  • I am niklasmerz (https://keybase.io/niklasmerz) on keybase.
  • I have a public key whose fingerprint is 69DF A493 7E54 F8FF 6362 E39E D4D8 267B 628A 1BD8

To claim this, I am signing this object: