This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# editorconfig.org | |
root = true | |
[*] | |
indent_style = tabs | |
indent_size = 1 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Track outbound links -- https://support.google.com/analytics/answer/1136920?hl=en */ | |
/* Add second onclick event after original and return false for both */ | |
<input type="submit" onclick="(function(x){return x;})(this); trackOutboundLink('http://website.com'); return false;"> | |
<script> | |
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]= | |
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date; | |
e=o.createElement(i);r=o.getElementsByTagName(i)[0]; | |
e.src='https://www.google-analytics.com/analytics.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This changes the bracket syntax of Angular applications. | |
// Useful if you are using another templating system that uses {{}} brackets Ex. Handlebars | |
appModule.config(function($interpolateProvider) { | |
$interpolateProvider.startSymbol('{['); | |
$interpolateProvider.endSymbol(']}'); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Credit Cards --> | |
<i class="fa fa-cc-visa"></i> | |
<i class="fa fa-cc-mastercard"></i> | |
<i class="fa fa-cc-discover"></i> | |
<i class="fa fa-cc-amex"></i> | |
<i class="fa fa-credit-card"></i> | |
<i class="fa fa-credit-card-alt"></i> | |
<!-- Social Media --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="#contact" class="smooth">Scroll to #contact</a> | |
<div id="contact"> | |
Contact! | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The MIT License (MIT) | |
Copyright (c) Zachary Minner <1forhlol@gmail.com> (zacharyminner.com) | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-webkit-justify-content: space-around; | |
-ms-flex-pack: distribute; | |
justify-content: space-around; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
# Redirect http://www.example.com to http://example.com | |
# RewriteCond %{HTTP_HOST} ^www\.example\.com$ | |
# RewriteRule ^/?$ "http\:\/\/example\.com\/" [R=301,L] | |
# Redirect from the `http://` to the `https://` version of the URL. | |
# RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="form-messages"></div> | |
<form action="mailer.php" method="POST" id="ajax-contact" class="contact-form"> | |
<p>All fields are required.</p> | |
<label for="name"> | |
Full Name | |
<input type="text" name="name" id="name" required> | |
</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.write(new Date().getFullYear()); |