This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name":"Jayanth", | |
"age":32 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {PropTypes} from "react"; | |
import {Card, RaisedButton, CardText} from "material-ui"; | |
const getStyles = () => ({ | |
clickableCard: { | |
style: { | |
height: 'auto', | |
width: '100%', | |
margin: '0px', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You should have brew installed | |
Shell command | |
% brew upgrade mongo; | |
will make a successful upgrade |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |