Skip to content

Instantly share code, notes, and snippets.

View jayanthrbharadwaj's full-sized avatar
💭
App on Transliteration API usage

Jayanth Bharadwaj R jayanthrbharadwaj

💭
App on Transliteration API usage
View GitHub Profile
@startuml
namespace alert {
namespace domain {
interface ActiveAlertCountInteractorContract {
+ getActiveAlertsCount(): Single<String>
}
class ActiveAlertCountInteractor {
@jayanthrbharadwaj
jayanthrbharadwaj / List.java
Last active June 4, 2019 19:40
Nested Class
package nesting;
public class Father {
/* ============================================================
methods in the class Father can access PRIVATE
members of this NESTED class !!!
============================================================ */
private class BankAccount {
private double accountNumber; // *** Private variable !!! ***
private String transferee; // *** Private variable !!! ***
@jayanthrbharadwaj
jayanthrbharadwaj / QuillEditorImageUpload.jsx
Created January 18, 2019 06:56
React JS - Quill editor Image upload plugin + Imgur image upload API + Code uses "react": "16.3.0", quill-image-upload": "^0.1.3
import React from 'react';
import ReactQuill,{ Quill } from 'react-quill'; // ES6
import { ImageUpload } from 'quill-image-upload';
import {withStyles} from "@material-ui/core/styles/index";
Quill.register('modules/imageUpload', ImageUpload);
//React JS - Quill editor Image upload plugin. + Imgur image upload API + Code uses "react": "16.3.0", quill-image-upload": "^0.1.3
class QuillEditorImageUpload extends React.Component {
constructor(props) {
super(props);