Skip to content

Instantly share code, notes, and snippets.

😄
Exploring...

Xnsam

😄
Exploring...
Block or report user

Report or block Xnsam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Xnsam
Xnsam / tf_serving.sh
Created Jun 13, 2018 — forked from jarutis/tf_serving.sh
Install Tensorflow Serving on Centos 7 (CPU)
View tf_serving.sh
sudo su
# Java
yum -y install java-1.8.0-openjdk-devel
# Build Esentials (minimal)
yum -y install gcc gcc-c++ kernel-devel make automake autoconf swig git unzip libtool binutils
# Extra Packages for Enterprise Linux (EPEL) (for pip, zeromq3)
yum -y install epel-release
@Xnsam
Xnsam / extract_emails_from_text.py
Created Jul 6, 2017 — forked from dideler/extract_emails_from_text.py
A python script for extracting email addresses from text files. You can pass it multiple files. It prints the email addresses to stdout, one address per line. For ease of use, remove the .py extension and place it in your $PATH (e.g. /usr/local/bin/) to run it like a built-in command.
View extract_emails_from_text.py
#!/usr/bin/env python
#
# Extracts email addresses from one or more plain text files.
#
# Notes:
# - Does not save to file (pipe the output to a file if you want it saved).
# - Does not check for duplicates (which can easily be done in the terminal).
#
# (c) 2013 Dennis Ideler <ideler.dennis@gmail.com>
You can’t perform that action at this time.