Skip to content

Instantly share code, notes, and snippets.

View neewy's full-sized avatar
🎯
Focusing

Nick Yushkevich neewy

🎯
Focusing
View GitHub Profile
@neewy
neewy / function.js
Created December 6, 2024 19:01
QuickNode Function to stream data to a MongoDB instance
// =================================================================
// SETUP INSTRUCTIONS
// =================================================================
// 1. Start MongoDB locally using Docker:
// Quick start without auth:
// docker run -d --name mongodb -p 27017:27017 mongo:latest
//
// With authentication (recommended):
// docker run -d --name mongodb \
// -e MONGO_INITDB_ROOT_USERNAME=admin \

Keybase proof

I hereby claim:

  • I am neewy on github.
  • I am neewy (https://keybase.io/neewy) on keybase.
  • I have a public key ASB0V2vhQbZshPEVHSf6JKAG95fVVq-3EuyevNQpBZQYuQo

To claim this, I am signing this object:

add_library(grpc UNKNOWN IMPORTED)
add_library(grpc++ UNKNOWN IMPORTED)
add_library(gpr UNKNOWN IMPORTED)
add_executable(grpc_cpp_plugin IMPORTED)
find_path(grpc_INCLUDE_DIR grpc/grpc.h)
mark_as_advanced(grpc_INCLUDE_DIR)
find_library(grpc_LIBRARY grpc)
mark_as_advanced(grpc_LIBRARY)
[2018-02-23 16:45:15.978768000][th:1612671][info] OrderingGate propagate tx, tx_counter: 6291 account_id: admin@test
[2018-02-23 16:45:15.978809000][th:1612671][info] OrderingGate Propagate tx (on transport)
[2018-02-23 16:45:15.979436000][th:1612671][info] TxProcessor stateless validated
[2018-02-23 16:45:15.979583000][th:1611698][info] OrderingServiceImpl Queue size is 6290
[2018-02-23 16:45:15.981671000][th:1612552][info] TxProcessor handle transaction
[2018-02-23 16:45:15.982249000][th:1612552][info] PCS propagate tx
[2018-02-23 16:45:15.982310000][th:1612552][info] OrderingGate propagate tx, tx_counter: 6292 account_id: admin@test
[2018-02-23 16:45:15.982351000][th:1612552][info] OrderingGate Propagate tx (on transport)
[2018-02-23 16:45:15.982979000][th:1612552][info] TxProcessor stateless validated
[2018-02-23 16:45:15.983118000][th:1612324][info] OrderingServiceImpl Queue size is 6291
This file has been truncated, but you can view the full file.
[2018-02-23 16:44:15.715052000][th:1611684][info] MAIN start
[2018-02-23 16:44:15.716296000][th:1611684][info] MAIN config initialized
[2018-02-23 16:44:15.718307000][th:1611684][info] IROHAD created
[2018-02-23 16:44:15.718462000][th:1611684][info] StorageImpl:initConnection Start storage creation
[2018-02-23 16:44:15.719242000][th:1611684][info] StorageImpl:initConnection block store created
[2018-02-23 16:44:15.739992000][th:1611684][info] StorageImpl:initConnection connection to PostgreSQL completed
[2018-02-23 16:44:15.740123000][th:1611684][info] StorageImpl:initConnection transaction to PostgreSQL initialized
[2018-02-23 16:44:15.745303000][th:1611684][info] IROHAD [Init] => storage
[2018-02-23 16:44:15.747343000][th:1611684][info] StorageImpl Drop ledger
[2018-02-23 16:44:15.747399000][th:1611684][info] StorageImpl drop dp
{
"block_store_path" : "/tmp/block_store/",
"torii_port" : 50051,
"internal_port" : 10001,
"pg_opt" : "host=localhost port=5432 user=postgres password=mysecretpassword",
"redis_host" : "localhost",
"redis_port" : 6379,
"max_proposal_size" : 10,
"proposal_delay" : 5000,
"vote_delay" : 5000,
@neewy
neewy / block_schema.json
Created December 15, 2017 12:49
A JSON schema for block in Iroha
{
"definitions": {},
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "http://example.com/example.json",
"type": "object",
"properties": {
"signatures": {
"$id": "/properties/signatures",
"type": "array",
"minItems": 1,
@neewy
neewy / macOS.sh
Last active March 8, 2018 01:38
How to install dependencies for Iroha, clone and build the project in development branch
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/homebrew/install/master/install)" # if you dont't have brew installed
brew install cmake boost postgres grpc autoconf automake libtool golang libpqxx
git clone https://github.com/hyperledger/iroha -b develop
cd iroha
cmake -H. -Bbuild
cmake --build build -- -j4 #Check number of logical cores with sysctl -n hw.ncpu and use this number
@neewy
neewy / linux.sh
Last active December 24, 2017 16:20
How to install dependencies for Iroha, clone and build the project in development branch
# Dependencies
apt-get -y --no-install-recommends install \
build-essential python-software-properties \
automake libtool \
libssl-dev zlib1g-dev libboost-all-dev \
libc6-dbg golang \
git ssh tar gzip ca-certificates \
python3 python3-pip python3-setuptools \
lcov \
wget curl cmake file unzip gdb \
using System;
using Xamarin.Forms;
namespace AuthSample
{
public partial class AuthSamplePage : ContentPage
{
Xamarin.Auth.OAuth2Authenticator authenticator = null;