This file contains 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 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 Lista Melhores Investimentos | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-04-15 | |
// @description entre na pagina dos investimentos de renda fixa e rode, ele tratá os top investimentos cri, cra, deb por ordem de taxa | |
// @author You | |
// @match https://contadigital.inter.co/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=inter.co | |
// @grant none | |
// ==/UserScript== |
This file contains 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 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 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 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 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 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' | |
} | |
} |
NewerOlder