Skip to content

Instantly share code, notes, and snippets.

Eduardo Marcolino eduardo-marcolino

Block or report user

Report or block eduardo-marcolino

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@eduardo-marcolino
eduardo-marcolino / Hybrid_Providers_Pinterest.php
Created May 24, 2016
Pinterest auth provider for HybridAuth
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>';
@eduardo-marcolino
eduardo-marcolino / redis_storage.py
Created Jul 30, 2013
A Storage for Credentials that uses Redis
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
@eduardo-marcolino
eduardo-marcolino / TimthumbHelper.php
Created Jun 25, 2012
Symfony timthumb generator helper
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
You can’t perform that action at this time.