Skip to content

Instantly share code, notes, and snippets.

View dashw00d's full-sized avatar
🎯
Focusing

Ryan Stefan dashw00d

🎯
Focusing
View GitHub Profile
#! /usr/local/bin/python3
# -*- coding: utf-8-sig -*-
import os
import csv
import pyperclip
bpath = "C:/Program\ Files\ (x86)/Google/Chrome/Application/chrome.exe"
output_file = './output/monitization_results.csv'
@dashw00d
dashw00d / spacing-helpers.css
Created January 6, 2019 16:00
Spacing helpers I use for materialize content pieces
.margin.top-0{
margin-top:0
}
.margin.bottom-0{
bottom-top:0
}
.margin.top-10{
margin-top:10px
}
.margin.bottom-10{
@dashw00d
dashw00d / single_file_scrapy.py
Last active December 24, 2018 01:34
A stand-alone Scrapy script template for rapid scraping development. Uses Item Loaders and automatically gives empty items a default value.
#! /usr/local/bin/python3
# -*- coding: utf-8 -*-
from scrapy.crawler import CrawlerProcess
from scrapy.loader import ItemLoader
from scrapy.loader.processors import TakeFirst, MapCompose, Join
from scrapy import Spider, Item, Field
from scrapy.settings import Settings
# Originally built off of: