Skip to content

Instantly share code, notes, and snippets.

View alhirzel's full-sized avatar

Alex Hirzel alhirzel

View GitHub Profile
@alhirzel
alhirzel / Makefile
Created March 24, 2023 15:00
Downloader for SmartCreative wallpapers
URL=https://www.workwithsmart.com/keweenaw-wallpapers/
default: .page_cache.html
python -c \
'from bs4 import BeautifulSoup; import sys; [print(txt.parent["href"]) for txt in BeautifulSoup(sys.stdin, "html.parser")(text="Desktop")]' \
< $< \
| xargs -n1 curl -OL -C -
.page_cache.html:
curl -q ${URL} > $@

Keybase proof

I hereby claim:

  • I am alhirzel on github.
  • I am alhirzel (https://keybase.io/alhirzel) on keybase.
  • I have a public key whose fingerprint is C272 7257 EF81 9C7E 4133 C7F4 FAF1 4BEE 6F4C 3BBE

To claim this, I am signing this object:

@alhirzel
alhirzel / Configuration.h
Created December 23, 2014 17:13
Alex's Marlin Configuration.h 2014-12-23
/*
* In-progress calibration for Alex's MOST Delta 3D printer. Changes are so
* frequent that a changelog is cumbersome. Search XXX or TODO or EMPIRICAL for
* interesting areas.
*/
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
// EMPIRICAL