Skip to content

Instantly share code, notes, and snippets.

Avatar

Mohamed Taher Alrefaie mohataher

View GitHub Profile
@maxim5
maxim5 / pretrained_word2vec_lstm_gen.py
Last active Jul 23, 2020
Text generator based on LSTM model with pre-trained Word2Vec embeddings in Keras
View pretrained_word2vec_lstm_gen.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
__author__ = 'maxim'
import numpy as np
import gensim
import string
@sander
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;
console.log('ja');
@sebsto
sebsto / gist:19b99f1fa1f32cae5d00
Created Aug 8, 2014
Install Maven with Yum on Amazon Linux
View gist:19b99f1fa1f32cae5d00
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -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
rtfpessoa / java-8-ami.md
Last active Jul 12, 2020
[Guide] Install Oracle Java (JDK) 8 on Amazon EC2 Ami
View java-8-ami.md
@dideler
dideler / 0-startup-overview.md
Last active Aug 7, 2020
Startup Engineering notes
View 0-startup-overview.md
You can’t perform that action at this time.