View Hybrid_Providers_Pinterest.php
<?php | |
/*! | |
* HybridAuth | |
* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth | |
* (c) 2009-2013, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html | |
*/ | |
/** | |
* Hybrid_Providers_Pinterest (By Eduardo Marcolino - https://github.com/eduardo-marcolino) | |
*/ |
View gist:b253afd69a3d78ca6955
<?php | |
/** | |
* Add checkbox field to the checkout | |
**/ | |
add_action('woocommerce_after_order_notes', 'my_custom_checkout_field'); | |
function my_custom_checkout_field( $checkout ) { | |
echo '<div id="my-new-field"><h3>'.__('My Checkbox: ').'</h3>'; |
View redis_storage.py
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and |
View TimthumbHelper.php
<?php | |
/** | |
* Timthumb Helper | |
* Helper para geração de thumbnails com o timthumb | |
* | |
* @see http://www.binarymoon.co.uk/projects/timthumb/ | |
* @author Eduardo Marcolino <eduardo.marcolino@gmail.com> | |
* | |
* @param source $image url to image |