Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Bhavdip's full-sized avatar
🎯
Focusing

bhavdip Bhavdip

🎯
Focusing
View GitHub Profile
@Bhavdip
Bhavdip / sketch-never-ending.md
Created October 6, 2016 15:53
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com

127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

@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 / MicroServiceArchitecture.txt
Last active October 6, 2017 12:11
MicroServiceArchitecture #tags:MicroService
We need the server or machine where our web application is running. That usually provide us IP and we access it from internet.
Now issue of that approch is that server has to be up all time in anycase even if your user traffic is increase or decrease.
On our end if we don't get enough traffic still we have to pay for basic provision and manages charge for run it.
Along with that we need to manage the server upgrade the software, os should up to date.
In this idea, we can run our application without actual manages the resources.
@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}}