Skip to content

Instantly share code, notes, and snippets.

@gtoast
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=\"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 / fresh-install.sh
Last active Jul 9, 2020
Installer Script for a new Mac
View fresh-install.sh
#!/bin/bash
# DESCRIPTION
# Installs Homebrew software.
# EXECUTION
# XCode Command Line Tools
xcode-select --install
# Homebrew
@gtoast
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;