Skip to content

Instantly share code, notes, and snippets.

View elyday's full-sized avatar
:shipit:
Here but not here

Lars elyday

:shipit:
Here but not here
View GitHub Profile
{
"meta": {
"theme": "elegant"
},
"basics": {
"name": "Lars Riße",
"label": "Backend Developer",
"image": "",
"email": "lars@risse.me",
"url": "https://lars.risse.me",
@elyday
elyday / Preferences.java
Created May 23, 2019 07:57
Preferences Problem
package application.preferences;
import com.dlsc.preferencesfx.PreferencesFx;
import com.dlsc.preferencesfx.model.Category;
import com.dlsc.preferencesfx.model.Group;
import com.dlsc.preferencesfx.model.Setting;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleIntegerProperty;
@elyday
elyday / stringCompareDif
Created February 14, 2017 11:10
A simple C Function
char * stringCompareDif(char *string1, char *string2, char *result) {
int string1length = strlen(string1);
int string2length = strlen(string2);
int length = 0, d = 0;
if (string1length == string2length)
length = string1length;
else if (string1length > string2length)
length = string1length;
else if (string1length < string2length)