Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Kushal V. Mahajan kushalmahajan

I may be slow to respond.
Block or report user

Report or block kushalmahajan

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 package.json
"name": "root",
"private": true,
"devDependencies": {
"lerna": "^3.16.4"
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
View component.js
this.openDrawer ? (
title="Edit User"
Body of drawer
kushalmahajan / linked_list_OLOO_style.js
Last active Dec 4, 2018
Implementation of Linked list in Javascript using OLOO ( Object linked with another object ) style of coding i.e. no "new" keyword and sugar coated classes
View linked_list_OLOO_style.js
* Initialize your data structure here.
var MyLinkedList = {
head: null,
length: 0,
Node: function (val){
return {
kushalmahajan / App.js
Last active Jul 27, 2017
A basic React app.js to demonstrate connectivity to Node/Express APIs
View App.js
import React, {Component} from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
state = {notes: []};
componentDidMount() {
View rs_notes.js
'use strict';
const express = require('express');
const router = express.Router();
router.get('/', function(req, res) {
id: 1,
title: 'First note',
kushalmahajan / index.js
Last active Jul 27, 2017
React node app
View index.js
'use strict';
const express = require('express'),
notes = require('./routes/rs_notes');
const app = express();
const router = express.Router();
// route middleware that will happen on every request
router.use((req, res, next) => {
kushalmahajan / MainController.js
Last active Oct 11, 2015
Install Buttons not working
View MainController.js
app.controller('MainController', ['$scope', function($scope) {
$scope.apps = [
icon: 'img/move.jpg',
title: 'MOVE',
developer: 'MOVE, Inc.',
price: 0.99
icon: 'img/shutterbugg.jpg',
You can’t perform that action at this time.