Skip to content

Instantly share code, notes, and snippets.

View mariapaulinar's full-sized avatar
🐶

María Paulina Ramírez Vásquez mariapaulinar

🐶
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mariapaulinar on github.
  • I am mariapaulinar (https://keybase.io/mariapaulinar) on keybase.
  • I have a public key ASBGNR5IMIZbPSa75dXuagb8QTN0toALoQbQaQHcLhRIRgo

To claim this, I am signing this object:

mariapaulinar Maria Paulina Ramirez Vasquez

Keybase proof

I hereby claim:

  • I am mariapaulinar on github.
  • I am mariapaulinar (https://keybase.io/mariapaulinar) on keybase.
  • I have a public key ASBGNR5IMIZbPSa75dXuagb8QTN0toALoQbQaQHcLhRIRgo
@mariapaulinar
mariapaulinar / progress_bar.php
Created October 25, 2019 04:50 — forked from mayconbordin/progress_bar.php
PHP CLI progress bar in 5 lines of code
<?php
function progress_bar($done, $total, $info="", $width=50) {
$perc = round(($done * 100) / $total);
$bar = round(($width * $perc) / 100);
return sprintf("%s%%[%s>%s]%s\r", $perc, str_repeat("=", $bar), str_repeat(" ", $width-$bar), $info);
}
@mariapaulinar
mariapaulinar / ignorecase.txt
Created August 11, 2019 15:39
Evitar problema con mayúsculas y minúsculas en Git en Windows
git config --global core.ignorecase true
@mariapaulinar
mariapaulinar / edit-content-chrome.js
Created July 28, 2019 01:06
Editar contenido en tiempo real en Chrome
document.designMode = "on";
@mariapaulinar
mariapaulinar / local-repo-composer.json
Created July 12, 2019 21:52
Agregar repositorio local para probar paquetes localmente en Composer
"repositories": [{
"type": "path",
"url": "path/to/package",
"options": {
"symlink": true
}
}]
@mariapaulinar
mariapaulinar / apache2.conf
Created April 23, 2019 01:34
Deshabilitar indexing de archivos con apache
<Directory /var/www/>
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<FilesMatch "\.(env|json|config.js|md|gitignore|gitattributes|lock)$">
Require all denied
</FilesMatch>
@mariapaulinar
mariapaulinar / switch-php-versions-with-brew.txt
Last active December 12, 2018 16:37
Cambiar entre versiones de PHP con Brew
brew unlink php@5.6 && brew link --force php
@mariapaulinar
mariapaulinar / restart-xampp.txt
Created November 22, 2018 21:15
Reiniciar servicios XAMPP
sudo /opt/lampp/lampp restart
@mariapaulinar
mariapaulinar / modulos-php.txt
Created November 21, 2018 16:40
Ver lista de modulos habilitados en PHP
php -m