Skip to content

Instantly share code, notes, and snippets.

{
"name":"Jayanth",
"age":32
}
var option = document.getElementById('color').value;
console.log("some event "+event.button)
chrome.storage.sync.set({
favoriteMouseWheelOption: option
}, function() {
// Update status to let user know options were saved.
var status = document.getElementById('status');
status.textContent = 'Options saved.';
setTimeout(function() {
status.textContent = '';
@rj12info
rj12info / TouchRipple.js
Created August 19, 2017 05:54
Ripple effect on Card - Material UI
import React, {PropTypes} from "react";
import {Card, RaisedButton, CardText} from "material-ui";
const getStyles = () => ({
clickableCard: {
style: {
height: 'auto',
width: '100%',
margin: '0px',
@rj12info
rj12info / gist:47b15e6238f4710fe95d7b12419e1e8f
Created February 28, 2017 11:24
Upgrading mongo in Mac Yoesmite
You should have brew installed
Shell command
% brew upgrade mongo;
will make a successful upgrade
@rj12info
rj12info / 0_reuse_code.js
Created May 16, 2016 11:51
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console