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 $loop = new WP_Query( array( 'post_type' => 'post_type', 'posts_per_page' => 10 ) ); ?> | |
| <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> | |
| <article> | |
| <a href="<?= get_permalink();?>"><h2><?= the_title();?></h2></a> | |
| <?php the_excerpt(); ?> | |
| </article> | |
| <?php endwhile; ?> |
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
| <c:forEach varStatus="loopStatus"> | |
| <tr class="${loopStatus.index % 2 == 0 ? 'odd' : 'even'}"> | |
| ... |
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
| mysql -u root -p -h localhost foo <bar.sql |
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
| mvn -D jetty.port=9999 jetty:run |
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
| $.fn.zebrafy = function(){ | |
| if($(this).get(0) != null){ | |
| var $im_a = $(this).get(0).tagName.toLowerCase(); | |
| var $stripe_element; | |
| if($im_a == "table") { | |
| $stripe_element = "tr" | |
| } else { | |
| $stripe_element = "li" | |
| }; |
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
| .coda-slider-wrapper { | |
| padding: 20px 0; | |
| clear: both; | |
| overflow: auto; | |
| .coda-nav { | |
| ul { | |
| clear: both; | |
| display: block; | |
| margin: auto; |
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
| $.fn.supportPlaceholder = function(){ | |
| if(!Modernizr.input.placeholder) { | |
| // Populate field with placeholder text | |
| var placeholderText = $(this).attr("placeholder"); | |
| $(this).val(placeholderText).css({"color" : "#999"}); | |
| // Clear text if they focus | |
| $(this).focus(function(){ | |
| $(this).val("").css({"color" : "#333"}) |
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
| <select name="province" id="province"> | |
| <option value="AB">Alberta</option> | |
| <option value="BC">British Columbia</option> | |
| <option value="MB">Manitoba</option> | |
| <option value="NB">New Brunswick</option> | |
| <option value="NL">Newfoundland and Labrador</option> | |
| <option value="NS">Nova Scotia</option> | |
| <option value="NT">Northwest Territories</option> | |
| <option value="NU">Nunavut</option> | |
| <option value="ON">Ontario</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
| <select name="state" id="state"> | |
| <option value="AL">Alabama</option> | |
| <option value="AK">Alaska</option> | |
| <option value="AZ">Arizona</option> | |
| <option value="AR">Arkansas</option> | |
| <option value="CA">California</option> | |
| <option value="CO">Colorado</option> | |
| <option value="CT">Connecticut</option> | |
| <option value="DE">Delaware</option> | |
| <option value="DC">District Of Columbia</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
| <select name="Country"> | |
| <option value="" selected="selected">Select Country</option> | |
| <option value="United States">United States</option> | |
| <option value="United Kingdom">United Kingdom</option> | |
| <option value="Afghanistan">Afghanistan</option> | |
| <option value="Albania">Albania</option> | |
| <option value="Algeria">Algeria</option> | |
| <option value="American Samoa">American Samoa</option> | |
| <option value="Andorra">Andorra</option> | |
| <option value="Angola">Angola</option> |