Skip to content

Instantly share code, notes, and snippets.

View helloravi's full-sized avatar
😃
Zero Knowledge Proofs

Ravikanth Andhavarapu helloravi

😃
Zero Knowledge Proofs
View GitHub Profile

Keybase proof

I hereby claim:

  • I am helloravi on github.
  • I am eoswest (https://keybase.io/eoswest) on keybase.
  • I have a public key ASCGOd_eoIN8eF9YpSJ-5AOQYJ7gCSMYAFdQz-76ys5BTgo

To claim this, I am signing this object:

@helloravi
helloravi / libsnarksmac
Created December 17, 2018 06:01
Install Libsnarks on Mac OSX
brew install libcrytopp
@helloravi
helloravi / psqlmacos
Last active April 1, 2019 04:04
Postgresql Mac
Open console `psql postgres`
Close console.
List users \du
List databases \l
\list: lists all the databases in Postgres
\connect: connect to a specific database
\dt: list the tables in the currently connected database
https://www.codementor.io/engineerapart/getting-started-with-postgresql-on-mac-osx-are8jcopb
@helloravi
helloravi / ExtraInstructions
Last active April 1, 2019 09:21
Installing stellar-core on macos
Change -lboost_thread to -lboost_thread-mt in zagg-core/src/Makefile.am
-lcrypto error is an openssl problem in Macos - Fix it with this https://medium.com/@timmykko/using-openssl-library-with-macos-sierra-7807cfd47892
CXX=g++-6 ./configure --with-openssl=/usr/local/opt/openssl
In zagg-core/src/Makefile.am
stellar_core_CXXFLAGS = $(BOOST_CPPFLAGS) -I/usr/local/opt/openssl/include
stellar_core_LDFLAGS = -pthread -fPIC -std=c++11 -L/usr/local/opt/openssl/lib
@helloravi
helloravi / terminalaccess
Last active April 15, 2019 00:38
Terminal Login Zagg-core
For changing user name to "ravi" after logging in to terminaL
su ravi -
sudo apt-get install libpq-dev