Skip to content

Instantly share code, notes, and snippets.

View jpagano's full-sized avatar

J.Pagano jpagano

  • ponent.local
  • 05:51 (UTC +01:00)
View GitHub Profile
@jpagano
jpagano / woocommerce.php
Created July 25, 2019 11:58
En los pedidos y facturas aparece la abreviatura provincial en vez del nombre de la provincia https://www.webempresa.com/foro/26-Plugins-WordPress/146397-Provicias-Espa%C3%B1olas-en-Woocommerce.html
<?php unset($address_fields['country']); ?>
# REDIRECCION CERTIFICADO SSL
RewriteEngine on
RewriteCond %{QUERY_STRING} !^wc-api=WC_Gateway_redsys
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# END SSL
<mjml>
<mj-body>
<mj-section>
<mj-column>
<mj-button href="https://google.com" color="white" background-color="F45E43" border-radius="20px" line-height="24px"><img src="https://mjml.io/assets/img/mjml-logo.png" style="width:24px; vertical-align:middle;" /> &nbsp; Download MJML !</mj-button>
</mj-column>
</mj-section>
</mj-body>
@jpagano
jpagano / README.md
Last active November 26, 2016 10:52
Kodi - Fix castaway plugin error in P2P Corner / Arenavision.in

Fix it editing the arenavision.py file, located in:

  • Windows: "C:\Users[user]\AppData\Roaming\kodi\addons\plugin.video.castaway\resources\lib\sources\p2p_sport"
  • Mac: "/Users/[user]/Library/Application Support/Kodi/addons/plugin.video.castaway/resources/lib/sources/p2p_sport"
  • Linux: "/home/[user]/.kodi/addons/plugin.video.castaway/resources/lib/sources/p2p_sport"

They changed the url in line 32, from 'http://arenavision.in/agenda' to 'http://arenavision.in/schedule'