Skip to content

Instantly share code, notes, and snippets.

View daniel-cortez-stevenson's full-sized avatar
🦊
I'm around

Daniel daniel-cortez-stevenson

🦊
I'm around
View GitHub Profile
@daniel-cortez-stevenson
daniel-cortez-stevenson / snowball_stemmer.py
Last active December 15, 2023 09:49
Wrapping Scala with Python for PySpark Example (org.apache.spark.mllib.feature.Stemmer)
"""An example of wrapping a Scala UDF with Python code.
Copyright 2020 Daniel Cortez Stevenson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
@daniel-cortez-stevenson
daniel-cortez-stevenson / elasticsearch-service-template.yaml
Last active December 15, 2023 09:50
AWS ElasticSearch Domain with VPC and Bastion Cloudformation Template
# Copyright 2020 Daniel Cortez Stevenson
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,

Using GPG with sbtenv on MacOS

Issue

I rececently downloaded sbtenv to better manage my Scala SBT environmnets per project. When I tried to install any version of SBT using the sbtenv command - it would fail. Checking the stdout I found the message gpg: Can't check signature: No public key at the end of the output.

Steps to reproduce

Install sbtenv