Skip to content

Instantly share code, notes, and snippets.

Working from home

Benson bensonkb

Working from home
  • Tech enthusiast
  • Coimbatore
View GitHub Profile
philidor-green /
Last active Jan 5, 2020
Setup private Ethereum network with Docker

Setup private Ethereum network with Docker

Ethereum is a decentralized platform that runs smart contracts: applications that run exactly as programmed without any possibility of downtime, censorship, fraud or third party interference.

This is a step-by-step guide, how to setup private Ethereum network. 

We’ll set up a network and create two simple JSON-RPC clients in order to communicate with our Ethereum nodes.

View A sample Dapp function call button
console.log('submitting goood');
//get hash of the good
var file_unique_hash = $("#good_file_input").data('uniquehash');
var file_name = "canoe";
var file_description = "a wooden boat";
dev-ext /
Last active Jul 12, 2018
ubuntu gitkraken install from terminal
sudo dpkg -i --force-depends gitkraken-amd64.deb
sudo apt-get install -f
rm -f gitkraken-amd64.deb
craigminihan / gist:229b0ee9dcf4ab6d794c4c8ee1f0d92e
Last active Feb 9, 2018
Install GCC-4.9 and LLVM/Clang-3.6 on Ubuntu 12 a bit like Travis CI
View gist:229b0ee9dcf4ab6d794c4c8ee1f0d92e
# replace your local package mirror if it is borked
#apt-get clean
#sed -i 's/http\:\/\/..\.archive\./http:\/\/us.archive./g' /etc/apt/sources.list
apt-get update
# add launchpad's ppa to apt
apt-get install -y python-software-properties
add-apt-repository -y ppa:ubuntu-toolchain-r/test
apt-get update
kenchung / The Technical Interview Cheat
Last active Apr 8, 2018 — forked from TSiege/The Technical Interview Cheat
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
mingfang / convert id_rsa to pem
Last active Jun 24, 2020
Convert id_rsa to pem file
View convert id_rsa to pem
openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem
chmod 600 id_rsa.pem
kostaz / Compile_Bitcoin_on_Ubuntu_14_04
Last active Apr 27, 2020
Compile Bitcoin on Ubuntu 14.04
View Compile_Bitcoin_on_Ubuntu_14_04
Assuming the username of the Ubuntu user is "theusername".
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
You can’t perform that action at this time.