Posts

Showing posts from May, 2021

child sessions:: presentations

 1. set your goal and start working in that goal . 2. make some changes in yourself ::  kumhar health habits daud lagana 3. boos reading:: good nice and personality  books. 4.  use your time and save your money::: 5. learn some basics skills in this today world a. make communicative b. make your dashing personality. c. make talkative. 6. learn some computer statistics :: make presentations solve reasoning questions :: puzzles : mind will improve' learn english and one only langauge of any country which is famous and learn laguange of the country which is famous for your line 7. make a diary :; write your goals. 8. take a paper and write your goals on that 9. I am giving you the presentations of me: one thing any make and prepare and you have to present yourself at front of us :: at any idea of your interest :: i have a small gift for that one....to whom anil bhiya will select. 10. 10. 

javascript array questions and javascript string questions :: practical Programming questions that asked in the interview

  array::::::::::::::::::: https://www.w3resource.com/javascript-exercises/javascript-array-exercises.php string::::::::::::::::::::::: https://www.w3resource.com/javascript-exercises/javascript-string-exercises.php

javascript questions :: very nice link of 500 questions for javascritp

 https://github.com/sudheerj/javascript-interview-questions

links directly for javascript variables.

javascrpt questions :: code with code

 1 . What is callback function and provide a simple example  2.  given a string , reverse each word in sequence  3. how to check if an object is an array or not provide some code 4 how to empty an array in javascript 5. how would you check if an number is an integer 6. implement enqueue and dequeue using two stacks 7. make the work 8 write a mul function which will properly when invoked as below syntax 9. write a function that would allow you to do this 10 fizzbuzz challenge 11 given two string , return true if they are anagrams of one another  12 how would you use a closure to create a private counter 13 provide some examples of non-bulean value coercion to a boolean one 14. what will be the output of the following code  15. what will the following code output  16 write a function that would allow you to do this 17. how does this keyword work provide some code examples 18. how would you create a private variable in javascript 19. what is closure in ja...

prashant guidence react

 akshay saini video javascript :: react angular vue node js express js mern app artificial intelligence learn ecma scrtipt whatever akshay saini say -i recommend ecma script ast - abstract sytax tree astexplorer.net

REACT JS RESPONSIBILITES

  Developing new user-facing features using React.js Translating designs and wireframes into high-quality reusable code Optimizing components for maximum performance across a vast array of web-capable devices and browsers Report progress and status of assigned tasks to project teams and managers Provide technical leadership and motivation to junior developers

how to remove the previous git origin

git remote -v  git remote remove origin  git remote add origin git@github.com:user/repo.git 

rails interview - polymorphic association

 polymorphic association :: polymorphic association is the association in which a model is  belongs to many other models  | the common example of the polymorphic association is the post model connect to group ,profile and image model. the oop concept of polymorphism or the ability of an object to take many forms , is the foundation idea of these association in rails if i want to use the one model with many other models then we will use the polymorphic association  self join ::  2.10 Self Joins In designing a data model, you will sometimes find a model that should have a relation to itself. For example, you may want to store all employees in a single database model, but be able to trace relationships such as between manager and subordinates. This situation can be modeled with self-joining associations: class Employee < ApplicationRecord has_many :subordinates , class_name: "Employee" , foreign_key: "manager_id" belongs_to...

rails interview questions

 1  what is csrf- cross site request forgery and how rails is protected against it ? csrf is a form of attack where hacker submits a page on your behalf to a different website , causing damage or revealing ur sensitive data , to protect from csrf attacks you have to add protect_from_forgery to your application controller, this will cause rails to require a CSRF token to process the request , csrf token is given as a hidden field in every form created using Rails from builders. 2. what is mixin in rails ? mixin in ruby offers an alternative to multiple inheritances ,using mixin modules can be imported inside other class  3. how you defines type of varibales in ruby Ruby Instance variable begins with —  @ Ruby Class variables begin with —  @@ Ruby Global variables begin with —  $ 4. how you can run the application without creating databases  you can execute your application by uncommenting the line in enviornment.rb path=> rootpath conf/environment.rb...

Important - very important questions in rails

  what is ruby on rails  ruby :  it is object oriented programming language inspired by PERL and Python.  rails : it is a framework used for building web application  what is class libraries in ruby mention what is the naming convention in rails variables : for declaring variables .all letters are lowercase and words are seperated by underscroes. class and module : modules and classes uses mixed case and have no underscore , each words starts with a uppercase letter. database table : the database table name  model  : controller  : what is yield in rails  what is object relationship model in rails ORM or object relationship model in rails indicate that your classes are mapped to the table in the database , and objects are directly mapped to the rows in the table . what the difference is between false and nil in ruby in ruby false indicates a boolean datatype  ,  while nil is not a datatype,it have an object_id 4 mention what are the...

Important Notice Self based Questions in React

  Q1 :: why is prevent default is used ? It demonstrates how to add an item to a list by using a form element with input and button elements. In this case, a  preventDefault  is called on the  event  when submitting the form to prevent a browser reload/refresh. You can try the code yourself with and without the " prevent default ". Q2 :: 

add column in rails

  rails generate migration add_email_to_users email:string https://stackoverflow.com/questions/4834809/adding-a-column-to-an-existing-table-in-a-rails-migration/4834906

React Cruds and app Links ::

 Links and its description

LocalStorgage :: To store the data in React we use localStorage

Image
https://javascript.plainenglish.io/everything-you-need-to-know-about-html5-local-storage-and-session-storage-479c63415c0a  .............................................................................................................. Everything you need to know about HTML5 local storage and session storage Understand it by building actual practical applications ......................................................................................................................... You probably have heard of local storage or session storage terms but never got a chance to explore it. This article will clear all your concepts about it. Local and Session storage comes under the category of HTML5 Web Storage. It’s not the same as session storage that you might be familiar with if you came from a Java background where the session is stored on the server-side. We will use the term Web Storage when we talk about Session and Local Storage together. Web Storage is used for storing data on t...