First add your twitter username and password. Then server.rb and once it's started open websocket.html in your browser. You should see some tweets appear. If not take a look at the javascript console.
This file contains 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
hr { | |
width: 30%; | |
margin: 30px 0; | |
} |
This file contains 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
{ | |
"@context": { | |
"dc": "http://purl.org/dc/elements/1.1/", | |
"dcmitype": "http://purl.org/dc/dcmitype/", | |
"dcterms": "http://purl.org/dc/terms/", | |
"@vocab": "http://purl.org/dc/elements/1.1/", | |
"admin": null, | |
"id": null, | |
"_id": null, | |
"ingestionSequence": null, |
This file contains 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
# 1. set WD | |
setwd("C:/Users/Core-i5/Desktop/dataSci/3 Getting data/W3") # NOTE: change this PATH | |
# 2. make folder | |
if(!file.exists("./data")){ | |
dir.create("./data") | |
} | |
# 3. make handle | |
fileURL <- "https://github.com/DataScienceSpecialization/courses/blob/master/03_GettingData/dplyr/chicago.rds?raw=true" |
This file contains 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
library(shiny) | |
library(deSolve) | |
library(cummeRbund) | |
# load cuffDiff data, must be in top dir and called cuffData.db: | |
cuff = readCufflinks() | |
shinyServer(function(input,output) { | |
getData = reactive(function() { |
This file contains 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
#!/bin/bash | |
sed 1d $1 | while read line | |
do | |
CHROM=`echo $line | awk '{print $1}'` | |
POS=`echo $line | awk '{print $2}'` | |
num_alleles=`echo $line | awk '{print $3}'` | |
num_chroms=`echo $line | awk '{print $4}'` | |
mafs=() |
I hereby claim:
- I am duxan on github.
- I am dusanrandelovic (https://keybase.io/dusanrandelovic) on keybase.
- I have a public key ASBcJe0GC2YsCAfChRKvpki9gZQS1xdHhMSzF7Dze6FQ_Qo
To claim this, I am signing this object:
I hereby claim:
- I am duxan on github.
- I am duxan (https://keybase.io/duxan) on keybase.
- I have a public key ASAtxXTtmDA77LmCOIgQaZmt_nXHO9C_otIy1eRFXqTeJQo
To claim this, I am signing this object: