Posts

Showing posts from July, 2021

MongoDB (CRUD)

NOSQL:-[written in c++] table    collection[no structure schema] row     document column  field table join embeded document  open cmd and type mongo to run mongodb database. show dbs use databasename show collections db.createCollection("mycollection") db.dropDatabase()//make sure u have done use database then drop db.COLLECTION_NAME.drop() Commands:------- use databasename .....to create database if present it will switch to database otherwise it will create new.( database name is Case Sensitive ) To remove database:   first check by using db  in which databse you are  then  db.dropDatabase(); Then at least one collection(table) we have to create for :- show dbs (show databases) command to show database.    or      show databases; //minimum one collection is mandatory[ one table is mandatory] creating and Dropping collection:  db.createCollection("name of collection"); it has to be in "" double co...

Some error Solve(typescript)

 https://stackoverflow.com/questions/43042889/typescript-referenceerror-exports-is-not-defined Wrong, this is the real step: - HTML - W3C - css  - css adaptatif ( flex, grid and media ) - scss  - bootstrap * (until you master css and css adaptatif, never go for bootstrap since it will be only for a more convenient way to do css, but you won’t have learned the basics and it is the basic that are important. - SVG (inkscape) - UX/UI - git  - HTML Formular - JavaScript  - JavaScript modern ES6 - DOM - JQuery ( soon depricated) - localstorage  - template - promise  - asynchronous  - JSON  - nodejs (npm) - php - composer (npm but php version) - MySQL and MongoDB - AJAX (RĂ©al theme AJAJ now) - Design pattern ( singleton, facades, iteration) - laravel (php frameworks) - i18n - l10n - pwa - SEO  - google analytics  - htaccess - reacts - typescript  - web securities  - test unit (jest or mocha) - WYSIWYG - docker - server configurat...

PHP BASic

 PHP XAMPP MySQL shutdown unexpectedly , Cannot connect: invalid settings. solution:-https://www.youtube.com/watch?v=tDf-QA4vZ2s error vscode: Failed to save 'Untitled-1': (this.configurationService.getValue(...) || []).filter is not a function 0 I had the same error, where the  jupyter-notebook  extension was updated and caused a bug. In the settings navigate to  "workbench.editorAssociations" , replace "*.ipynb" : "jupyter-notebook" with "viewType" : "jupyter-notebook" , "filenamePattern" : "*.ipynb" and everything will work fine. For the settings file, By default VS Code shows the Settings editor, but you can still edit the underlying settings.json file by using the Open Settings (JSON) command or by changing your default settings editor with the workbench.settings.editor setting. Depending on your platform, the user settings file is located here: Windows %APPDATA%\Code\User\settings.json macOS $HOME/...

MongoDB Runing

Image
 >>> folder c:/data/db.....created... 1. Check  which version of MongoDB is installed. 2.Check which version of MongoDB shell is installed. 3.Run MongoDB 4.open another cmd and run mongo shell. show databases;-for checking database... 5. By default port no:-27017