Skip to content

Instantly share code, notes, and snippets.

View Bhavdip's full-sized avatar
🎯
Focusing

bhavdip Bhavdip

🎯
Focusing
View GitHub Profile
@Bhavdip
Bhavdip / Tips.md
Created January 3, 2018 10:31
Jenkins Php

//Jenkins

@Bhavdip
Bhavdip / Tips.md
Last active December 25, 2017 07:24
Alibaba

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 December 23, 2017 06:57
CircleCI V2.0
@Bhavdip
Bhavdip / ReadMe1.md
Last active December 23, 2017 06:53
CircleCI Php
@Bhavdip
Bhavdip / kotlin_tips_part2.md
Last active October 9, 2017 13:55
kotlin_tips_part2

Configuring Android Studio with Kotlin

@Bhavdip
Bhavdip / kotlin_tips.md
Last active October 9, 2017 04:46
kotlin_tips_part1.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 September 25, 2017 10:16
AngularTopics Series 3

** 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 September 20, 2017 11:43
AngularTopics Series 2

** 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 September 20, 2017 07:22
Angular CLI

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 September 19, 2017 13:08
AngularTopics

Project Structure

E2E => for End To End Testing

.ts => Typescript

Module Name: App

  1. Component