Skip to content

Instantly share code, notes, and snippets.

View edmondop's full-sized avatar

Edmondo Porcu edmondop

View GitHub Profile
@edmondop
edmondop / config.json
Created January 29, 2024 14:57
AWS Step
{
"ChoiceStateX": {
"Type": "Choice",
"Choices": [
{
"Not": {
"Variable": "$.type",
"StringEquals": "Private"
},
"Next": "Public"
datasets:
- from: databricks:spiceai.datasets.my_awesome_table // A reference to a table in the Databricks unity catalog
name: my_delta_lake_table
params:
endpoint: "https://dbc-a1b2345c-d6e7.cloud.databricks.com"
# located in service1/buf.gen.yaml
version: v2
managed:
enabled: true
override:
- file_option: go_package
value: github.com/edmondop/product/service1
plugins:
dark blue, yellow, light blue, pink,
#323D56, #C4905D, #639EB5, #A8767A
@edmondop
edmondop / github-contribution-stats.sh
Created January 7, 2026 01:08
Github contribution stats
#!/bin/bash
# GitHub Contribution Stats Fetcher (SSO-Compatible)
# Usage: ./gh-contrib-stats.sh <username> <year> <org>
# Check for required arguments
if [ $# -lt 3 ]; then
echo "Usage: $0 <username> <year> <org>"
echo ""
echo "Example: $0 octocat 2025 github"