Skip to content

Instantly share code, notes, and snippets.

View csbond007's full-sized avatar

Kaustav Saha csbond007

View GitHub Profile
For the UCI Data
cqlsh> CREATE KEYSPACE Remote_Monitoring_UCI WITH replication = {'class': 'SimpleStrategy', 'replication_factor' : 2};
cqlsh> use Remote_Monitoring_UCI ;
CREATE TABLE optional_subject_109 (
time_stamp text PRIMARY KEY, activity_ID text, heart_rate text,
IMU_hand_temperature text,
IMU_hand_accl_16g_1 text, IMU_hand_accl_16g_2 text, IMU_hand_accl_16g_3 text,
IMU_hand_accl_6g_1 text , IMU_hand_accl_6g_2 text , IMU_hand_accl_6g_3 text,
Change Network Settings in VM
NAT->Bridged Adapter
Promiouscuous Node : Deny -> Allow All
Download Cassandra Tar-Ball : http://www.apache.org/dyn/closer.lua/cassandra/3.7/apache-cassandra-3.7-bin.tar.gz
cd Downloads/
ls
sudo cp apache-cassandra-3.7-bin.tar.gz /usr/local/.
cd /usr/local
git clone https://github.com/csbond007/LiquidWeb.git
git pull
git status
git branch
// changes
// if files add then git add "filename"
git status
git commit -a -m "Commit"
git push
@csbond007
csbond007 / Push_Code_GIT_from_Linux.txt
Created July 25, 2016 15:48
Pushing code to GIT Repository from Linux
git init
git add .
git commit -m "First commit"
git remote add origin "remote repository URL"
git remote -v
git pull origin master
git push
@csbond007
csbond007 / Working_Basic_Numenta
Last active June 25, 2016 01:50
Working Basic Numenta
https://github.com/numenta/nupic/wiki/Compiling-NuPIC-on-Ubuntu-14
sudo apt-get update -y
sudo apt-get install git g++ cmake python-dev -y
git clone https://github.com/numenta/nupic.core.git
git clone https://github.com/numenta/nupic.git
export NUPIC=$HOME/nupic
export NUPIC_CORE=$HOME/nupic.core
curl https://bootstrap.pypa.io/get-pip.py | sudo python
cd $NUPIC_CORE
(gdb) bt
#0 __memset_sse2 () at ../sysdeps/x86_64/multiarch/../memset.S:78
#1 0x00007fffe938980c in std::_Hashtable<unsigned long, std::pair<unsigned long const, capnp::SchemaLoader::Impl::RequiredSize>, std::allocator<std::pair<unsigned long const, capnp::SchemaLoader::Impl::RequiredSize> >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::clear() () from /home/kaustavsaha/.local/lib/python2.7/site-packages/nupic/bindings/_math.so
#2 0x00007fffe9385dbe in std::_Hashtable<unsigned long, std::pair<unsigned long const, capnp::SchemaLoader::Impl::RequiredSize>, std::allocator<std::pair<unsigned long const, capnp::SchemaLoader::Impl::RequiredSize> >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detai
I am running on a AWS free tier Ubuntu box. OS version is Ubuntu 14.04.4 LTS
Default python version was 2.7.6.
Failed building wheel for pycapnp
---------------------------------------------------------------
sudo apt-get update -y
sudo apt-get install git g++ cmake python-dev -y
git clone https://github.com/numenta/nupic.core.git
git clone https://github.com/numenta/nupic.git
export NUPIC=$HOME/nupic