Skip to content

Instantly share code, notes, and snippets.

View oteroweb's full-sized avatar
🏠
Working from home

Jose Otero (Oteroweb) oteroweb

🏠
Working from home
View GitHub Profile
@oteroweb
oteroweb / gist:9d825ca32b2484ce80d922b9fbcf015a
Created July 26, 2017 01:52 — forked from mikejolley/gist:1565309
WooCommerce - Filters to add custom currencies and symbols
add_filter( 'woocommerce_currencies', 'add_my_currency' );
function add_my_currency( $currencies ) {
$currencies['ABC'] = __( 'Currency name', 'woocommerce' );
return $currencies;
}
add_filter('woocommerce_currency_symbol', 'add_my_currency_symbol', 10, 2);
function add_my_currency_symbol( $currency_symbol, $currency ) {
@oteroweb
oteroweb / README.md
Last active May 30, 2017 07:00 — forked from john-guerra/README.md
GeoJson map of Colombia

Geo Json map of Colombia

Based on the Map of Thailand by Master Krist Wongsuphasawat, a simple map of Colombia using GeoJSON and D3.js

As in Krist example:

  • Each province is color-coded by the length of its name in English.
  • Hover each province to see text effects.
  • New font is chosen randomly every time you change the province.
@oteroweb
oteroweb / comunidades_tecnologicas_ve_telegram.md
Created November 20, 2015 13:08
Comunidades Tecnológicas de Venezuela en Telegram