A comprehensive, portable configuration for Cursor AI that includes rules, commands, and a self-improving learning system.
- Copy all files to your project's
.cursor/directory - Create the folder structure:
.cursor/
$ ssh -i <NameofKeyPair>.pem [email protected]$ cd /var/app/current./node_modules/.bin/sequelize db:seed:all --env production --url postgres://[username]:[password]@[host]:[databaseport]/[databasename]For example: ./node_modules/.bin/sequelize db:seed:all --env production --url postgres://taskmanager:[email protected]:5432/taskmanager
| Object: Pink Nalgene | |
| Attributes: | |
| Color: "Pink" | |
| LidType: "Twist top" | |
| ... | |
| Methods: | |
| CalculatePercentFull: 800 / 1000 = .8 |
| Class: Bottle | |
| Attributes: | |
| Color (string) | |
| LidType (string) | |
| TotalCapacity (integer) | |
| Stickers (array) | |
| CurrentCapacity (integer) | |
| Recyclable (boolean) |
The assignments listed here should take you between 1.5 and 2 total hours.
To start this assignment:
Take a look at the Mod 0 Tech Setup instructions. Next, click the Raw button and compare the raw markdown to how the gist displays.
Look for the following elements, and under each bullet point, paste an example of the markdown that creates each.
First, make sure you're at the home directory by typing cd.
Next, type nano .bash_profile. Copy and paste this into the window:
# get current branch in git repo
function parse_git_branch() {
BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
if [ ! "${BRANCH}" == "" ]
then
index.htmlstyles.css (or whatever you called your stylesheet file)