Skip to content

Instantly share code, notes, and snippets.

@aes512
aes512 / CausalImpact.ipynb
Created October 24, 2019 21:51 — forked from pshapiro/CausalImpact.ipynb
CausalImpact implementation in Python to demonstrate SEO A/B Testing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aes512
aes512 / metadesc.py
Created October 24, 2019 21:51 — forked from pshapiro/metadesc.py
Use Text Summarization Algorithms to Help Aid the Writing of Meta Descriptions
import csv
import os
from sumy.parsers.html import HtmlParser
from sumy.parsers.plaintext import PlaintextParser
from sumy.nlp.tokenizers import Tokenizer
from sumy.summarizers.lsa import LsaSummarizer as Lsa
from sumy.summarizers.luhn import LuhnSummarizer as Luhn
from sumy.summarizers.text_rank import TextRankSummarizer as TxtRank
from sumy.summarizers.lex_rank import LexRankSummarizer as LexRank
from sumy.summarizers.sum_basic import SumBasicSummarizer as SumBasic
@aes512
aes512 / Auto301Redirects.ipynb
Created October 24, 2019 21:50 — forked from pshapiro/Auto301Redirects.ipynb
Automatic 301 Redirects with SpaCy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aes512
aes512 / YouTube-Playlists-Subtitles.ipynb
Created October 24, 2019 21:50 — forked from pshapiro/YouTube-Playlists-Subtitles.ipynb
Download auto-generated subtitles from a YouTube playlist and do a term frequency analysis
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aes512
aes512 / reddit-keyword-insights.py
Created October 24, 2019 21:50 — forked from pshapiro/reddit-keyword-insights.py
Get stats from reddit keywords
import praw
import csv
import datetime
# Create an app: https://www.reddit.com/prefs/apps
# Use http://localhost:8080 as redirect uri
username = ""
password = ""
clientid = ""
clientsecret = ""
@aes512
aes512 / GoogleEntities.ipynb
Created October 24, 2019 21:50 — forked from pshapiro/GoogleEntities.ipynb
Extract Entities from Search Results using Google NLP for Keyword Research Opportunities
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aes512
aes512 / expired_domain_finder.ipynb
Created October 24, 2019 21:49 — forked from pshapiro/expired_domain_finder.ipynb
Jupyter Notebook that input outlink from Screaming Frog crawl, grabs PA & DA from Moz API, and uses WHOIS API to determine domain availability.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aes512
aes512 / hitwise-audienceview-keyword-research.py
Created October 24, 2019 21:49 — forked from pshapiro/hitwise-audienceview-keyword-research.py
Automate Keyword Profiling with AudienceView - Requires and existing Crosstab Report
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import Select
import time
import pandas as pd
import os
@aes512
aes512 / README.md
Created August 1, 2016 21:40 — forked from scy/README.md
My OSX PF config for #30C3.

My OS X “VPN only” Setup For #30C3

You should never let passwords or private data be transmitted over an untrusted network (your neighbor’s, the one at Starbucks or the company) anyway, but on a hacker congress like the #30C3, this rule is almost vital.

Hackers get bored easily, and when they’re bored, they’re starting to look for things to play with. And a network with several thousand connected users is certainly an interesting thing to play with. Some of them might start intercepting the data on the network or do other nasty things with the packets that they can get.

If these packets are encrypted, messing with them is much harder (but not impossible! – see the end of this article). So you want your packets to be always encrypted. And the best way to do that is by using a VPN.

Target audience

@aes512
aes512 / ipython-scrapy.ipynb
Created March 21, 2016 03:03 — forked from vatsalj/ipython-scrapy.ipynb
Updated kmike's gist to remove deprecated parts such as BaseSpider, signal item_parsed, crawler.install(). Works with scrapy 0.23.0.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.