Showing posts with the label windows 10

OpenSSL SSL_read: SSL_ERROR_SYSCALL in windows

 OpenSSL SSL_read: SSL_ERROR_SYSCALL Open your terminal/command prompt   GIT_CURL_VERBOSE=1 your_command_here I.E:- if you want to take pull from master branch then   GIT_CURL_VERBOSE=1 git pull origin master

convert string value into fractional in ruby on rails

Convert string value into fractional self.try(:shipping).fractional.to_f   // this will convert string value to fractional example- if  self.try(:shipping)  =>   #<1500 Euro shiiping> then   self.try(:shipping).fractional.to_f will return 1500

Install Google Chrome in Ubuntu 16.04 || 14.04

Install Google Chrome in Ubuntu 16.04 || 14.04 Open terminal. Copy and paste command wget -q -O - | sudo apt-key add - copy and paste this sudo sh -c 'echo "deb [arch=amd64] stable main" >> /etc/apt/sources.list.d/google.list' Now install Chrome Browser sudo apt-get update sudo apt-get install google-chrome-stable launch Google Chrome google-chrome

Naming convention in SQL Sql Tutorial -4

Naming Convention in SQL Rules to follow before specifying names(Object names, Column Names and Variable Names). Each name should begins alphabet Valid character set is a-z,A-Z,0-9,@,$,# and _ (underscore) Ex:  Emp123   Emp_o11 Names are not case sensitive Already existed names are not allowed Pre defined keywords (ReservedWords) are not allowed as names. Blankspace within a name is not allowed Max length of any name is 32 chars

SQL COMMANDS || Oracle SQL COMMANDS Sql Tutorial -3

Types of SQL commands 1) DDL(data definition language) commands:       Used to create or change or delete any data base objects CREATE ALTER DROP TRUNCATE RENAME 2) DML(data manipulation language) COMMANDS       Used to fetch data / enter new data/ changing existed data / deleting the data from table. INSERT  UPDATE  DELETE  TRUNCATE 3) DRL(dataretrieval language) Command     SELECT (logicalcommand) 4) DCL(DATA CONTROL LANGUAGE) COMMANDS     Used to control the access of data base objects. These commands are used by DBA (databaseadministrator) GRANT  REVOKE 5) TCL(TRANSACTION CONTROL LANGUAGE) COMMANDS      Used to save or cancel the actions/transactions made on table data. COMMIT  ROLLBACK  SAVEPOINT

React Application by Webapck || webpack install

Create a directory into your local         for windows            mkdir react-demo         for linux                       mkdir react-demo Go to directory             cd react-demo Type npm init            for installing node and creating package.json file npm i webpack --save-dev           create dependency by webpack npm i webpack-cli --save-dev           This cmd is used to create dependency for webpack-cli in package.json file.           Like -             "devDependencies": {            "webpack": "^4.16.2",            "webpack-cli": "^3.1.0"             } npm install -D babel-loader @babel/core @babel/preset-env webpack "devDependencies": {    "babel-core": "^6.26.3",    "babel-loader": "^7.1.5",    "babel-preset-env": "^1.7.0",    "webpack": "^4.16.2",    "webpack-cli":

you should install 'babel-loader@7'. || babel version

If you are Getting any error in compiling main.js or app.js or in Entry file of React App You have to Update Babel versions and dependency npm install -D babel-loader @babel/core @babel/preset-env webpack And change config file options: {           presets: ['@babel/preset-env']         }

Create react app by live-server || live Server || React App

First install node and check node -v and npm -v Create a directory mkdir <your_directory_name> Run command npm init (press enter and use all defaults) by this command package.json file will be created in root directory for creating Dependency we run this command npm install --save-dev babel-cli babel-preset-react npm install --save-dev babel-cli babel-preset-env sudo npm install -g  babel-cli babel-preset-env babel-preset-react ( Installed "babel-cli@6.26.0" with binaries:  - babel-doctor  - babel - babel-node  - babel-external-helpers ) this packages are created. Install live server npm  install  -g  live - server Now again make a directory inside root directory mkdir public (you can take name as you want) mkdir src (you can take name what ever you want you want) inside public folder create two new file index.html index.js inside src folder create one new file  main.js ( this is file where react app execution is start. you can take

How do I fix bad pool caller error or death screen error? windows death screen error or bad pool caller

There are many ways to fix bad pool caller error or death screen error or blue screen error. From command prompt          open command prompt as a administrator and type  sfc/scannow  and  enter.          it will take time to fix it after complete this process restart your computer. Download winthster          download it and scan and fix all problem. Download reimage repair           download it and scan and fix all problem.