Skip to content

Instantly share code, notes, and snippets.

View manoelcampos's full-sized avatar
🙃
Always trying to automate something

Manoel Campos manoelcampos

🙃
Always trying to automate something
View GitHub Profile
@katrinleinweber
katrinleinweber / clone-rm-dx-from-doi.sh
Last active September 17, 2018 08:26
Semi-automatically update dx.doi.org links on GitHub to https://doi.org
#!/usr/bin/env bash
# Semi-automatically update dx.doi.org links on GitHub to https://doi.org.
#
# Usage:
# 1. Copy this gist into a local folder of yours (e.g. ~/forks/).
# 2. Make it executable with `chmod +x ~/path/to/clone-rm-dx.sh`
# 3. Install the gfork Node.js package and its dependencies.
# 4. Find target repos on https://github.com/search?o=desc&q=dx.doi&s=indexed&type=Code&utf8=%E2%9C%93
# 5. Insepct the code: can `dx.doi.org` be savely updated? Inspect tests,
@sualeh
sualeh / how_to_sign_and_release_to_the_central_repository_with_github_actions.md
Last active May 11, 2025 12:36
How to Sign and Release to The Central Repository with GitHub Actions

How to Sign and Release to The Central Repository with GitHub Actions

GitHub allows automated builds using GitHub Actions. A commonly asked question is how to release artifacts (packaged Java jars) built by Maven and Gradle to The Central Repository. The GitHub Actions documentation provides only part of the answer.

So, first, configure your Maven project for staging artifacts to The Central Repository, by reading through Configuring Your Project for Deployment and following those steps. Please make sure that the maven-gpg-plugin is configured to prevent gpg from using PIN entry programs, as follows:

<configuration>
  <gpgArguments>
      <arg>--pinentry-mode</arg>
 loopback
@amaembo
amaembo / stream_chain.svg
Created September 4, 2021 08:22
Stream Chain visualization
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rogernogueira
rogernogueira / RMA_CleanCode.ipynb
Last active August 1, 2023 21:41
RMA - Clean Code
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.