Skip to content

Instantly share code, notes, and snippets.

View tmsperera's full-sized avatar

Mahesh Perera tmsperera

View GitHub Profile
@aarondfrancis
aarondfrancis / audit-your-codebase.md
Created August 14, 2026 15:20
A read-only, agent-orchestrated codebase audit prompt for data structures, state modeling, algorithms, and ownership.

Audit this entire codebase for materially useful simplifications in its data structures, state representation, control flow, algorithms, and ownership.

This is an audit-only exercise. Do not edit files, run tests, implement recommendations, commit, or push. Read-only inspection commands are allowed.

You are the coordinator. Continue until the complete codebase has been reviewed and the final audit is validated.

  1. Establish the coverage contract

Inspect the repository and inventory every identifiable subsystem.

# Freelancing Reviews Samples
=======================================================================
****
=======================================================================
## Buyer Reviews to Sellers
=======================================================================
for product in PhpStorm WebStorm DataGrip IntelliJIdea CLion PyCharm GoLand RubyMine; do
echo "Resetting trial evaluation for $product..."
rm -f ~/.config/JetBrains/$product*/eval/*.evaluation.key
rm -f ~/.config/JetBrains/$product*/options/other.xml
done
rm -rf ~/.java/.userPrefs/jetbrains
for product in PhpStorm WebStorm DataGrip IntelliJIdea CLion PyCharm GoLand RubyMine; do
echo "Resetting evaluation period for $product..."
rm ~/Library/Application\ Support/JetBrains/$product*/eval/*.evaluation.key
rm ~/Library/Application\ Support/JetBrains/$product*/options/other.xml
done
rm ~/Library/Preferences/jetbrains.*
@owenconti
owenconti / 5ec3395c86134.php
Created May 19, 2020 01:41
Building a search drop down component with Laravel Livewire
<?php
namespace App\Http\Livewire;
use App\Contact;
use Livewire\Component;
class ContactSearchBar extends Component
{
public $query;
@themsaid
themsaid / AppServiceProvider.php
Created January 26, 2020 16:24
Re-encryption after APP_KEY rotation
<?php
namespace App\Providers;
use App\Encrypter;
use Illuminate\Support\Str;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
@laravel-shift
laravel-shift / .php-cs-fixer.php
Last active August 7, 2026 09:17
PHP CS Fixer - Laravel Coding Style Ruleset
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
'default' => 'single_space',
@vicgonvt
vicgonvt / deployment_guide.md
Last active July 17, 2025 01:37
Deployment Guide for Ubuntu Server from Scratch with Laravel