Skip to content

Instantly share code, notes, and snippets.

🤖
001100 010010 011110 100001 101101 110011

Gabriel Féron gferon

View GitHub Profile
@gferon
gferon / README.md
Created Apr 12, 2019
systemd unit file for sccache
View README.md

After installing sccache, drop this file in ~/.config/systemd/user/, then:

systemctl --user daemon-reload
systemctl enable --now sccache
@gferon
gferon / PaginationSkin.java
Created Jan 24, 2013
The PaginationSkin.java class from OpenJFX 2.2.2 controls/rt without the page flip animation. It's quite barbaric right now, but I needed a quick fix. I'll refactor the class to remove everything dealing with the page flip animation later.
View PaginationSkin.java
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
@gferon
gferon / e(fx)clipse project generation with Gradle
Created Jan 15, 2013
Overriding the main task from Gradle's eclipse plugin to generate a .project and .classpath files compatible with e(fx)clipse.
View e(fx)clipse project generation with Gradle
eclipse {
project {
natures 'org.eclipse.jdt.core.javanature', 'org.eclipse.xtext.ui.shared.xtextNature'
buildCommand 'org.eclipse.jdt.core.javabuilder'
buildCommand 'org.eclipse.xtext.ui.shared.xtextBuilder'
}
classpath {
containers 'at.bestsolution.efxclipse.tooling.jdt.core.JAVAFX_CONTAINER'
}
You can’t perform that action at this time.