This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Start the first process | |
./my_first_process -D | |
status=$? | |
if [ $status -ne 0 ]; then | |
echo "Failed to start my_first_process: $status" | |
exit $status | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.concurrent.CountDownLatch; | |
import sun.misc.Signal; | |
public class Agent { | |
private final CountDownLatch shutdownLatch; | |
public Agent() { | |
this.shutdownLatch = new CountDownLatch(1); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name GitHub Emoji on Linux | |
// @description Convinces GitHub that Linux supports emoji by removing Linux from the user-agent. | |
// @version 1 | |
// @namespace https://userscripts.kevincox.ca | |
// @match https://github.com/* | |
// @run-at document-start | |
// ==/UserScript== | |
!function(){ | |
"use strict"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id "java" | |
id 'net.researchgate.release' version '3.0.2' | |
} | |
release { | |
project.ext.set("release.useAutomaticVersion", true) | |
git { | |
requireBranch.set("") | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.fasterxml.jackson.databind.ObjectMapper; | |
import io.quarkus.jackson.ObjectMapperCustomizer; | |
import javax.enterprise.inject.Instance; | |
import javax.enterprise.inject.Produces; | |
import javax.inject.Singleton; | |
public class CustomObjectMapper { | |
// Replaces the CDI producer for ObjectMapper built into Quarkus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# version: 1.0.4 | |
# https://help.github.com/articles/dealing-with-line-endings/ | |
*.java text eol=lf | |
*.cpp text eol=lf | |
*.kt text eol=lf | |
*.c text eol=lf | |
*.go text eol=lf | |
*.sql text eol=lf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenLocal() | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.guardsquare:proguard-gradle:7.3.0' | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Script Info] | |
; Print = https://i.imgur.com/zAATUaF.jpg | |
; https://en.wikipedia.org/wiki/SubStation_Alpha | |
; This is a Sub Station Alpha v4 script. | |
; For Sub Station Alpha info and downloads, | |
; go to http://www.eswat.demon.co.uk/ | |
Title: Neon Genesis Evangelion - Episode 26 (neutral Spanish) | |
Original Script: RoRo | |
Script Updated By: version 2.8.01 | |
ScriptType: v4.00 |
NewerOlder