Skip to content

Instantly share code, notes, and snippets.

@SurajAdsul
SurajAdsul / docker_commands.txt
Last active May 18, 2018 07:10
Docker commands
docker run -it --rm \
-v $(pwd)/app:/opt \
-w /opt \
--network=surajadsulapplication_example \
shippingdocker/php \
php artisan migrate
docker exec -it image_name bash
@SurajAdsul
SurajAdsul / valet-multiuser.bash
Last active April 21, 2020 06:20
Laravel Valet Uninstall and then Reinstall everytime I switch user accounts
## Uninstall process
#remove valet
rm -rf ~/.valet
rm /usr/local/bin/valet
# change the permisions on all brew files
sudo chown -R $(whoami) $(brew --prefix)/*
# now uninstall all brew packages
lazy load images
split code in js
remove unused css
chrome audit tools
aim for perfection
use webpack analyzer
use cdn images/optimzed versions
lazy load ur lang tranlations
https://github.com/danger/danger-js
---
description: Rules for the agent to follow
globs:
alwaysApply: true
---
# Agent Instructions
If you create a new file(s), pleas run the following command afterwards to update the project documentation.
```bash ./.scripts/update_structure.sh```
import re
import subprocess
import argparse
def get_repo():
"""Fetches the GitHub repository details from the current branch."""
result = subprocess.run("git config --get remote.origin.url", shell=True, capture_output=True, text=True)
if result.returncode != 0:
print("Error fetching repository details:", result.stderr)
exit(1)
@SurajAdsul
SurajAdsul / default.md
Last active June 23, 2025 02:31 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.