Skip to content

Instantly share code, notes, and snippets.

View mohataher's full-sized avatar

Mohamed Taher Alrefaie mohataher

View GitHub Profile
@maxim5
maxim5 / pretrained_word2vec_lstm_gen.py
Last active July 2, 2023 10:40
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
sander / heart.js
Created July 28, 2015 16:15
Polar H7 in Node
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 August 8, 2014 15:53
Install Maven with Yum on Amazon Linux
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 March 21, 2022 14:46
[Guide] Install Oracle Java (JDK) 8 on Amazon EC2 Ami
@dideler
dideler / 0-startup-overview.md
Last active March 18, 2024 07:34
Startup Engineering notes