Monday, October 17, 2016

IT Best Practices

Encryption

When there is requirement to hash or encrypt data then the most secure and up-to-date methods and standards must be used. The recommended algorithms include Triple DES (3DES), AES-256, AES-128, blowfish, twofish. If other stronger algorithms are available such as SHA-224, SHA-256, SHA-384, or SHA-512, it is encouraged to use them. Do not ever use MD5.

Friday, April 1, 2016

DevOps


  • DevOps is about increasing delivery velocity, driving up quality and enabling innovating experimental delivery capability
  • DevOps asks to stop thinking about big releases but deliver series of changes in pipeline. Start thinking Agile.
  • Series of practices and techniques makes productivity improvement and increases Time to Market
  • Business need features deployed quickly (in days) so that they can test and adapt quickly as per consumer demands
  • Helping deliver applications at a pace of business
  • Streamlines and accelerates interaction between development and operations
  • New IT
    • Agile
      • Methodology where we embrace change
      • Smaller increments
      • Scope decide in just in time basis
    • Continuous Integration
      • Working on common code set
    • Continuous Delivery
      • Each code change is a shippable product and available on production with automated deployment
  • Principles
    • Test Early and Often
    • Automate Everything
    • Strong Source Control
    • Test Driven Development
    • Enable incremental delivery
  • In Action
    • Access Jira to understand requirement specified in a User Story
    • Access Git to pull the code
    • Write test case using Mocha
    • Write web application code
    • Code being reviewed
    • Push code to working repository
    • Merge and Build
    • Code Analysis with complexity
    • Unit and Functional Test Automation
    • Deployment
  • Challenges => Solution
    • Inefficient Practices => Streamlined Practices
    • Phased Delivery => Continuous Delivery
    • Manual Process => Automated Quality Process
    • Siloed Teams => Integrated Teams





Tuesday, March 3, 2015

Javascript Learning

How to find Geolocation?


function findLocation() {
if(navigator.geolocation)  // check if browser is HTML 5 compatible
navigator.geolocation.getCurrentPosition(showLocation);
}

function showLocation(position) {  // position object will give latitude and longitude information
window.location.href = "https://maps.googleapis.com/maps/api/staticmap?center=" + position.coords.latitude +                                                        "," + position.coords.longitude + "&zoom=13&size=600x300";
}