Skip to content

Instantly share code, notes, and snippets.


Mohamed Taher Alrefaie mohataher

View GitHub Profile
maxim5 /
Last active Jul 23, 2020
Text generator based on LSTM model with pre-trained Word2Vec embeddings in Keras
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
__author__ = 'maxim'
import numpy as np
import gensim
import string
sander / heart.js
Created Jul 28, 2015
Polar H7 in Node
View heart.js
var noble = require('noble');
var uuid = 'FIXME';
var charuuid = '2a37';
var srvuuid = '180d';
var fmt = 1;
noble.on('discover', function(p) {
if (uuid != p.uuid) return;
sebsto / gist:19b99f1fa1f32cae5d00
Created Aug 8, 2014
Install Maven with Yum on Amazon Linux
View gist:19b99f1fa1f32cae5d00
sudo wget -O /etc/yum.repos.d/epel-apache-maven.repo
sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
sudo yum install -y apache-maven
mvn --version
rtfpessoa /
Last active Jul 12, 2020
[Guide] Install Oracle Java (JDK) 8 on Amazon EC2 Ami
dideler /
Last active Aug 7, 2020
Startup Engineering notes
You can’t perform that action at this time.