Skip to content

Instantly share code, notes, and snippets.

@amycheng
amycheng / elizabeth.txt
Created August 6, 2015 00:36
Elizabeth, a cyborg poem
Elizabeth's seeming really vexed and embarrassed.
Her acquaintance was at least as much embarrassed as herself.
She had resolved to be perfectly easy
A resolution.
"I know my own strength, and I shall never be embarrassed again"
"But I was embarrassed."
@amycheng
amycheng / ceremony.txt
Created August 6, 2015 01:01
Ceremony, a cyborg poem
Allow
the
disapproving
to
be distant
When
almost
promising,
the
@amycheng
amycheng / script.js
Created January 16, 2019 21:35
Get instagram images by tag
const fs = require('fs'),
puppeteer = require('puppeteer'),
tag = 'sushi';
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
let sharedData, images;
await page.goto(`https://www.instagram.com/explore/tags/${tag}`);
const slides = [
{
image:
' https://s3.amazonaws.com/peloton-ride-images/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3/img_1530025103442.jpg',
title: 'Basics',
},
{
image:
'https://s3.amazonaws.com/peloton-ride-images/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3/img_1531254937082.jpg',
title: 'Essentials Package',
@amycheng
amycheng / machine.js
Created July 24, 2020 16:30
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions