Skip to content

Instantly share code, notes, and snippets.

View juarezjuniorgithub's full-sized avatar

Juarez Barbosa Junior juarezjuniorgithub

View GitHub Profile
@juarezjuniorgithub
juarezjuniorgithub / FastSerializationAndCompressionHelper.java
Created March 30, 2017 19:21
FST (Fast Serialization) + Apache Compress Utility Class
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.compress.compressors.CompressorException;
import org.apache.commons.compress.compressors.CompressorInputStream;
import org.apache.commons.compress.compressors.CompressorOutputStream;
import org.apache.commons.compress.compressors.CompressorStreamFactory;
@juarezjuniorgithub
juarezjuniorgithub / OracleIoTCloudServiceJavaClientDevice.java
Created August 2, 2018 11:58
Oracle IoT Cloud Service - Simple Java IoT client device example
import oracle.iot.client.DeviceModel;
import oracle.iot.client.device.DirectlyConnectedDevice;
import oracle.iot.client.device.VirtualDevice;
public class OracleIoTCloudServiceJavaClientDevice {
// The URN
private static final String URN = "urn:test:oracleiotappsample";
// The attribute name
@juarezjuniorgithub
juarezjuniorgithub / petTrace.go
Last active October 23, 2018 15:01
Sample Hyperledger Chaincode (smart contract) in Golang
package main
import (
"bytes"
"encoding/json"
"fmt"
"strconv"
"strings"
"time"
@juarezjuniorgithub
juarezjuniorgithub / carTrace.go
Last active November 29, 2022 10:22
carTrace.go - example hyperledger fabric chaincode in Go (golang)
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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
http://www.apache.org/licenses/LICENSE-2.0
@juarezjuniorgithub
juarezjuniorgithub / hse_bc.go
Created January 26, 2019 16:33
Chaincode developed for HSE that implements a Medical Device Tracking System (MDTS) with Blockchain Hyperledger smart contracts
package main
import (
"bytes"
"encoding/json"
"fmt"
"strconv"
"strings"
"time"
@juarezjuniorgithub
juarezjuniorgithub / Dot Net Conf 2019 Dublin
Last active September 23, 2019 10:50
Dot Net Conf 2019 Dublin - 23-24 September 2019
September 23 - 24, 2019 - www.dotnetconf.net
.Net Conf 2019 Dublin is a free, 2 day virtual developer event co-organized by the .NET community and Microsoft.
In Dubiln the event is being supported by Microsoft Ireland Open Source Club and Azure Developers Ireland.
PLEASE REGISTER HERE - https://www.meetup.com/Dublin-Azure-Developers-Meetup-Group/events/265086906/
VENUE:
1, One Microsoft Place - South County Business Park, Leopardstown

Keybase proof

I hereby claim:

  • I am juarezjuniorgithub on github.
  • I am juarezjunior (https://keybase.io/juarezjunior) on keybase.
  • I have a public key ASCQBhGkv0eXzXWb5QBdudxtbkq8oRGKc22hpbQGK-TuWwo

To claim this, I am signing this object:

pragma solidity ^0.5.16;
contract HelloBlockchain
{
//Set of States
enum StateType { Request, Respond }
//List of properties
StateType public State;
address public Requestor;
@juarezjuniorgithub
juarezjuniorgithub / BCGreenTrackerMSFTDevicesChaincode.go
Last active July 30, 2020 13:46
BCGreenTrackerMSFTDevicesChaincode - Hyperledger Smart Contract (chaincode) - Blockchain to Transform the Supply Chain Management for Microsoft Devices
// Hyperledger Blockchain Smart Contract (chaincode) - PoC
// Hackathon 2020 - Team Green Ireland - July 2020
// Project: for Blockchain to Transform the Supply Chain Management for Microsoft Devices
// Team members: Farouk Mezghich, Farouk Mezghich, Juarez Barbosa Junior
package main
import (
"bytes"
"encoding/json"
@juarezjuniorgithub
juarezjuniorgithub / README.md
Created March 19, 2021 00:24 — forked from nenodias/README.md
Python Cursos