Skip to content

Instantly share code, notes, and snippets.

Bhupal bhupal4all

  • Bangalore, India
Block or report user

Report or block bhupal4all

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
@bhupal4all
bhupal4all / SOLID Principles.md
Last active Dec 7, 2019
Software Design Principles
View SOLID Principles.md

SOLID Principles for Design

Intention


To make design to be more

  • Understandable
  • Easy to extend
  • Easy to Maintain, Refactor

SOLID is an acronym for 5 important design principles

View convert-image-to-base64.js
/**
* version1: convert online image
* @param {String} url
* @param {Function} callback
* @param {String} [outputFormat='image/png']
* @author HaNdTriX
* @example
convertImgToBase64('http://goo.gl/AOxHAL', function(base64Img){
console.log('IMAGE:',base64Img);
})
View gchart_offline.html
<!--
How to use Google JS Visualization Api offline, step by step
this approach might work with other libraries loaded with google.load, after all it's still JavaScript!!!
-->
<!DOCTYPE html>
<html>
You can’t perform that action at this time.