Skip to content

Instantly share code, notes, and snippets.

View mathieucarbou's full-sized avatar
🏠
Working from home

Mathieu Carbou mathieucarbou

🏠
Working from home
View GitHub Profile
@mathieucarbou
mathieucarbou / sublime-command-line.md
Created May 23, 2019 17:10 — forked from adrianorsouza/sublime-command-line.md
launch sublime text from the command line

Launch Sublime Text from the command line on OSX

Sublime Text includes a command line tool, subl, to work with files on the command line. This can be used to open files and projects in Sublime Text, as well working as an EDITOR for unix tools, such as git and subversion.

Requirements

  • Sublime text 2 or 3 installed in your system within Applications folder

Setup

@mathieucarbou
mathieucarbou / jdk_toolchain.xslt
Created February 12, 2020 16:02 — forked from chrisdennis/jdk_toolchain.xslt
Maven Toolchain XML Goodness
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/plist">
<toolchains>
<xsl:for-each select="array/dict">
<toolchain>
<type>jdk</type>
<provides>
<version>
@mathieucarbou
mathieucarbou / signing-git-commits.md
Created September 1, 2024 20:31 — forked from phortuin/signing-git-commits.md
Set up a GPG key for signing Git commits on MacOS (M1)

Based on this blogpost.

To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.

Setting up

Install with Homebrew:

$ brew install gpg