Skip to content

Instantly share code, notes, and snippets.

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

Arsalan Ahmed Siddique ArsalanSiddique

🏠
Working from home
View GitHub Profile
@ArsalanSiddique
ArsalanSiddique / monitor.php
Created December 1, 2023 13:07 — forked from maxgalbu/monitor.php
Automatically monitor and email PHP error log content - See more at: http://www.jamescaws.com/notes/automatically-email-php-error-log-content/#sthash.Tqmac9Rw.dpuf
<?php
/**
* A script that can be called from cron to automatically email the content
* of a PHP error log file to a developer or webmaster.
*
* Author: James Caws
* Website: http://www.jamescaws.com
*
* It uses the freely available PHPMailer class available from
@ju5t
ju5t / instructions.md
Last active August 29, 2025 01:27
Livewire enabled TinyMCE blade component

Instructions

This is a very basic TinyMCE component. It uses 'entangle'. This allows you to link a Livewire and Alpine property to eachother. If one value changes, the other does too.

Installation

Add tinymce.blade.php to views/components/input. This can be another component folder too if you prefer, but keep in mind that you should also

@maxgalbu
maxgalbu / monitor.php
Created January 28, 2014 14:40
Automatically monitor and email PHP error log content - See more at: http://www.jamescaws.com/notes/automatically-email-php-error-log-content/#sthash.Tqmac9Rw.dpuf
<?php
/**
* A script that can be called from cron to automatically email the content
* of a PHP error log file to a developer or webmaster.
*
* Author: James Caws
* Website: http://www.jamescaws.com
*
* It uses the freely available PHPMailer class available from