Skip to content

Instantly share code, notes, and snippets.

View mkudenko's full-sized avatar

Michael Kudenko mkudenko

  • ProcurePro
  • Melbourne, Australia
  • 07:01 (UTC +11:00)
View GitHub Profile
@mkudenko
mkudenko / logslaravel.sh
Created August 19, 2018 02:01 — forked from jakebathman/logslaravel.sh
Tail Laravel logs and filter out the stack traces
tail -f -n 450 storage/logs/laravel*.log \
| grep -i -E \
"^\[\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}\]|Next [\w\W]+?\:" \
--color
# Laravel #
###########
/bootstrap/compiled.php
.env
.env.testing
# Composer #
############
/vendor
composer.phar
@mkudenko
mkudenko / backup.php
Last active August 29, 2015 14:20 — forked from menzerath/backup.php
<?php
/*
* PHP: Recursively Backup Files & Folders to ZIP-File
* (c) 2012-2014: Marvin Menzerath - http://menzerath.eu
*/
// Make sure the script can handle large folders/files
ini_set('max_execution_time', 600);
ini_set('memory_limit','1024M');