Skip to content

Instantly share code, notes, and snippets.

View 0x4a616e's full-sized avatar
🦒

Jan Gassen 0x4a616e

🦒
View GitHub Profile
package de.jangassen.nsmenufx.samples;
import de.jangassen.MenuToolkit;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Menu;
import javafx.scene.control.MenuBar;
import javafx.scene.control.MenuItem;
import javafx.scene.layout.StackPane;

Keybase proof

I hereby claim:

  • I am 0x4a616e on github.
  • I am jangassen (https://keybase.io/jangassen) on keybase.
  • I have a public key ASApC_PsWNnDZpveApO5ZAmOEnVd-4ZHa0tDubCzWam8cwo

To claim this, I am signing this object:

@0x4a616e
0x4a616e / .vimrc
Last active August 23, 2023 02:35
MacVim Touch Bar buttons
" MacVim Touch Bar support
" ========================
" Since version 8.0 (I think), MacVim natively supports the macOS touch bar. By default it just contains
" one button to toggle fullscreen mode. To add some more useful buttons, just copy this into your .vimrc
"
" More details about the syntax can be found here: https://github.com/macvim-dev/macvim/blob/master/runtime/doc/gui_mac.txt
" For a list of touch bar image names, see https://developer.apple.com/design/human-interface-guidelines/macos/touch-bar/touch-bar-icons-and-images/
" Toggle NerdTree
@0x4a616e
0x4a616e / ValueInjectionUtils.java
Last active January 2, 2020 13:01
Utility class to manually inject Value-Annotated fields for testing purposes
package de.jangassen.spring.utils;
import java.lang.reflect.Field;
import java.util.Properties;
import org.apache.commons.lang3.reflect.FieldUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.expression.MapAccessor;
import org.springframework.core.convert.ConversionService;
import org.springframework.core.convert.support.DefaultConversionService;