Skip to content

Instantly share code, notes, and snippets.

View seinecle's full-sized avatar
Working on

Clement Levallois seinecle

Working on
View GitHub Profile
<!-- plug-in configuration to put into your parent POM for avoiding any usages of
outdated log4j2 versions, some of which are subject to the RCE CVE-2021-44228
("Log4Shell"), CVE-2021-45046, and CVE-2021-45105. Make sure to check for the
latest version of log4j2 at -->
gubatron / Entitlements.plist
Last active December 15, 2023 12:52
An example Entitlements.plist file to allow a desktop app to run a Java Runtime Environment on a signed .app
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
kenmori /
Last active April 20, 2023 18:27
How to write a Twitter link in Markdown

How to write a Twitter link in Markdown

Twitter URL

[![Twitter URL](](


MichaelPolla /
Last active July 5, 2024 21:21
Markdown - Resize pictures in GitHub, including in comments comment

Markdown - Resize pictures in GitHub

I found that the "best" way is to use HTML, as it works both in Readme/.md files and also in comments (within Issues, Gist...)

E.g. when adding/editing a comment (within Issues, Gist...) :

  • Upload the picture by drag-and-drop in the text field
  • replace ![image](https://your-image-url.type) with <img src="https://your-image-url.type" width="100" height="100">

As mentioned by @cbestow (thanks!), it's not mandatory to set both width and height. If only one is set, the other will be adjusted accordingly to preserve the aspect ratio of the image.

halidaltuner / gist:8fe138babedcb280c784
Last active August 29, 2017 08:35
glassfish + nginx + ssl
upstream glassfish_server {
server fail_timeout=0;
server {
listen 80;
return 301 https://$server_name$request_uri;
server {
jewelsea /
Last active February 26, 2024 13:33
Displays a JavaFX splash page for an intensive startup task with progress monitoring
import javafx.animation.FadeTransition;
import javafx.application.Application;
import javafx.collections.*;
import javafx.concurrent.*;
import javafx.geometry.*;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.effect.DropShadow;
import javafx.scene.image.*;