Skip to content

Instantly share code, notes, and snippets.

View Juraji's full-sized avatar
🤗
Trying to spend more time on Github

Robin Juraji

🤗
Trying to spend more time on Github
View GitHub Profile
@Juraji
Juraji / FXCollectionsModule.kt
Created February 10, 2024 13:38
Kotlin impl of deserializing FXCollections using Jackson (Module)
package nl.juraji.jackson.datatypes.fxcollections
import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.core.JsonToken
import com.fasterxml.jackson.core.Version
import com.fasterxml.jackson.core.json.PackageVersion
import com.fasterxml.jackson.databind.*
import com.fasterxml.jackson.databind.deser.ContextualDeserializer
import com.fasterxml.jackson.databind.deser.ContextualKeyDeserializer
@Juraji
Juraji / query-parameter-binding-example.component.ts
Last active January 30, 2019 08:15
Angular: Bind component property to a query parameter
import { Component, OnInit } from "@angular/core";
@Component({
selector: "app-query-parameter-binding-example",
template: "<p>Property 1: {{property1}}</p><p>Property 2: {{property2}}</p>"
})
export class QueryParameterBindingExampleComponent implements OnInit {
/**
* When updated is reflected as query parameter "property-1=[value]" in url
@Juraji
Juraji / obs_lua_digital_clock.lua
Created January 25, 2018 21:17
An OBS script for turning a text source into a 24h digital clock with timezone designation. (Supports dst)
--
-- Created by IntelliJ IDEA.
-- User: Juraji
-- Date: 25-1-2018
-- Time: 19:51
--
-- Binds to a text source and shows the current time in 24h format
-- appended with the current timezone designation.
-- The timezone designations for both dst and non-dst can be changed
-- by updating the dst_ variables below