- Python 3
- Pip 3
$ brew install python3| const express = require('express') | |
| const app = express() | |
| app.use(express.json()) | |
| var red; | |
| var green; | |
| var blue; | |
| var previousRed; | |
| var previousGreen; | |
| var previousBlue; | |
| var song; | |
| var keywidth = 50; | |
| var keyheight = 300; |
| { | |
| "statuses": [ | |
| { | |
| "coordinates": null, | |
| "favorited": false, | |
| "truncated": false, | |
| "created_at": "Mon Sep 24 03:35:21 +0000 2012", | |
| "id_str": "250075927172759552", | |
| "entities": { | |
| "urls": [ |
| Ozone | Solar.R | Wind | Temp | Month | Day | |
|---|---|---|---|---|---|---|
| 41 | 190 | 7.4 | 67 | 5 | 1 | |
| 36 | 118 | 8 | 72 | 5 | 2 | |
| 12 | 149 | 12.6 | 74 | 5 | 3 | |
| 18 | 313 | 11.5 | 62 | 5 | 4 | |
| NA | NA | 14.3 | 56 | 5 | 5 | |
| 28 | NA | 14.9 | 66 | 5 | 6 | |
| 23 | 299 | 8.6 | 65 | 5 | 7 | |
| 19 | 99 | 13.8 | 59 | 5 | 8 | |
| 8 | 19 | 20.1 | 61 | 5 | 9 |
| require(ggplot2) | |
| members <- jsonlite::fromJSON(readLines('https://gist.githubusercontent.com/neerajt/6f0ff957e7ff3adab63471460cade5d5/raw/55e3b7691aefe8e1c1dca7543dd4d41c8b5bee09/members.json')) | |
| plt <- ggplot(members, aes(x=Date, y=TotalMembers)) + | |
| geom_point() + geom_point(aes(y = ActiveMembers), color="red") + | |
| geom_point(aes(y = TotalMembers - ActiveMembers), color="blue") | |
| print(plt) |
| GIT_PATH <- '.git' | |
| PARENT_SEP <- 'parent ' | |
| get_log <- function() { | |
| current_hash <- get_current_hash() | |
| current_commit <- get_commit(current_hash) | |
| all_commits <- c(format_commit(current_hash, current_commit)) |
| # This is how you print in python | |
| print('Hello, Houston') |
| <html> | |
| <head> | |
| <script src="http://d3js.org/d3.v3.min.js"></script> | |
| </head> | |
| <body> | |
| <svg></svg> | |
| <script> | |
| var sampleData = [1, 2, 3, 4, 5, 10, 6, 2, 9, 20, 54, 30]; |