Skip to content

Instantly share code, notes, and snippets.

View loong's full-sized avatar

Long Hoang loong

View GitHub Profile
View rental.sol
pragma solidity ^0.4.0;
contract Rental {
uint deposit;
uint rent;
uint balance;
address tenant;
address landlord;
View Install iperf on AWS Linux AMI
git clone
cd iperf
sudo make
sudo make install
sudo ldconfig
View Install ffmpeg on AWS Linux AMI
# Taken from
sudo su -
cd /usr/local/bin
mkdir ffmpeg
cd ffmpeg
tar -xzf ffmpeg.static.64bit.latest.tar.gz
View Install pocketsphinx-python on AWS ami
source ~/.bashrc
sudo yum -y install make automake gcc gcc-c++ tmux emacs python-pip
sudo yum -y install git cmake libmad-devel libsndfile-devel gd-devel boost-devel intltool libtool-ltdl-devel swig
tar xvf libsndfile-1.0.28.tar.gz

Keybase proof

I hereby claim:

  • I am mindworker on github.
  • I am longh ( on keybase.
  • I have a public key whose fingerprint is 3F99 B5F3 2999 7718 4211 D3D7 42C8 7F49 140C 0355

To claim this, I am signing this object: