Skip to content

Instantly share code, notes, and snippets.

View melissamcewen's full-sized avatar

Melissa McEwen melissamcewen

View GitHub Profile
@melissamcewen
melissamcewen / Malibu.json
Created July 11, 2021 03:19
Petz malibu palette for Ditherit
[{"hex":"#ffff00"},{"hex":"#fcf905"},{"hex":"#ffc71a"},{"hex":"#ff4200"},{"hex":"#ff0000"},{"hex":"#ff00ff"},{"hex":"#dd346a"},{"hex":"#00ff00"},{"hex":"#00ffff"},{"hex":"#00cb16"},{"hex":"#333bff"},{"hex":"#189cce"}]
@melissamcewen
melissamcewen / palette.json
Created July 7, 2021 20:33
Petz palette for DitherIt
[{"hex":"#000000"},{"hex":"#800000"},{"hex":"#008000"},{"hex":"#808000"},{"hex":"#000080"},{"hex":"#800080"},{"hex":"#008080"},{"hex":"#C0C0C0"},{"hex":"#D4D0C8"},{"hex":"#408080"},{"hex":"#E7E2DD"},{"hex":"#E3DED8"},{"hex":"#DFDAD4"},{"hex":"#DBD6D0"},{"hex":"#D7D2CC"},{"hex":"#D8D3CC"},{"hex":"#CFCAC3"},{"hex":"#CBC6BF"},{"hex":"#C7C2BB"},{"hex":"#C3BEB6"},{"hex":"#757575"},{"hex":"#6F6F6F"},{"hex":"#6A6A6A"},{"hex":"#656565"},{"hex":"#606060"},{"hex":"#5B5B5B"},{"hex":"#565656"},{"hex":"#565656"},{"hex":"#4C4C4C"},{"hex":"#464646"},{"hex":"#424242"},{"hex":"#3A3A3A"},{"hex":"#333333"},{"hex":"#2C2C2C"},{"hex":"#242424"},{"hex":"#1D1D1D"},{"hex":"#161616"},{"hex":"#0E0E0E"},{"hex":"#070707"},{"hex":"#000000"},{"hex":"#DCC296"},{"hex":"#D5BB90"},{"hex":"#CFB58A"},{"hex":"#C8AF85"},{"hex":"#C7AE84"},{"hex":"#BBA27A"},{"hex":"#B59C74"},{"hex":"#B8A079"},{"hex":"#A89069"},{"hex":"#A28963"},{"hex":"#8C4627"},{"hex":"#7F3D20"},{"hex":"#77391E"},{"hex":"#753A21"},{"hex":"#68311A"},{"hex":"#612D18"},{"hex":"#592916
@melissamcewen
melissamcewen / poodle-mix.lnz
Created June 2, 2021 01:03
Lnz from dog with scottie head, dali ears, poodle everything else
[Texture List]
\art\textures\hair11.bmp 1 256 256
\art\textures\hair3.bmp 1 256 256
\art\textures\jowl1.bmp 1 256 256
[Num Ballz]
67
[Lnz Version]
2
[Species]
2
@melissamcewen
melissamcewen / clothing-data.csv
Last active February 15, 2021 05:41
clothing-data
Name Link Type Color Source Status Subtype To Date got rid of Sold for Fabric Price Date Acquired Wears Wears Rollup Price Rollup
Glacier dress dress white Asos Fit Sold 0 0
stripe grey navy vintage dress dress navy Vintage Fit Sold 0 0
Mesh black dress jumper dress black Asos Style Sold 0 0
black turtleneck long-sleeve tee black Uniqlo Sweaty Gave Away 0 0
Grey panel dress dress grey Asos Fit Sold 0 0
purple ponte dress jumper dress purple Target Wear Piling Gave Away 0 0
Zebra sweater long-sleeve outer shirts slate Thrift Wear Piling Gave Away 0 0
Leopard sweater long-sleeve outer shirts slate Thrift Wear Piling Gave Away 0 0
Gold dress dress gold Thrift Fit Gave Away 0 0
@melissamcewen
melissamcewen / anchors.test.js
Created February 2, 2021 23:52
Check for anchor links with Cheerio
const fs = require('fs');
const path = require('path');
const cheerio = require('cheerio');
const $ = cheerio.load(fs.readFileSync(path.join('_site', 'index.html')));
function escapeRegExp(string) {
return string.replace(/[.*+?^$%&{}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
}
@melissamcewen
melissamcewen / comparison.csv
Created March 5, 2019 13:33
A table comparing podcast apps
Comparison Just Podcasts Itunes Spotify
Fast? SO FAST Haha No
Easy to use? Kinda? Sometimes Yeah
Get ANY podcast? As long as it has an rss feed Basically If spotify thinks it's important
List newest episodes by order and play them chronologically YES NOPE Maybe?
Edit the app yourself OPEN SOURCE BABY! No way In your dreams
BUGZ/crashes 🕷🐛🐜🐞 Often Sometimes
Player I told you it was bare bones and it is Pretty good Yes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
def delete(api, date, r):
with open("likes.csv") as file:
count = 0
for row in csv.DictReader(file):
tweet_id = int(row["tweet_id"])
try:
print "Deleting like"
api.CreateFavorite(status_id=tweet_id)