Skip to content

Instantly share code, notes, and snippets.

View cocomice's full-sized avatar

Yu Li cocomice

  • Beijing Normal University
  • China
View GitHub Profile
@cocomice
cocomice / dygraph_plot.r
Created May 31, 2017 08:53 — forked from MarkEdmondson1234/dygraph_plot.r
An example of rendering a Dygraph plot in Shiny
## in server.r
output$null_plot <- renderDygraph({
## don't output anything unless you have the data ready
validate(
need(casualImpactData(), "Model Working")
)
## the data for the plot is in here
ci <- casualImpactData()$series
#!/bin/bash
USERNAME=icaoberg
#to kill all the jobs
qstat -u$USERNAME | grep "$USERNAME" | cut -d"." -f1 | xargs qdel
#to kill all the running jobs
qstat -u$USERNAME | grep "R" | cut -d"." -f1 | xargs qdel
@cocomice
cocomice / Config.cpp
Last active August 29, 2015 14:08 — forked from xuhdev/input.txt
#include <iostream>
#include <string>
#include <sstream
#include <typeinfo>
#include <stdlib.h>
#include <map>
#include <fstream>
class Convert
{