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
//Reverse Podcast Order | |
function podcast_order( $wp_query ) { | |
// Get the post type from the query | |
if( isset($wp_query->query['post_type']) ) { | |
$post_type = $wp_query->query['post_type']; | |
if ($post_type == 'podcasts') { |
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
var gulp = require('gulp'); | |
var $ = require('gulp-load-plugins')(); | |
var browserSync = require('browser-sync').create(); | |
var sass = require('gulp-sass'); | |
var reload = browserSync.reload; | |
var sassPaths = [ | |
'bower_components/foundation-sites/scss', | |
'bower_components/motion-ui/src' |
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
//Override the default confirm dialog by rails | |
$.rails.allowAction = function(link){ | |
if (link.data("confirm") == undefined){ | |
return true; | |
} | |
$.rails.showConfirmationDialog(link); | |
return false; | |
} | |
//User click confirm button |
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
interface eth0 | |
static ip_address=192.168.0.10/24 | |
static routers=192.168.0.1 | |
static domain_name_servers=192.168.0.1 | |
interface wlan0 | |
static ip_address=192.168.0.10/24 | |
static routers=192.168.0.1 |
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
<h1>This is a H1</h1> | |
<h2>This is a H2</h2> | |
<h3>This is a H3</h3> | |
<h4>This is a H4</h4> | |
<h5>This is a H5</h5> | |
<h6>This is a H6</h6> | |
<p class="lead"> | |
This is a lead paragraph. These are best used as the first paragraph on a page. They are used to callout important information. | |
</p> |
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
<form> | |
<div class="row"> | |
<div class="six columns"> | |
<label for="exampleEmailInput">Your email</label> | |
<input class="u-full-width" type="email" placeholder="[email protected]" id="exampleEmailInput"> | |
</div> | |
<div class="six columns"> | |
<label for="exampleRecipientInput">Reason for contacting</label> | |
<select class="u-full-width" id="exampleRecipientInput"> | |
<option value="Option 1">Questions</option> |
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
<table class="u-full-width"> | |
<thead> | |
<tr> | |
<th>User ID</th> | |
<th>Name</th> | |
<th>Email</th> | |
<th>Twitter</th> | |
</tr> | |
</thead> | |
<tbody> |
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
<p class="alert success"> | |
This is a successful alert. | |
</p> | |
<p class="alert warning"> | |
This is a wanring alert. | |
</p> | |
<p class="alert error"> | |
This is an error alert. | |
</p> |