Skip to content

Instantly share code, notes, and snippets.

View ragoragino's full-sized avatar

Rastislav Kisel ragoragino

View GitHub Profile
@ragoragino
ragoragino / protobuf_spark_schema_convertor.py
Last active May 13, 2025 15:46
Protobuf schema to Spark schema conversion
"""
MIT License
Copyright (c) [2022] [Rastislav Kisel]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Rastislav Kisel",
"label": "Software engineer",
"image": "",
"email": "[email protected]",
"url": "https://ragoragino.github.io",
"summary": "",
"location": {
ARG ALPINE_VERSION=3.13
FROM alpine:${ALPINE_VERSION}
LABEL ALPINE_VERSION="${ALPINE_VERSION}"
RUN apk update && \
apk add bash \
# dig, nslookup
bind-tools \
ARG ALPINE_VERSION=3.13
FROM alpine:${ALPINE_VERSION}
RUN apk update
RUN apk add g++ \
make \
cmake \
ccache \
python3-dev \
@ragoragino
ragoragino / openssl.sh
Last active August 27, 2021 21:22
Common OpenSSL commands
#!/bin/bash
set -ex
touch index.txt
touch RANDFILE
# Configuration of CA
cat <<-EOF > ca.cnf
[ ca ]
package main
import (
"context"
"fmt"
"log"
"os"
"strconv"
"github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb"