Skip to content

Instantly share code, notes, and snippets.

View dazeb's full-sized avatar
👁️

Darren Bennett dazeb

👁️
View GitHub Profile
@dazeb
dazeb / claude_system.md
Created July 18, 2024 19:04
Claude System Prompt Artifact

""" <artifacts_info> The assistant can create and reference artifacts during conversations. Artifacts are for substantial, self-contained content that users might modify or reuse, displayed in a separate UI window for clarity.

Good artifacts are...

  • Substantial content (>15 lines)
  • Content that the user is likely to modify, iterate on, or take ownership of
  • Self-contained, complex content that can be understood on its own, without context from the conversation
  • Content intended for eventual use outside the conversation (e.g., reports, emails, presentations)
  • Content likely to be referenced or reused multiple times
@dazeb
dazeb / claude_3.5_sonnet_artifacts.xml
Created July 17, 2024 02:19 — forked from dedlim/claude_3.5_sonnet_artifacts.xml
Claude 3.5 Sonnet, Full Artifacts System Prompt
<artifacts_info>
The assistant can create and reference artifacts during conversations. Artifacts are for substantial, self-contained content that users might modify or reuse, displayed in a separate UI window for clarity.
# Good artifacts are...
- Substantial content (>15 lines)
- Content that the user is likely to modify, iterate on, or take ownership of
- Self-contained, complex content that can be understood on its own, without context from the conversation
- Content intended for eventual use outside the conversation (e.g., reports, emails, presentations)
- Content likely to be referenced or reused multiple times
@dazeb
dazeb / create_next_and_shadcn_project.sh
Last active July 5, 2024 19:10
Create a Next.js project with ShadcnUI & TailwindCSS
##This was a medium chained prompt that got Claude 3.5 to correctly set up the stack.
##Use at your own risk, there may be some small modifications needed but im sure ChatGPT or any LLM could fix any errors.
#!/bin/bash
# Set project name
PROJECT_NAME="at0m_cloud"
# Create Next.js project with TypeScript
npx create-next-app@latest $PROJECT_NAME --typescript --eslint --tailwind --app --src-dir --import-alias "@/*"
@dazeb
dazeb / README_MINIMAL_PROMPT_CHAINABLE.md
Created June 28, 2024 10:21 — forked from disler/README_MINIMAL_PROMPT_CHAINABLE.md
Minimal Prompt Chainable for zero library sequential prompt chaining

Minimal Prompt Chainable

Sequential prompt chaining in one method with context and output back-referencing.

Files

  • main.py - start here - full example using MinimalChainable from chain.py to build a sequential prompt chian
  • chain.py - contains zero library minimal prompt chain class
  • chain_test.py - tests for chain.py, you can ignore this
  • requirements.py - python requirements

Setup

@dazeb
dazeb / vmwk17key.txt
Created April 19, 2024 21:47 — forked from PurpleVibe32/vmwk17key.txt
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus
@dazeb
dazeb / cheatsheet.md
Created March 20, 2024 16:03
A Cheatsheet for Cheatsheets

A cheatsheet for your cheatsheets.

#!/bin/bash

#===============================================================================
# Bash Cheatsheet
# Author: Claude (AI Language Model)
# Date: 2023-06-13
#===============================================================================
@dazeb
dazeb / bash_cheatsheet.sh
Last active July 16, 2024 12:56
BASH Ultimate Cheatsheet
#!/bin/bash
#===============================================================================
# Bash Cheatsheet
# Author: Claude (AI Language Model)
# Date: 2023-06-13
#===============================================================================
#===============================================================================
# Table of Contents
@dazeb
dazeb / laravel-server.sh
Created March 9, 2024 21:33
Laravel server setup with user input and error handling.
#!/bin/bash
# Define color variables
GREEN='\033[1;32m'
RED='\033[0;31m'
NC='\033[0m' # No Color
echo -e "${GREEN}Updating APT package manager repository...${NC}"
sudo apt update && sudo apt upgrade -y || {
echo -e "${RED}Failed to update APT package manager repository.${NC}"
@dazeb
dazeb / Install Dockge using Docker Compose - Script.md
Created February 27, 2024 02:32
This script installs a tool called Dockge by creating directories, downloading a configuration file, and then using Docker Compose to bring up the Dockge application. It provides feedback on the success or failure of the installation.

Install Dockge using Docker Compose - Script

Preview:
#!/bin/bash

# Install Docker and Docker Compose (same as before)

# Install Dockge
echo -e "\n\nInstalling Dockge..."
mkdir -p /opt/{dockge,stacks}
@dazeb
dazeb / dazeb.md
Created February 22, 2024 16:01
This code snippet is a configuration file for the Dazeb project. It specifies various settings such as theme, color customizations, text files, font family, and language information to be used in different languages (Cascadia Code, Droid Sans Mono), including default

dazeb

Preview:
{"name":"dazeb","settings":"{\"settings\":\"{\\n  \\\"workbench.iconTheme\\\": \\\"vscode-icons\\\",\\n  \\\"vsicons.associations.file.Default.file\\\": \\\"object\\\",\\n  \\\"vsicons.dontShowNewVersionMessage\\\": true,\\n  \\\"workbench.colorCustomizations\\\": {},\\n  \\\"workbench.editor.defaultBinaryEditor\\\": \\\"default\\\",\\n  \\\"editor.formatOnPaste\\\": true,\\n  \\\"editor.formatOnSave\\\": true,\\n  \\\"diffEditor.codeLens\\\": true,\\n  \\\"editor.minimap.autohide\\\": true,\\n  \\\"editor.minimap.enabled\\\": false,\\n  \\\"editor.acceptSuggestionOnEnter\\\": \\\"smart\\\",\\n  \\\"files.autoGuessEncoding\\\": true,\\n  \\\"files.enableTrash\\\": false,\\n  \\\"files.associations\\\": {\\n    \\\"*.ts\\\": \\\"typescript\\\",\\n    \\\"*.js\\\": \\\"javascript\\\"\\n  },\\n  \\\"files.insertFinalNewline\\\": true,\\n  \\\"telemetry.telemetryLevel\\\": \\\"crash\\\",\\n  \\\"security.workspace.trust.untrustedFiles\\\": \\\"open\\\",\\n  \\\"security.workspace.t