Skip to content

Instantly share code, notes, and snippets.

View davidlivingrooms's full-sized avatar

Bizbee davidlivingrooms

View GitHub Profile
getGistContent = () => {
const options = {
lineNumbers: true,
readOnly: true,
mode: this.getCodeMirrorModeByFileExtension(this.props.file)
}
return (
<Paper zDepth={1} >
<CodeMirror value={this.props.file.content} options={options} />
<Paper>
<CodeMirror > </CodeMirror>
</Paper>
Select * from users
print "Hello, World!\n"
import random
min = 1
max = 6
roll_again = "yes"
while roll_again == "yes" or roll_again == "y":
print "Rolling the dices..."
print "The values are...."
print random.randint(min, max)
fewfewf