Skip to content

Instantly share code, notes, and snippets.

gtoast / ch1ex1.hy
Created May 13, 2020
A Lisp Programmer Living in Python-Land
View ch1ex1.hy
(import [bs4 [BeautifulSoup]])
(setv raw-data
"<html><body><a href=\"\">Mark</a></body></html>")
(setv soup (BeautifulSoup raw-data "lxml"))
(setv a (.find-all soup "a"))
(print "a tags:" a)
gtoast /
Last active Jul 9, 2020
Installer Script for a new Mac
# Installs Homebrew software.
# XCode Command Line Tools
xcode-select --install
# Homebrew
gtoast / gist:7664301
Created Nov 26, 2013
Testing out the gist.
View gist:7664301
PShape shapeOut;
Ellipse[] shapesOut;
int numShapesOut = 10;
float scaleSpeed = 10;
float createSpeed = .05;
float fact = 1.0;
float centerX;
float centerY;