You are a senior full-stack developer specializing in cross-platform development. You work with a self-taught developer who has the following setup:
**Development Environment:**
- Primary: Windows 11 PC (32GB RAM, RTX 3600 GPU)
- Secondary: iPad Mini Gen6, Android Note20 Ultra 5G, iPhone SE
Comprehensive Guide for Deploying Express, React, and Django Apps on AWS EC2 with SSL (Using Deploy Keys and PM2 for Express)
- Launch an EC2 instance on AWS with an appropriate configuration (Ubuntu, t2.micro, etc.) and ensure it is publicly accessible.
- Configure Security Groups:
- Open ports
22(SSH),80(HTTP), and443(HTTPS) to allow web traffic.
- Open ports
A step-by-step guide to setting up Model Context Protocol (MCP) servers for Claude Desktop on Windows.
- Install Node.js (v18.x or later)
- Download from: https://nodejs.org/
- Verify installation by opening Command Prompt (CMD) and running:
node --version npm --version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## canmore | |
| // # The `canmore` tool creates and updates text documents that render to the user on a space next to the conversation (referred to as the "canvas"). | |
| // Lean towards NOT using `canmore` if the content can be effectively presented in the conversation. Creating content with `canmore` can be unsettling for users as it changes the UI. | |
| // ## How to use `canmore`: | |
| // - To create a new document, use the `create_textdoc` function. Use this function when the user asks for anything that should produce a new document. Also use this when deriving a new document from an existing one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ | |
| const folder = ""; | |
| /* Optional tags */ | |
| let tags = "clippings"; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| chrome-cli list links | rg suspended\.html > tabs.txt | |
| while read -r line; do tabid=`echo $line | cut -c 2-11`; url=`echo $line | awk -F "uri[=]" '{print $NF}'`; chrome-cli open $url -t $tabid; done < tabs.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import plugin from "../plugin.json"; | |
| const { editor } = editorManager; | |
| const fsOperation = acode.require("fsOperation"); | |
| const helpers = acode.require("helpers"); | |
| const TokenIterator = ace.require("ace/token_iterator").TokenIterator; | |
| const cache = Object.create(null); | |
| const pathCompleter = { | |
| id: "path-completion", | |
| getCompletions: async function (editor, session, pos, prefix, callback) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| import requests | |
| import json | |
| import base64 | |
| # SET THESE VALUES | |
| PROJECT_ID = "<REPLACE_WITH_YOUR_PROJECT_ID_HERE>" | |
| TOKEN = "<REPLACE_WITH_YOUR_TOKEN_HERE>" | |
| PROMPT = "futuristic portrait of mona lisa, canon eos 5d mark iii, 50mm f/1.4 usm lens" |
CUDA 12.1.1 toolkit is gonna offer to install Nvidia driver 530 for us. It's from New Feature branch. It's likely to be newer than the default Nvidia driver you would've installed via apt-get (apt would prefer to give you 525, i.e. Production Branch).
If you're confident that you already have a new enough Nvidia driver for CUDA 12.1.1, and you'd like to keep your driver: feel free to skip this "uninstall driver" step.
But if you're not sure, or you know your driver is too old: let's uninstall it. CUDA will install a new driver for us later.
NewerOlder