Skip to content

Instantly share code, notes, and snippets.

View soyluismunoz's full-sized avatar
🎯
Focusing

Luis Muñoz soyluismunoz

🎯
Focusing
View GitHub Profile
<?php
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DEBUG', false);
define('WP_DEBUG', true);
@soyluismunoz
soyluismunoz / getRateBcv.php
Last active December 8, 2021 02:26
Tasa dólar banco central de Venezuela (bcv)
<?php
use Goutte\Client as Goutte; // you need to download the Goutte library
function getRateFromBcv()
{
$client = new Goutte();
$crawler = $client->request('GET', 'http://www.bcv.org.ve/');
$price_dolar = $crawler->filter('div#dolar div.field-content div.recuadrotsmc div.centrado');
#disable dinamic cache in site ground
<IfModule mod_headers.c>
Header set Cache-Control “max-age=0,no-store”
</IfModule>
@soyluismunoz
soyluismunoz / css
Created August 19, 2021 02:47
css spin loader
.loader,
.loader:after {
border-radius: 50%;
width: 10em;
height: 10em;
}
.loader {
margin: 60px auto;
font-size: 10px;
position: relative;
@soyluismunoz
soyluismunoz / httpd.conf
Last active January 7, 2021 13:52
Httpd.conf by xampp
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
@soyluismunoz
soyluismunoz / margin-padding.css
Last active December 15, 2020 20:58
Margins and Paddings used in Bootstrap 4.*
.m-0 {
margin: 0 !important;
}
.mt-0,
.my-0 {
margin-top: 0 !important;
}
.mr-0,