Skip to content

bappasahabapi/Visual-Studio-Code-Basic-Settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 

Repository files navigation

๐Ÿ†ƒ๐Ÿ…พ๐Ÿ…ฟ๐Ÿ…ธ๐Ÿ…ฒ๐Ÿ†‚ :

โš™ Visiual-Studio-Basic-Settings:

โš™ Node js in mackbook m1

โš™ Github repository clone rule

โš™ MongoDB Connection

/ zsh terminal customization

PROMPT=''
PROMPT='$'
PROMPT='%1~ $ '
PROMPT='%B%1~ $ '%b
PROMPT='%B%F{cyan}%1~%f$ %b'
PROMPT='%B%F{cyan}%1~%f %F{178}$%f %b'

command + shift + . -->show the hidden File.

    and paste the line:
    PROMPT='%B%F{cyan}%1~%f %F{178}$%f %b'

๐Ÿ”ด๐ŸŸก๐ŸŸข Visual studio code extension code:

1. Live Server - ritwik dey
2. ES Lint - Dirk Baeumer
3. Prettier - Code formatter - Esben Petersen
4. vscode-icons - VSCode Icons Team
5. Path Autocomplete - Mihai Vilcu
6. Turbo Console Log - ChakrounAnas
7. ES7 React/Redux/GraphQL/React-Native snippets - dsznajder
8. Dracula Official - Dracula Theme
9. Auto Rename Tag - Jun Han
10. Andromeda - Eliver Lara
11. Emoji Snippets - Devzstudio
12. Community Material Theme - Mattia Astorino
13. code-snippet--screenshort tool

๐Ÿ–ผ ๐’๐œ๐ซ๐ž๐ž๐ง๐‚๐š๐ฌ๐ญ --> ๐Ÿ๐จ๐ซ ๐ฆ๐š๐ค๐ž๐ข๐ง๐  ๐ฏ๐ข๐๐ž๐จ๐ฌ

๐Ÿ’™๐Ÿ’š๐Ÿ’› ๐Ÿ†ƒ๐Ÿ…ท๐Ÿ…ด๐Ÿ…ผ๐Ÿ…ด


๐Ÿญ.  ๐—ท๐—ฒ๐—น๐—น๐˜†๐—ณ๐—ถ๐˜€๐—ต
๐Ÿฎ.  ๐—–๐—ผ๐—ฏ๐—ฎ๐—น๐˜ ๐Ÿฎ
๐Ÿฏ.  ๐—ฆ๐˜‚๐—ฏ๐—น๐—ถ๐—บ๐—ฒ ๐—ง๐—ฒ๐˜…๐˜
4.  ๐š๐ง๐๐ซ๐จ๐ฆ๐ž๐๐š
5.  ๐—ฑ๐—ฐ๐—ผ๐—ฑ๐—ฒ ๐—ง๐—ต๐—ฒ๐—บ๐—ฒ
6. Make app theme

๐Ÿ’ฅ๐Ÿ’ข๐Ÿ’ฅ ๐™๐™ค๐™ฃ๐™ฉ --> ๐˜พ๐™–๐™จ๐™˜๐™–๐™™๐™ž๐™– ๐˜พ๐™ค๐™™๐™š

๐Ÿ”ท๐Ÿ”บ๐Ÿ”ถ ๐Ÿ…ด๐Ÿ†‡๐Ÿ†ƒ๐Ÿ…ด๐Ÿ…ฝ๐Ÿ†ƒ๐Ÿ…ธ๐Ÿ…พ๐Ÿ…ฝ

1.  Auto Rename Tag
2.  file-icons
3.  Bracket Pair Colorizer 2
4.  Dummy Text Generator
5.  code snapshort
6.  tab nine

๐ŸŽˆ๐ŸŽ‰๐ŸŽ„ ๐Ÿ…ฒ๐Ÿ…พ๐Ÿ…พ๐Ÿ…ป ๐Ÿ†„๐Ÿ†ƒ๐Ÿ…ธ๐Ÿ…ป๐Ÿ…ธ๐Ÿ…ด๐Ÿ†‚


1.  word warp
2.  mouse wheel

๐Ÿš— ๐Ÿ†„๐Ÿ†‚๐Ÿ…ด๐Ÿ† ๐Ÿ†‚๐Ÿ…ฝ๐Ÿ…ธ๐Ÿ…ฟ๐Ÿ…ฟ๐Ÿ…ด๐Ÿ†ƒ


go to code--> preferace==> user snippent
JavaScript:
		console log = cons(and hit enter)
		document.write(); = document(and hit enter)

๐ŸŸฉ ๐Ÿ†‚๐Ÿ…ท๐Ÿ…พ๐Ÿ†๐Ÿ†ƒ๐Ÿ…ฒ๐Ÿ†„๐Ÿ†ƒ ๐Ÿ…ฒ๐Ÿ…พ๐Ÿ…ผ๐Ÿ…ผ๐Ÿ…ฐ๐Ÿ…ฝ๐Ÿ…ณ๐Ÿ†‚


1. open command palettle: 	๐œ๐ญ๐ซ + ๐ฌ๐ก๐ข๐Ÿ๐ญ + ๐ฉ
2. open terminal : 		๐œ๐ญ๐ซ + ๐ฌ๐ก๐ข๐Ÿ๐ญ + `
3. Move line down or up : 	๐š๐ฅ๐ญ๐ซ + ๐š๐ซ๐ซ๐จ๐ฐ ๐ฎ๐ฉ ๐จ๐ซ ๐๐จ๐ฐ๐ง
4. Copy line down : 		๐œ๐ญ๐ซ + ๐ƒ
5. Make multiple div: 		๐๐ข๐ฏ.๐›๐จ๐ฑ.*๐Ÿ” ๐š๐ง๐ ๐ฉ๐ซ๐ž๐ฌ๐ฌ ๐ž๐ง๐ญ๐ž๐ซ
6. Use multiple cursor: 	๐š๐ฅ๐ญ + ๐ฆ๐จ๐ฎ๐ฌ๐ž
7. Find something|ReplaceClass: ๐œ๐ญ๐ซ + ๐…```

๐ง๐จ๐๐ž ๐ฃ๐ฌ
๐ก๐ญ๐ญ๐ฉ๐ฌ://๐ง๐จ๐๐ž๐ฃ๐ฌ.๐จ๐ซ๐ /๐ž๐ง/

๐จ๐ฉ๐ž๐ง ๐ญ๐ž๐ซ๐ฆ๐ข๐ง๐š๐ฅ

๐ง๐จ๐๐ž --๐ฏ๐ž๐ซ๐ฌ๐ข๐จ๐ง
๐ง๐ฉ๐ฆ --๐ฏ๐ž๐ซ๐ฌ๐ข๐จ๐ง

๐œ๐ ~ ๐ƒ๐ž๐ฌ๐ค๐ญ๐จ๐ฉ
๐œ๐ฅ๐ž๐š๐ซ
๐ฉ๐ฐ๐


๐ง๐ฉ๐ฑ ๐œ๐ซ๐ž๐š๐ญ๐ž-๐ซ๐ž๐š๐œ๐ญ-๐š๐ฉ๐ฉ ๐ฆ๐ฒ-๐š๐ฉ๐ฉ
๐œ๐ ๐ฆ๐ฒ-๐š๐ฉ๐ฉ
๐ง๐ฉ๐ฆ ๐ฌ๐ญ๐š๐ซ๐ญ

๐“๐จ ๐จ๐ฉ๐ž๐ง ๐ฏ๐ข๐ฌ๐ฎ๐š๐ฅ ๐ฌ๐ญ๐ฎ๐๐ข๐จ ๐œ๐จ๐๐ž:
๐œ๐จ๐๐ž .

โ“one time:

1. nodemon globally install
2. mongodb atlas user, access
3. Network access (ip address allow)

Every projects:

1. install mongodb, express, cors, dotenv
2. import (require), mongodb
3. copy uri (connection string)
4. create the client (copy code from atlas)
5. Create or get database access credentials (username, password)
6. create .env file and add DB_USER and DB_PASS as environment variable
7. Make sure you require (import) dotenv
8. Convert URI string to a template string.
9. Add DB_USER and DB_PASS in the connection URI string.
10. Check URI string by using console.log
11. Create async function run and call it by using run().catch(console.dir)
12. add try and finally inside the run function.
13. comment out await client.close() to keep the connection alive
14. add await client.connect(); inside the try block
15. use a console.log after the client.connect to ensure database is connected
const express = require("express");
const { MongoClient } = require("mongodb");
require("dotenv").config();

const app = express();
const port = process.env.PORT || 5000;

const uri = `mongodb+srv://${process.env.DB_USER}:${process.env.DB_PASS}@cluster0.swu9d.mongodb.net/myFirstDatabase?retryWrites=true&w=majority`;

console.log(uri);

const client = new MongoClient(uri, {
  useNewUrlParser: true,
  useUnifiedTopology: true,
});

async function run() {
  try {
    await client.connect();
    console.log("database connected");
  } finally {
    // await client.close()
  }
}
run().catch(console.dir);

app.get("/", (req, res) => {
  res.send("Hello World!");
});

app.listen(port, () => {
  console.log(`Example app listening at http://localhost:${port}`);
});

Command these five steps to clone a git repository

1.  git clone --bare proHero-htpps/link
2.  cd (and go to that clone .git folder)
3.  git push --mirror my-htpps/link
4.  git remote -v
5.  git remote set-url origin my-htpps/link

๐€๐ฅ๐ฅ ๐ซ๐ข๐ ๐ก๐ญ ๐ซ๐ž๐ฌ๐ž๐ซ๐ฏ๐ž๐ ๐›๐ฒ ๐›๐š๐ฉ๐ฉ๐š ๐ฌ๐š๐ก๐š | ๐๐ฌ๐œ ๐ข๐ง ๐‚๐’๐„ |๐‘๐Œ๐’๐“๐”


About

name of some best theme , fonts, shortcuts and many more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published