Skip to content

Instantly share code, notes, and snippets.

View drewlustro's full-sized avatar
💭
on windoze

Drew Lustro drewlustro

💭
on windoze
View GitHub Profile
@drewlustro
drewlustro / .zpreztorc
Created January 5, 2018 07:23
My .zpreztorc on SAGE (2013 rMPB)
#
# Sets Prezto options.
#
# Authors:
# Drew Lustro <drewlustro@gmail.com>
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
#
# General
@drewlustro
drewlustro / solr.rb
Created July 19, 2018 22:58 — forked from magnusvk/solr.rb
Homebrew Formula for Solr 6.0.0
class Solr < Formula
desc "Enterprise search platform from the Apache Lucene project"
homepage "https://lucene.apache.org/solr/"
url "https://www.apache.org/dyn/closer.cgi?path=lucene/solr/6.0.0/solr-6.0.0.tgz"
mirror "https://archive.apache.org/dist/lucene/solr/6.0.0/solr-6.0.0.tgz"
sha256 "abf5ae9f16a752ddbb2184c97ce62249a0d9f28642c62fa3333adc1c27916672"
bottle :unneeded
depends_on :java
@drewlustro
drewlustro / index.js
Created November 14, 2018 05:42
Art Institute of Chicago Scraper - scrapes Creative Commons Zero (CC0) licensed artworks with puppeteer and downloads images
const puppeteer = require("puppeteer");
const fs = require("fs");
const request = require("request");
let scrapeUrls = async () => {
const browser = await puppeteer.launch({ headless: false });
const page = await browser.newPage();
page.setViewport({ width: 1600, height: 1200 });
await page.goto('https://www.artic.edu/collection?is_public_domain=1')