Skip to content

Instantly share code, notes, and snippets.

View leecolarelli's full-sized avatar

Lee Colarelli leecolarelli

View GitHub Profile
@leecolarelli
leecolarelli / RequestBuilder.php
Created April 30, 2024 08:51 — forked from leecolarelli-tgb/RequestBuilder.php
Build Requests with routes on Laravel for testing.
<?php
use Illuminate\Http\Request;
use Illuminate\Routing\Route;
use Illuminate\Support\Facades\Route as Router;
class RequestBuilder
{
/**
* Will create a request with the correct fullUrl, route parameters and input parameters.
@leecolarelli
leecolarelli / 0-README.md
Last active March 3, 2024 09:31 — forked from sc0ttkclark/0-README.md
PhpStorm.app (Toolbox) Mac integration with Tower.app for diff and merge

Toolbox PhpStorm.app Mac integration with Tower.app for diff and merge

How to use this

  1. Add CompareTools.plist and phpstorm-toolbox.sh files in the ~/Library/Application Support/com.fournova.Tower3/CompareTools/ directory. You may need to mkdir ~/Library/Application\ Support/com.fournova.Tower3/CompareTools if the folder does not already exist
  2. Update the phpstorm-toolbox.sh to use your username for the PATH_USERNAME="username" variable.
  3. Run chmod +x ~/Library/Application\ Support/com.fournova.Tower3/CompareTools/phpstorm-toolbox.sh
  4. Go into Tower.app Preference > Git Config > Select "PhpStorm" for "Diff tool" and "Compare tool", you can optionally enable "Perform directory diff"
@leecolarelli
leecolarelli / choco-install-apps.ps1
Last active December 15, 2021 20:51 — forked from KristofferRisa/choco-install-apps.ps1
Windows 10 Installation with Chocolatey Package Manager
# Install script for leecolarelli
# Created 03.07.2020
# Packages can be found here - https://chocolatey.org/packages
ECHO Installing apps
ECHO Configure chocolatey
choco feature enable -n allowGlobalConfirmation