Skip to content

Instantly share code, notes, and snippets.

View marktiderman's full-sized avatar

Mark Tiderman marktiderman

View GitHub Profile
@marktiderman
marktiderman / 0-Welcome.md
Created December 10, 2012 16:19 — forked from spdustin/0-Welcome.md
Web Snippets

#Welcome!

@marktiderman
marktiderman / 0-Welcome.md
Created December 10, 2012 16:22 — forked from spdustin/0-Welcome.md
Web Snippets

#Welcome!

.subnav {
margin-bottom: 60px;
width: 100%;
height: 36px;
background-color: #eeeeee; /* Old browsers */
background-repeat: repeat-x; /* Repeat the gradient */
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
section {
padding-top: 60px;
}
.subnav {
margin-bottom: 60px;
width: 100%;
height: 36px;
background-color: #eeeeee; /* Old browsers */
background-repeat: repeat-x; /* Repeat the gradient */
if ($_SERVER['REMOTE_ADDR']=='127.0.0.1') {
define('WP_ENV', 'local');
} elseif ($_SERVER['HTTP_HOST']=='develop.project.com') {
define('WP_ENV', 'develop');
} elseif ($_SERVER['HTTP_HOST']=='master.project.com') {
define('WP_ENV', 'develop');
} else {
define('WP_ENV', 'production');
}
<div class="project open selected" projectid="d662a2f0-88b6-7464-fc02-2b35585934c5">
<div class="highlight"></div>
<div class="name ">
<a class="bullet" href="/#/d662a2f0-88b6-7464-fc02-2b35585934c5">•</a>
<div class="content" contenteditable="">SOP 1</div>
<span class="parentArrow"></span>
</div>
<div class="notes ">
<div class="content" contenteditable=""></div>
</div>
@marktiderman
marktiderman / 0_reuse_code.js
Created August 10, 2016 12:41
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@marktiderman
marktiderman / freecodecamp-challenge.markdown
Created October 25, 2017 03:06
Freecodecamp Challenge