Category: Uncategorized

  • Divide CSS3 Grid into fixed equal columns

    Defining a fixed set of equal width items for each row in a grid can be done using the grid-template-columns property in CSS3.

    (more…)

  • Create Schematic using Schematic-CLI from angular-devkit

    We can easily create a new schematic which we can use with the help of Angular-CLI in few minutes. Install the required package globally using npm as shown below. You will need node version >= 6.9 for this. (more…)

  • Detecting Angular Router State Changes

    Detecting Route state changes can be done by subscribing to the router and listening to the events being emitted. In the example below you will see all the router events that you can listen to in Angular. (more…)

  • Angular Material with Angular 5

    Install the latest version of Angular Material + Animations using npm to get started.

    npm i --save @angular/material @angular/cdk
    npm i --save @angular/animations

    (more…)

  • Testing Component with Service (Promise) in Angular

    To perform unit testing on a component that makes use of a service, that returns a promise, we can use fakeAsync() and spy() methods from Angular’s unit testing package. (more…)

  • Interview Structure for Top Tech Companies

    Amazon

    Usually for SDE I, the interview involves

    • 1 Phone screen with coding.

      Onsite
    • 3 Onsite whiteboard coding interviews (includes bar raiser)
    • 1 System Design round
    • 1 Behavioral round

    Google

    For entry level software engineers, usually it comprises of

    • 1 Hangouts coding session

      Onsite
    • 5 whiteboard onsite coding interviews

    Microsoft

    For different levels of Software Engineering positions, usually the interview comprises of

    • 1 Skype coding session

      Onsite
    • 5 whiteboard onsite coding interviews

    Most tech companies try to test your ability to apply core Computer Science fundamentals to solve problems.

  • What is Dynamic Programming?

    Dynamic Programming is a way of solving a problem by breaking it down into smaller sub problems and storing them without having to recalculate them. Usually this involves 3 main methods. (more…)

  • Flashing your Samsung Galaxy S7 Edge (T-Mobile)

    You will need a Windows PC for this. Make sure you have backed up your data before proceeding.

    • Download the Samsung Android drivers for Windows from here and install it.
    • Download ODIN from here and extract it.
    • T mobile S7 for flashing your T-Mobile S7 Edge device from here and extract it.
    • Hold the Volume Down + Power + Home button of your device simultaneously until you see options to Flash your device.
    • Now choose to move forward with flashing your device by pressing the  Volume up key on your device.
    • Now connect your device using a USB cable to your Windows PC.
    • Run ODIN as an admin and choose the files starting with BL, AP, CP  & CSC correspondingly into their respective fields and click on Start.
    • Wait for the flash operation to terminate successfully. This usually takes around 5-10 minutes depending on your hardware.

    (more…)

  • Invisible reCAPTCHA with Angular 5

    Install ng-recaptcha module and import it into the app.module.ts
    (more…)

  • Remove Invisible reCAPTCHA logo

    reCAPTCHA Invisible
    To remove the Invisible reCAPTCHA logo, you can use the following CSS in your code.
    (more…)