Skip to content

Instantly share code, notes, and snippets.

View adamstac's full-sized avatar

Adam Stacoviak adamstac

View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
_/ _/ _/ _/_/ _/ _/
_/ _/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/_/ _/_/_/ _/ _/_/_/_/ _/_/ _/_/_/
_/_/_/_/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/_/_/_/ _/ _/_/_/_/ _/ _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/_/_/ _/ _/ _/_/_/ _/_/_/ _/ _/_/_/ _/ _/_/ _/_/_/ _/_/_/
-->
%h1 Terms of Service
%p You must agree to the TOS in order to submit this form.
%p
%input{:type => "checkbox", :id => "agree_to_tos"}
%p
= submit_tag "Process Payment", :id => "submit_if_agree_to_tos"
=rounded(!pixels)
border-radius = !pixels
-moz-border-radius = !pixels
-webkit-border-radius = !pixels
=rounded_top(!pixels)
border-top-left-radius = !pixels
-moz-border-radius-topleft = !pixels
-webkit-border-top-left-radius = !pixels
border-top-right-radius = !pixels
:erb
<!DOCTYPE html>
/ Set the DOCTYPE to HTML5
[16:52][adamstac@AS-MBP15:~/Code/Clients/Blah(71)]$ css2sass -a public/stylesheets/layout.css app/stylesheets/layout.sass
Invalid CSS on line 8: expected ":"
[16:52][adamstac@AS-MBP15:~/Code/Clients/Blah(71)]$
// 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