Skip to content

Instantly share code, notes, and snippets.

View melitini's full-sized avatar

Melissa Marie melitini

  • SHOPSTYLE
View GitHub Profile
font-family: Helvetica, Arial, sans-serif !important;
<td style="padding-top: 5px; padding-right: 5px;">
<span style="font-family: Avenir Next, Arial, sans-serif !important; color: #000000;"> Text </span>
</td>
<tr>
<td class="xsmall-font" align="center" style="font-family: Avenir Next, Arial, sans-serif !important; font-size: 10px !important; color: #656565; text-align: center;">
Text
</td>
</tr>
<head>
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
<style type="text/css">
@media screen and (min-device-width: 320px) and (max-device-width: 568px),
[style*="Open Sans"] {
font-family: 'Open Sans', Arial, sans-serif !important;
}
*[class=xsmall-font] {
font-size: 10px !important;
font-family: Helvetica, Arial, sans-serif !important;
<!--[if mso]>
<style type="text/css">
body, table, td {font-family: Avenir Next, Arial, sans-serif !important;}
</style>
<![endif]-->
@melitini
melitini / 100chairs
Last active March 16, 2016 18:32
100 Chairs Coding Challenge
/*
Take a second to imagine that you are in a room with 100 chairs arranged in a circle.
These chairs are numbered sequentially from One to One Hundred.
At some point in time, the person in chair #1 will be told to leave the room.
The person in chair #2 will be skipped, and the person in chair #3 will be told to leave.
Next to go is person in chair #6. In other words, 1 person will be skipped initially, and then 2, 3, 4.. and so on.
This pattern of skipping will keep going around the circle until there is only one person remaining- The survivor!
Note that each chair is removed when the person leaves the room.
*/