Skip to content

Instantly share code, notes, and snippets.

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

Njogu Amos njoguamos

🏠
Working from home
View GitHub Profile
@pushpak1300
pushpak1300 / SKILL.md
Last active February 21, 2026 22:57
Formats Laravel config/*.php file comments using Laravel’s cascading three-line style. Ensures comment blocks follow the subtle line-length rhythm used in the framework’s core, preserving the clean, professional feel of first-party Laravel configuration files.
name description license
laravel-comments
Format Laravel config file comments using the cascading style. Use when writing or fixing comments in config/*.php files.
MIT

Laravel Cascading Comment Style

When to Use This Skill

@stevebauman
stevebauman / Guest.php
Created April 24, 2025 14:50
Notifiable Guest User | Laravel
<?php
namespace App\Support;
use Illuminate\Notifications\RoutesNotifications;
readonly class Guest
{
use RoutesNotifications;
@laravel-shift
laravel-shift / .php-cs-fixer.php
Last active January 15, 2026 09:58
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',
@bitsurgeon
bitsurgeon / youtube.md
Last active January 30, 2026 10:38
Markdown cheatsheet for YouTube

Embed YouTube Video in Markdown File

  1. Markdown style
[![Watch the video](https://img.youtube.com/vi/nTQUwghvy5Q/default.jpg)](https://youtu.be/nTQUwghvy5Q)
  1. HTML style
<a href="http://www.youtube.com/watch?feature=player_embedded&v=nTQUwghvy5Q" target="_blank">
@sawant
sawant / homebrew old version.txt
Last active March 16, 2024 05:35
Install older version of Formula in Homebrew
[From: http://hanxue-it.blogspot.com/2018/08/macos-homebrew-installing-older-version-of-software.html - just created a copy to keep it for long term]
Homebrew always wants to install the latest version of the Formula (software). This is by design, because every time there is an update to a formula, it wants to be tested against all the other formulas that it depends on. Mixing new and old versions of software is a recipe for incompatibility disaster.
But sometimes there are situations where you need an older version of software. In my specific case, Yarn was compiled against an older version of icu4c, and I want that older version instead of recompiling Yarn.
$ yarn install
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib
Referenced from: /usr/local/bin/node
@ibraheem4
ibraheem4 / postgres-brew.md
Last active September 27, 2025 02:49
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update