Skip to content

Instantly share code, notes, and snippets.

View carstenhag's full-sized avatar

Carsten Hagemann carstenhag

View GitHub Profile
<template lang="pug">
b-button(v-if="!newProjectFormVisible" variant="secondary" @click="showNewProjectForm()") Projekt Hinzufügen
form.new-project-form(v-else)
input(v-model="newProjectName" type="text" maxlength="20" required)
b-button(variant="primary" @click="createNewProject()") Projekt Hinzufügen
b-button(variant="tertiary" @click="abortNewProject()") Abbrechen
</template>
<script lang="ts">
[timeout:3600];
( area["ISO3166-1:alpha3"="DEU"];) ->.a;
node["amenity"="parking"]
(area.a);
(._;>;);
out body;
Only returns post_office amenities
val startList = listOf<String>("story", "nothing", "story story")
val stories = startList.filter { s -> s.toLowerCase().contains("story") }
val rest = startList.filterNot { s -> s.toLowerCase().contains("story") }
val newList = stories.union(rest).toList()
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/coordinatorLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="de.chagemann.regexcrossword.GameActivity">
<androidx.core.widget.NestedScrollView
[
"case",
[
"all",
["==", ["get", "recycling:glass"], "yes"],
["==", ["get", "recycling:clothes"], "yes"]
],
"Altglas/Altkleider",
[
"match",
package org.dhbw.ai.fp.album;
import org.dhbw.ai.fp.album.model.Album;
import org.dhbw.ai.fp.album.model.Track;
import org.dhbw.ai.fp.album.persistence.CsvFileDataLoader;
import org.dhbw.ai.fp.optional.WithOptional;
import java.time.temporal.TemporalField;
import java.util.List;
import java.util.Map;
package routing
import (
"fmt"
"github.com/pkg/errors"
"gitlab.com/K-AI/it4me/cmd/server/services"
"gitlab.com/K-AI/it4me/pkg/dto"
"html/template"
"log"
"net/http"
CXX WebSocketSessionMan.lo
CXX FallocFileAllocationIterator.lo
CXX EpollEventPoll.lo
CXX InternalDHKeyExchange.lo
In file included from InternalDHKeyExchange.h:40:0,
from InternalDHKeyExchange.cc:36:
bignum.h: In constructor ‘bignum::ulong<dim>::ulong()’:
bignum.h:34:25: error: ‘make_unique’ was not declared in this scope
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^~~~~~~~~~~
(lldb) p JSONDecoder().decode(APIStore.self, from: data)
(DecodingError) $E0 = dataCorrupted {
dataCorrupted = {
codingPath = 3 values {
[0] = (stringValue = "@\0", intValue = 9)
[1] = services
[2] = (stringValue = "@\0", intValue = 7)
}
debugDescription = "Cannot initialize Service from invalid String value Echarging"
underlyingError = nil
// Created by Carsten Hagemann @ Kaufland Informationssysteme
// With code from the SDK docs: https://help.sap.com/doc/978e4f6c968c4cc5a30f9d324aa4b1d7/Latest/en-US/Documents/Frameworks/SAPFiori/Classes/FUIBarcodeScanViewController.html
import UIKit
import SAPFiori
class ScanViewController: UIViewController, FUIBarcodeScanViewControllerDelegate {
private var scanViewController: FUIBarcodeScanViewController?