Skip to content

Instantly share code, notes, and snippets.

View soham2008xyz's full-sized avatar
👨‍💻
Sprint-mode ON!

Soham Banerjee soham2008xyz

👨‍💻
Sprint-mode ON!
View GitHub Profile
@diogogpinto
diogogpinto / Instructions.MD
Created January 3, 2025 13:14
Best Laravel AI Prompt to use with Claude

I have been utilizing artificial intelligence to enhance and optimize my codebases. After evaluating various models, applications, and editors, I find the claude.ai interface with a Pro Account to be the most effective. Here’s the approach I’ve developed to achieve optimal results:

This gist contains a carefully crafted prompt and a script designed to convert your entire Laravel codebase (excluding the resources folder, which can be easily added if needed) into a TXT file with the following structure:

<File Start: ./path/filename.extension> Content of file <End File: ./path/filename.extension>

To implement this method:

@chris1111
chris1111 / AMFIPass-Extract.command
Last active December 6, 2024 08:12
AMFIPass-Extract
#!/bin/bash
# Extract AMFIPass.kext
# By chris1111
# get AMFIPass path
if [ "$2" == "" ]; then
echo -n "Please move to terminal window ➤ \ OpenCore-Patcher.app \
Followed by ENTER: "
@wmachert
wmachert / python-setup.bat
Last active December 7, 2024 13:37
Portable Windows Python Setup
@echo off
:: Portable Windows Python Setup
:: Downloads and installs a portable Python runtime as well as all requirements.
::
:: Usage: setup.bat [INSTALL-LOCATION] [PYTHON-VERSION]
:: INSTALL-LOCATION - python installation folder, default: .\rt
:: PYTHON-VERSION - major Python version, supported: 35 - 312, default: 312
::
:: To install python 3.12, pip, and all dependencies from the current directory into the directory .\python:
:: > setup.bat python 312
@patrickmaciel
patrickmaciel / configuracoes.md
Created April 18, 2021 00:30
Laragon + Mailhog
@shanselman
shanselman / ohmyposhv3-v2.json
Last active February 20, 2025 06:54
ohmyposhv3-v2
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@reanim8ed
reanim8ed / sample.md
Last active August 23, 2024 22:45
[Mailhog in Laragon] #email #laragon #laragon
@andrewodri
andrewodri / install.sh
Last active May 23, 2022 18:15
Force dark mode in High Sierra
#!/bin/bash
# https://www.howtogeek.com/fyi/enable-dark-mode-in-high-sierra-sort-of/
# https://medium.com/@n1kk/how-to-tweak-macos-mojave-dark-mode-per-app-a5fab0574691
# https://stackoverflow.com/questions/52562383/is-there-a-way-to-toggle-dark-mode-on-off-for-individual-apps-in-macos-mojave
defaults write -g NSWindowDarkChocolate -bool TRUE
defaults write -g NSRequiresAquaSystemAppearance -bool FALSE
defaults write com.google.Chrome NSRequiresAquaSystemAppearance -bool FALSE
defaults write com.google.Chrome _NSSystemAppearanceOverride DarkAppearance
@romkatv
romkatv / install_meslo_wsl.sh
Last active December 13, 2024 15:39
Install Meslo Powerline font family on Windows
#!/bin/bash
#
# This script installs patched Meslo Powerline font family on Windows.
# The fonts are installed for the current user only. The script must be
# run from WSL.
#
# bash -c "$(curl -fsSL https://gist.githubusercontent.com/romkatv/aa7a70fe656d8b655e3c324eb10f6a8b/raw/install_meslo_wsl.sh)"
#
# If you just want the font files, they are in
# https://github.com/romkatv/dotfiles-public/tree/master/.local/share/fonts/NerdFonts.
@FradSer
FradSer / iterm2_switch_automatic.md
Last active October 8, 2024 12:39
Switch iTerm2 color preset automatic base on macOS dark mode.

The latest beta (3.5) includes separate color settings for light & dark mode. Toggling dark mode automatically switches colors.

Vist iTerm2 homepage or use brew install iterm2-beta to download the beta. Thanks @stefanwascoding.


  1. Add switch_automatic.py to ~/Library/ApplicationSupport/iTerm2/Scripts/AutoLaunch with: