Skip to content

Instantly share code, notes, and snippets.

View analyticascent's full-sized avatar
🎯
Laying the soil for a couple projects...

Amara's Law analyticascent

🎯
Laying the soil for a couple projects...
View GitHub Profile
@jeetsukumaran
jeetsukumaran / extract-pdf-pages.py
Created March 24, 2012 23:28
PDF Page Extraction/Selection in Python Using PyPDF
#! /usr/bin/env python
###############################################################################
##
## Copyright 2012 Jeet Sukumaran.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or
## (at your option) any later version.
@elssar
elssar / grab_pdfs.py
Created March 14, 2013 11:48
Download all the pdf files linked in a given webpage.
#!/usr/bin/env python
"""
Download all the pdfs linked on a given webpage
Usage -
python grab_pdfs.py url <path/to/directory>
url is required
path is optional. Path needs to be absolute
@yanofsky
yanofsky / LICENSE
Last active February 25, 2024 12:21
A script to download all of a user's tweets into a csv
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
@spencercarter
spencercarter / model_web_service_flask_post_p1.py
Last active November 16, 2018 13:59
Gists containing code to run the Models as a Web Service blog post
# Part 1: Model
import sklearn as sk
import numpy as np
from sklearn.datasets import load_boston
from sklearn.linear_model import LassoCV
import pandas as pd
from flask import Flask
from flask import request
import requests