Skip to content

Instantly share code, notes, and snippets.

body {
font-family: 'Avenir Next', system-ui;
}
h1 {
color: #ec3750;
}
img {
animation: spin 10s linear infinite;
@maxwofford
maxwofford / nginx.conf
Created September 3, 2017 08:19 — forked from thoop/nginx.conf
Official prerender.io nginx.conf for nginx
# Change YOUR_TOKEN to your prerender token and uncomment that line if you want to cache urls and view crawl stats
# Change example.com (server_name) to your website url
# Change /path/to/your/root to the correct value
server {
listen 80;
server_name example.com;
root /path/to/your/root;
index index.html;
@maxwofford
maxwofford / notif
Created July 14, 2016 22:28 — forked from zachlatta/notif
#!/bin/sh
echo "Hey! This is a notification from The Hack Series." | twilio-sms $1
sleep 1
echo "We're excited to see you at 1PM today at Make School (1547 Mission St, San Francisco, CA 94103)." | twilio-sms $1
sleep 1
echo "We'll be starting sharply at 1PM, so please plan to arrive 5 minutes early. Don't forget to bring a laptop (unless we've individually talked to you about this already)!" | twilio-sms $1
sleep 1
echo "If you have any questions, please don't hesitate to text or call Zach at 310-801-7309. See you soon!" | twilio-sms $1
@maxwofford
maxwofford / doc.md
Last active August 29, 2015 14:23 — forked from jonleung/doc.md
Maestro Documentation (c2w2d2)

###sendSms Send a text message to any phone number

maestro.Twilio.sendSms("484-555-5555", "Yo, what's up?");
//=> Send an text message to the phone  "484-555-5555" with the message "Yo, what's up?"

maestro.Twilio.sendSms("415-555-5555", "What's your order?");
//=> Send an text message to the phone "415-555-5555" with the message "What's your order?"

It is a well-known fact that behind every good comet is a UFO. These UFOs often come to collect loyal supporters from here on Earth. Unfortunately, they only have room to pick up one group of followers on each trip. They do, however, let the groups know ahead of time which will be picked up for each comet by a clever scheme: they pick a name for the comet which, along with the name of the group, can be used to determine if it is a particular group's turn to go (who do you think names the comets?). The details of the matching scheme are given below; your job is to write a program which takes the names of a group and a comet and then determines whether the group should go with the UFO behind that comet.

Both the name of the group and the name of the comet are converted into a number in the following manner: the final number is just the product of all the letters in the name, where "A" is 1 and "Z" is 26. For instance, the group "USACO" would be 21 * 19 * 1 * 3 * 15 = 17955. If the group's number mod 47 is the

alert('hello');