Skip to content

Instantly share code, notes, and snippets.

View gionn's full-sized avatar

Giovanni Toraldo gionn

View GitHub Profile
@staltz
staltz / introrx.md
Last active July 31, 2025 06:33
The introduction to Reactive Programming you've been missing
@gionn
gionn / Comments.java
Last active February 2, 2018 15:01
Nice java code comments
{} // this is intentionally left blank
// Coming soon : backup plan
// However this is not a definitive solution
// This is an atrocity
// Questions overflow! Die Gosling!
@sethvargo
sethvargo / secret.rb
Created February 1, 2016 21:36
Example Chef extension to extract secrets from HashiCorp's Vault
# Please see the following blog post for more information:
#
# https://www.hashicorp.com/blog/using-hashicorp-vault-with-chef.html
#
resource_name :vault_secret
property :path, String, name_property: true
property :destination, String
@telenieko
telenieko / GoogleCloudFileStorage.java
Created January 18, 2019 08:05
Sample of a CUBA Storage for Google Cloud Storage - very similar to the supplied AWS S3 one
package com.sample;
import com.google.cloud.storage.*;
import com.haulmont.bali.util.Preconditions;
import com.haulmont.cuba.core.app.FileStorageAPI;
import com.haulmont.cuba.core.entity.FileDescriptor;
import com.haulmont.cuba.core.global.Configuration;
import com.haulmont.cuba.core.global.FileStorageException;
import com.metanube.metai4.google.service.GoogleConfig;
import org.apache.commons.lang3.StringUtils;