Skip to content

Instantly share code, notes, and snippets.

Avatar

R3DDY97

View GitHub Profile
@R3DDY97
R3DDY97 / pdf-dl.py
Last active Dec 4, 2017
Downloads all pdfs from webpage
View pdf-dl.py
#!/usr/bin/env python3
def Usage():
print(
"""
Usage:-
Downloads all the pdf links from a given webpage
python pdf-dl.py url <path/to/directory>
@R3DDY97
R3DDY97 / r_ubuntu_17_10.sh
Last active Nov 3, 2017 — forked from pachadotdev/r_ubuntu_17_10.sh
Install R on Ubuntu 17.10
View r_ubuntu_17_10.sh
#!/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