Skip to content

Instantly share code, notes, and snippets.

View adamstac's full-sized avatar

Adam Stacoviak adamstac

View GitHub Profile
// Automatically reloads the browser to help save time
function timedRefresh(timeoutPeriod) {
setTimeout("location.reload(true);", timeoutPeriod);
}
// Set the refresh to 20 seconds
timedRefresh(20000);
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
border: none;
}
a
:text-decoration none
&:link, &:visited
:color #1c4fad
&:hover
:color #1c4fad
:text-decoration underline
- if comment.can_be_marked_as_helpful_by?(current_user)
...
.5 max 15 minutes
1 15 mins - 1 hr
2 1-2 hrs
3 2-4 hrs
5 4-8 hrs
8 8-20 hrs
13 20-40 hrs
21 40-80 hrs
%section
.row
.column.grid_4
%h1 Heading Level 1
%p Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
%p It is the star to every wand'ring bark, that looks on tempests and is never shaken; whose worth's unknown, although his height be taken. Oh, no, it is an ever fixed mark love alters not with his brief hours and weeks, I never writ, nor no man ever loved. Within his bending sickle's compass come; or bends with the remover to remove. Which alters when it alteration finds, but bears it out even to the edge of doom.
.column.grid_5
.row
.column.g
%ul
- item.pros.each do
%li
= item.pros
#page_header
%h1= @page_title = "Page Title"
%h2= @page_description = "Page Description"
#page_actions
%ul
%li
= link_to "Action Link", "#"
#page_back
= link_to "← Back to Index", account_collections_url
#page_body
=rounded(!pixels)
border-radius = !pixels
-moz-border-radius = !pixels
-webkit-border-radius = !pixels
=rounded_top(!pixels)
+border_top_left(!pixels)
+border_top_right(!pixels)
=rounded_right(!pixels)
%table
%thead
%tr
- 5.times do
%th
Table Heading
%tbody
- 10.times do
%tr
- 5.times do