Skip to content

Instantly share code, notes, and snippets.

View adamstac's full-sized avatar

Adam Stacoviak adamstac

View GitHub Profile
@adamstac
adamstac / zonefile-example.txt
Created November 22, 2008 20:33
A zone file template for importing into GoDaddy Total DNS manager for speedy domain setups
; You will need to update line 7 with the proper CNAME given to you when setting your Google Apps account for this domain.
; A Records
@ 1800 IN A 222.222.22.222
; CNAME Records
xxxxxxxxxxxxxxxxxxxxxx 604800 IN CNAME google.com
docs 3600 IN CNAME ghs.google.com
calendar 3600 IN CNAME ghs.google.com
mail 3600 IN CNAME ghs.google.com
<div id='showroom'>
<div class='cars'>
<div class='car bentley'>
<a href="#"><img alt="Bentley" src="/images/app/showroom/bentley.png?1238903520" /></a>
</div>
<div class='car mini_cooper'>
<a href="#"><img alt="Mini_cooper" src="/images/app/showroom/mini_cooper.png?1238903538" /></a>
</div>
<div class='car land_rover'>
.person.vcard.clearfix
= image_tag("/images/photo.jpg", :class => "photo")
.info
%h3.fn First Last
%p.title Title
%p.email= mail_to "mail@domain.com"
.bio
%p The vitality of conceptual synergies is of supreme importance whenever single-loop learning strategies go wrong, in order to build a shared view of what can be improved. The components and priorities for the change program building flexibility through spreading knowledge and self-organization, empowerment of all personnel, not just key operatives. Exploitation of core competencies as an essential enabler, by adopting project appraisal through incremental cash flow analysis.
/* -----------------------------------------------------
/* -----------------------------------------------------
P.I.E. FLOAT CLEARING
www.positioniseverything.net/easyclearing.html
----------------------------------------------------- */
.clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
/* Fixes IE/Mac */
.clearfix { display: inline-block; }
/* Hides from IE-mac \*/
// I'm on the outside
hostname = window.location.hostname
$("a[href^=http]")
.not("a[href*='" + hostname + "']")
.addClass('link external')
.attr('target', '_blank');
<!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)]$