Skip to content

Instantly share code, notes, and snippets.

[tool.poetry]
authors = ["author"]
description = ""
name = "segmentation"
version = "0.1.0"
[tool.poetry.dependencies]
boto3 = "1.26.78"
boto3-stubs = {extras = ["s3", "sqs"], version = "1.26.78"}
jsonformatter = "0.3.2"
@ralscha
ralscha / marshal.go
Last active February 29, 2016 18:47
Go: Marshalling struct to JSON
package main
import (
"encoding/json"
"fmt"
)
type Symptoms struct {
Id int8 `json:"id"`
Name string `json:"name"`
@ralscha
ralscha / ModelGeneratorCLI.java
Created April 16, 2013 08:10
ExtDirectSpring Command Line Implementation for the Model Generator
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.LinkedHashMap;
import java.util.Map;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider;
import org.springframework.core.type.filter.AnnotationTypeFilter;