This file contains hidden or 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
sudo mongod --fork --logpath /data/db/mongod.log --logappend |
This file contains hidden or 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
// These variables are to denote where our breakpoints live. | |
// They are in EMs and these values came from (Breakpoint / 16) = em value | |
$four-column-max: 39.9375em; | |
$eight-column: 40em; | |
$eight-column-max: 59.9375em; | |
$twelve-column: 60em; | |
$twelve-column-max: 79.9375em; | |
$sixteen-column: 80em; |
This file contains hidden or 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
@mixin placeholder { | |
&::-webkit-input-placeholder {@content} | |
&:-moz-placeholder {@content} | |
&::-moz-placeholder {@content} | |
&:-ms-input-placeholder {@content} | |
} |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[ | |
::-webkit-input-placeholder {color: ${1:hex-value} } | |
:-moz-placeholder {color: ${1:hex-value} } | |
::-moz-placeholder {color: ${1:hex-value} } | |
:-ms-input-placeholder {color: ${1:hex-value} } | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>placeholder</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> |
This file contains hidden or 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-backface-visibility: hidden; |
This file contains hidden or 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
<?php //Let's Contact Form This Thing UP! | |
// Start Your PHP Sessions | |
session_start(); | |
// Set the contact page variable for redirection later | |
$contact_page = get_permalink(48); | |
// Create the necessary variable that will be used in detecting errors | |
$errorFound = false; |
This file contains hidden or 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
function isRussian($val){ | |
$result = preg_match('/[А-Яа-яЁё]/u', $val); | |
return $result; | |
} |
This file contains hidden or 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
<?php include('../library/includes/config.php'); ?> | |
<?php | |
$blogUrl = 'http://www.trimarksolutions.com/inside/feed/'; | |
$blogData = simplexml_load_file($blogUrl); | |
$blogData = $blogData->channel; | |
?> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> |
This file contains hidden or 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
jQuery(document).ready(function($) { | |
var allPanels = $('.termContent').hide(); | |
$('.termHeader').on('click', function(){ | |
$('.termContent.active').removeClass('active').hide(400); | |
$(this).siblings('.termContent').not('.active').slideToggle().addClass('active'); | |
}); | |
}); |
NewerOlder