Tuesday, October 24, 2017

Tech Meaning - Words

  • Cohesion -  the action or fact of forming a united whole.
  • Facade -  is a collection of helper methods whose purpose is to hide a library or group of libraries from the application (a facade to a building hides the ugly bits behind it)
  • PAAS - Platform as a service 
  • POJOs -Plain Old Java Objects 
  • REST  - Representational state transfer 
  • SSL (Secure Sockets Layer) -  the standard security technology for establishing an encrypted link between a web server and a browser. This link ensures that all data passed between the web server and browsers remain private and integral. 
  • .m2  Folder
    The maven local repository is a local folder that is used to store all your project’s dependencies (plugin jars and other files which are downloaded by Maven). In simple, when you build a Maven project, all dependency files will be stored in your Maven local repository.
    By default, Maven local repository is default to .m2 folder :
  • Unix/Mac OS X – ~/.m2
  • Windows – C:\Documents and Settings\{your-username}\.m2
  •  TDD - Test Driven Development 
               is a software development process that relies on the repetition of a very short development cycle: first the developer writes an (initially failing) automated test case   that     defines a desired improvement or new function, then produces the minimum amount of code to pass that test, and finally refactors the new code to acceptable standards.
The following sequence of steps is generally followed:                                                               1. Add a test             2. Run all tests and see if the new one fails                    
                    3.Write some code   4. Run tests                   
                    5.Refactor code        6. Repeat
  • Stand-alone program -  is a computer program that does not load any external module, library function or program and that is designed to boot with the bootstrap procedure of the target processor – it runs on bare metal.
  • Bootstrapping - In general,  usually refers to a self-starting process that is supposed to proceed without external input. 
  • JAR  -   (Java Archive) is a package file format typically used to aggregate many Java class files and associated metadata and resources (text, images, etc.) into one file for distribution 
  • Stateless Applications
    A stateless app is an application program that does not save client data generated in one session for use in the next session with that client. ... In contrast, a stateful application saves data about each client session and uses that data the next time the client makes a request.
     

Wednesday, October 11, 2017

Command Line -Commands

  • The "cd" command changes the directory, but not what drive you are working with. So when you go "cd d:\temp", you are changing the D drive's directory to temp, but staying in the C drive.
      Execute these two commands:
   D:
   cd temp
     That will get you the results you want.
  • To terminate any running process , type  Ctrl + C

Friday, September 29, 2017

SQL JOINS


  • Using those new standard and earlier standard will execute in same way(Speed etc) , but this new standard is more useful , powerful  .

Sunday, September 10, 2017

Git - Commands


     
  •  Suppose $COMMIT_id  was the last commit id before you performed git pull. What you need to undo the last pull is         

                    git reset --hard $COMMIT_id 
  •  git diff   -   Show unstaged changes between your index and working directory.                                                                                                                                          
  •  git pull    -    This update whole  branches of  local  repository   .                                                                                                                                                                                  
  •  The git pull  command is actually a combination of two other commands, git fetch  followed by git merge ,
    it does a git fetch and then a git merge where it merges branches that have been setup to be merged in your config
                  git fetch just "downloads" the changes from the remote to your local repository. git pull downloads the changes and merges them into your
                  current branch. "In its default  mode, git pull is shorthand for git fetch followed by git merge FETCH_HEAD
  • If you want to  get a file( src/main/resources/application-dev.properties) from another branch (master)  to your current working branch then,                                                                               
                  git checkout dev
                  git pull origin  dev
                  git checkout  master -- src/main/resources/application-dev.properties                                                   
  • To remove last commit
     git pull origin  dev
    git reset --hard HEAD~1  //Remove last commit ,1  means one last commit, if  it  is  2,then last two commits gitk git push       origin dev --force
  •  To change commit message  use command ,
     $ git commit --amend
     Then window that will open , change message .Then click Esc  button and type :wq
     Finally push changes.
     
  • If you are currently working on local branch master, and the new remote branch has not been created yet:


    git checkout -b new_branch_name //Creates a local branch(as a copy of the current)
    git push origin new_branch_name //Push it to the remote server 
     
     
     
     
     
     
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Image result for git  local operations of reset 
     
     
     Image result for git  local operations of reset
    
    
 
 
 

Thursday, September 7, 2017

ReadMe File Creating Using Markdown (MD) Format

If you  are  creating readMe file ,using  Markdown ,Then there  is several tools  that you  can  use  to online create .


 Below some links to markdown tutorials

Tuesday, September 5, 2017

Abbrevations

  •  APM   -  Application Performance Management
  •  DTO    -  Data Transfer Object
  • REST API   -   Representational State Transfer  Application Programming Interface

Some interesting things to explore more

 Here  some  some  things  to  study  more ,     How Google Search works               https://developers.google.com/search/docs/fundamental...