Skip to content

Instantly share code, notes, and snippets.

Carsten Hagemann carstenhag

Block or report user

Report or block carstenhag

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View log.txt
D:\Downloads2019\wildfly-16.0.0.Final\bin\standalone.bat
"C:\Program Files\Java\jdk-11.0.1\bin\java.exe" -Dfile.encoding=windows-1252 -classpath C:\Users\carst\AppData\Local\Temp\classpath1185450043.jar com.intellij.javaee.oss.process.JavaeeProcess 49268 com.intellij.javaee.oss.jboss.agent.WildFly11Agent
[2019-06-26 09:39:17,816] Artifact todo:war: Waiting for server connection to start artifact deployment...
Detected server admin port: 9990
Detected server http port: 8080
Calling "D:\Downloads2019\wildfly-16.0.0.Final\bin\standalone.conf.bat"
Setting JAVA property to "C:\Program Files\Java\jdk-11.0.1\bin\java"
===============================================================================
JBoss Bootstrap Environment
View gist:3d4b1afca957f938b1655129abdb921f
package de.chagemann.timetracking.features.nfcReaction
import android.app.Application
import android.content.Intent
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.Transformations
import de.chagemann.timetracking.db.Project
import de.chagemann.timetracking.db.TimeRepository
import de.chagemann.timetracking.db.TrackingInterval
import de.chagemann.timetracking.features.nfcMapping.NFCUtils
View manual-query-and-osmtogeojson.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Sidebar-shortened.vue
<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">
View overpassqueries.ql
[timeout:3600];
( area["ISO3166-1:alpha3"="DEU"];) ->.a;
node["amenity"="parking"]
(area.a);
(._;>;);
out body;
Only returns post_office amenities
View listfiltering.kt
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()
View activity_game.xml
<?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
View mapbox.crap.json
[
"case",
[
"all",
["==", ["get", "recycling:glass"], "yes"],
["==", ["get", "recycling:clothes"], "yes"]
],
"Altglas/Altkleider",
[
"match",
View Album.java
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;
View lala.go
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"
You can’t perform that action at this time.