Skip to content

Instantly share code, notes, and snippets.

View antongolub's full-sized avatar
😱
Living in a dystopia

Anton Golub antongolub

😱
Living in a dystopia
View GitHub Profile
@malys
malys / Readme.md
Last active January 18, 2022 12:57
[Semantic releasing automation] zx scripts for semver automation #zx #semver #maven #nodejs #javascript

Based on zx-semrel concept, followed scripts are examples to automate full releasing process with zx scripts.

Purpose

zx-semrel concept proposes an implementation of semantic release for node projects using zx.

In our case, we try to generalize this idea to:

  • provide a script agnostic to build technology (npm, maven ,gulp, ...): release.mjs
  • provide a script using maven for build engine: release_maven.mjs
  • provide modularity architecture to factorize code and to cover more use case: release_util_update.mjs
@troyfontaine
troyfontaine / 1-setup.md
Last active September 23, 2024 07:31
Signing your Git Commits on MacOS

Methods of Signing Git Commits on MacOS

Last updated March 13, 2024

This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.

@subfuzion
subfuzion / curl.md
Last active September 23, 2024 15:27
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.