Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

bhavdip Bhavdip

🎯
Focusing
Block or report user

Report or block Bhavdip

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Tips.md

CDN (Content Delivery Network)

CDN is a computer networked system that connects to each other over the Internet and delivers music, pictures, videos, applications, and other files to users faster and more reliably with the server closest to each user.

What is CDN?

With the development of internet, users pay more and more attention to the browsing and effects of websites when using internet.However due to of the surging number of internet users and long routes of network access, the quality of users access is severly affected. Especially when the link between user and the website is bursted by large traffic data. poor quality of access is an urgent problem to be solved in areas where number of users in remote areas is rapidly increasing. How can we make high quality to users everywhere and minimize the resulting costs and pressure on web site management? Content Develivery Network was born.

CDN is computer networked system that connects of each other via internet to deliver music,pictures,videos,applicat

@Bhavdip
Bhavdip / ReadMe1.md
Last active Dec 23, 2017
CircleCI Php
View ReadMe1.md
View kotlin_tips_part2.md

Configuring Android Studio with Kotlin

@Bhavdip
Bhavdip / kotlin_tips.md
Last active Oct 9, 2017
kotlin_tips_part1.md
View kotlin_tips.md

Which is a new programming language that is a pragmatic, safe,concise, and interoperable alternative to Java.With Kotlin, you can implement your projects with less code, a higher level of abstraction, and fewer annoyances

Kotlin is concise, safe, pragmatic, and focused on interoperability with Java code. It can be used almost everywhere Java is used today - for server-side development,Android apps, and much more. Kotlin works great with all existing Java libraries and frameworks and runs with the same level of performance as Java.

This allows for shorter code and greater flexibility in creating data structures.But the downside is that problems like misspelled names can’t be detected during compilation and lead to runtime errors.

The ability of the compiler to determine types from context is called type inference.

Performance - Calling methods is faster because there’s no need to figure out at runtime which method needs to be called.

@Bhavdip
Bhavdip / Section1.md
Last active Sep 25, 2017
AngularTopics Series 3
View Section1.md

** Services and Dependency Injection **

import { Component, EventEmitter, Input, Output } from '@angular/core';
import {LoggingService} from "../logging.service";

@Component({
  selector: 'app-account',
  templateUrl: './account.component.html',
  styleUrls: ['./account.component.css'],
  providers:[LoggingService] //<-- service injection
@Bhavdip
Bhavdip / section1.md
Last active Sep 20, 2017
AngularTopics Series 2
View section1.md

** ngClass and ngStyle **

<div *ngIf="onlyOdd">
    <ul class="list-group">
      <li
        class="list-group-item" *ngFor="let item of OddNumbers"
        [ngClass]="{oddNumber: item % 2 !== 0}"> <!-- ngClass directivies oddNumber is css class-->
        
        {{item}}
@Bhavdip
Bhavdip / CLITIPS.md
Last active Sep 20, 2017
Angular CLI
View CLITIPS.md

For Angular4 need node_modules

  • This will add the node_modules into the existing angular project
npm install

  • For create a new component
@Bhavdip
Bhavdip / Angula.md
Last active Sep 19, 2017
AngularTopics
View Angula.md

Project Structure

E2E => for End To End Testing

.ts => Typescript

Module Name: App

  1. Component
You can’t perform that action at this time.