An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| // Photoshop Script for Optimizing Images for the Web - Saves images as optimized jpeg | |
| // Written by: Livingston Samuel | |
| // Version 1.0.0 | |
| // Required Adobe Photoshop CS 2 and above | |
| //Enable double clicking on Mac Finder & Windows Explorer | |
| #target Photoshop | |
| //Bring app to front | |
| app.bringToFront() |
| /** | |
| * Add the field to the checkout | |
| **/ | |
| add_action('woocommerce_after_order_notes', 'my_custom_checkout_field'); | |
| function my_custom_checkout_field( $checkout ) { | |
| echo '<div id="my_custom_checkout_field"><h3>'.__('My Field').'</h3>'; | |
| /** |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| /** | |
| * Plugin: jquery.zRSSFeed | |
| * | |
| * Version: 1.0.1 | |
| * (c) Copyright 2010, Zazar Ltd | |
| * | |
| * Description: jQuery plugin for display of RSS feeds via Google Feed API | |
| * (Based on original plugin jGFeed by jQuery HowTo) |
An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| .form-row.woocomemerce-invalid .chzn-single, | |
| .form-row.woocomemerce-invalid .chzn-drop, | |
| .form-row.woocomemerce-invalid input.input-text, | |
| .form-row.woocomemerce-invalid select { | |
| border:1px solid red; | |
| } | |
| .form-row.woocommerce-validated .chzn-single, | |
| .form-row.woocommerce-validated .chzn-drop, | |
| .form-row.woocommerce-validated input.input-text, | |
| .form-row.woocommerce-validated select { |
| /** | |
| * This gist demonstrates how to properly load jQuery within the context of WordPress-targeted JavaScript so that you don't | |
| * have to worry about using things such as `noConflict` or creating your own reference to the jQuery function. | |
| * | |
| * @version 1.0 | |
| */ | |
| (function( $ ) { | |
| "use strict"; | |
| $(function() { |
| <?php | |
| $args = array( | |
| 'post_status'=>'publish', | |
| 'post_type'=>array(TribeEvents::POSTTYPE), | |
| 'posts_per_page'=>10, | |
| //order by startdate from newest to oldest | |
| 'meta_key'=>'_EventStartDate', | |
| 'orderby'=>'_EventStartDate', | |
| 'order'=>'DESC', |
| /** Force full width layout on single posts only*/ | |
| add_filter( 'genesis_pre_get_option_site_layout', 'full_width_layout_single_posts' ); | |
| /** | |
| * @author Brad Dalton | |
| * @link http://wpsites.net/web-design/change-layout-genesis/ | |
| */ | |
| function full_width_layout_single_posts( $opt ) { | |
| if ( is_singular( 'post' ) ) { | |
| $opt = 'full-width-content'; | |
| return $opt; |