Skip to content

Instantly share code, notes, and snippets.

View simaotwx's full-sized avatar

Simão Gomes Viana simaotwx

View GitHub Profile
@GuillaumeFalourd
GuillaumeFalourd / spoiler-text-markdown.md
Created October 14, 2021 11:45
Example of how to use a spoiler text in markdown

Demo Spoiler Text:

Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

System.out.print("Hello World");
@msaari
msaari / intermediary.php
Last active March 28, 2023 13:52
Relevanssi attachment indexing server intermediary script
<?php
/**
* Attachment processing intermediary to work between Relevanssi and a Tika server.
*
* Installation instructions:
* 1. Save this as index.php.
* 2. Change the Tika server URL in the constructor to point to your own Tika server.
* 3. Upload this file in a directory on your server.
*
* @author Mikko Saari (mikko@mikkosaari.fi)
@idursun
idursun / build.gradle
Created June 26, 2014 12:02
Gradle file to copy package files into resources
apply plugin: 'java'
task webjar(type: Jar, dependsOn: "jar") {
from(fileTree("dist")) {
into "META-INF/resources"
}
}
task ('copyAssets', type: Copy) {