Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View R3DDY97's full-sized avatar

R3DDY97

View GitHub Profile
@R3DDY97
R3DDY97 / send_mail.py
Created August 15, 2019 16:03 — forked from vjo/send_mail.py
[Python] Send email with embedded image and application attachment
#! /usr/bin/python
import smtplib
from optparse import OptionParser
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.image import MIMEImage
from email.mime.application import MIMEApplication
@R3DDY97
R3DDY97 / r_ubuntu_17_10.sh
Last active November 3, 2017 06:18 — forked from pachadotdev/r_ubuntu_17_10.sh
Install R on Ubuntu 17.10
#!/bin/bash
# Install R
sudo apt-get update
sudo apt-get install libxml2-dev libssl-dev libcurl4-openssl-dev libopenblas-dev r-base -y
# create local library folder and update path
mkdir -p ~/R/x86_64-pc-linux-gnu-library/3.4
echo ".libPaths("~/R/x86_64-pc-linux-gnu-library/3.4")" > ~/.Rprofile