Skip to content

Instantly share code, notes, and snippets.

@gtoast
gtoast / ch1ex1.hy
Created May 13, 2020 23:36
A Lisp Programmer Living in Python-Land
(import [bs4 [BeautifulSoup]])
(setv raw-data
"<html><body><a href=\"http://markwatson.com\">Mark</a></body></html>")
(setv soup (BeautifulSoup raw-data "lxml"))
(setv a (.find-all soup "a"))
(print "a tags:" a)
@gtoast
gtoast / README.md
Created August 22, 2019 19:46
SCRIPT-8
@gtoast
gtoast / README.md
Created August 21, 2019 14:23
SCRIPT-8
@gtoast
gtoast / README.md
Created August 21, 2019 14:21
SCRIPT-8
@gtoast
gtoast / fresh-install.sh
Last active August 4, 2022 22:06
Installer Script for a new Mac
#!/bin/bash
# DESCRIPTION
# Installs Homebrew software.
# EXECUTION
# XCode Command Line Tools
xcode-select --install
# Homebrew
@gtoast
gtoast / gist:7664301
Created November 26, 2013 19:15
Testing out the gist.
PShape shapeOut;
Ellipse[] shapesOut;
int numShapesOut = 10;
float scaleSpeed = 10;
float createSpeed = .05;
float fact = 1.0;
float centerX;
float centerY;