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
@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
@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 / 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 / libsnarksmac
Created December 17, 2018 06:01
Install Libsnarks on Mac OSX
brew install libcrytopp

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 / eos_install
Created March 21, 2018 09:22
EOS Installation
Linking problems
https://github.com/EOSIO/eos/issues/43
@helloravi
helloravi / EthereumCommands
Last active February 6, 2018 11:30
Ethereum commands
geth --syncmode "light"
https://hackernoon.com/heres-how-i-built-a-private-blockchain-network-and-you-can-too-62ca7db556c0
(The private chain tutorial)
Understanding how keystore works: https://medium.com/@julien.m./what-is-an-ethereum-keystore-file-86c8c5917b97
Gas Price: https://myetherwallet.github.io/knowledge-base/gas/what-is-gas-ethereum.html
Access Storage of Contracts: https://medium.com/aigang-network/how-to-read-ethereum-contract-storage-44252c8af925
Invalid Address: http://www.bullraider.com/ethereum/tutorials/342-understanding-invalid-address-error-in-dapps-or-geth-console
Events and Logs: https://media.consensys.net/technical-introduction-to-events-and-logs-in-ethereum-a074d65dd61e
@helloravi
helloravi / OpenIdConnect
Last active December 18, 2017 13:18
OpenId Connect gist
How do we create a multilogin set up including
http://auth0.com/
Facebook Account Kit
keycloak
Amazon cognito
@helloravi
helloravi / WritingSmartContracts
Last active December 18, 2017 13:18
Deploying contact in ethereum
https://medium.com/etherereum-salon/eth-testing-472c2f73b4c3
https://blog.zeppelin.solutions/how-to-create-token-and-initial-coin-offering-contracts-using-truffle-openzeppelin-1b7a5dae99b6
@helloravi
helloravi / rorab.yml
Created March 19, 2016 01:25
tmuxinator-configuration
# ~/.tmuxinator/ror.yml
name: rorab
root: ~/astrapaid/alpha/habm/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start