Skip to content

Instantly share code, notes, and snippets.

View sainathadapa's full-sized avatar

Sainath Adapa sainathadapa

View GitHub Profile
@sainathadapa
sainathadapa / data.csv
Created April 6, 2016 10:50
ogdindiar-#15
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 7.
"name","link"
"Average Load Of Goods Trains (All Tracation) Broad Gauge and Metre Gauge upto 2013-14","https://data.gov.in/resources/average-load-goods-trains-all-tracation-broad-gauge-and-metre-gauge-upto-2013-14/download"
"Average Number Of Locomotives In Use Daily (Diesel) Narrow Gauge upto 2013-14","https://data.gov.in/resources/average-number-locomotives-use-daily-diesel-narrow-gauge-upto-2013-14/download"
"Average Number Of Locomotives In Use Daily (Electric) Metre Gauge upto 2013-14","https://data.gov.in/resources/average-number-locomotives-use-daily-electric-metre-gauge-upto-2013-14/download"
"Engine Usage - Engine Kilometres Per Day Per Engine In Use Goods upto 2013-14","https://data.gov.in/resources/engine-usage-engine-kilometres-day-engine-use-goods-upto-2013-14/download"
"Average Number Of Locomotives In Use Daily (Diesel) Broad Gauge upto 2013-14","https://data.gov.in/resources/average-number-locomotives-use-daily-diesel-broad-gauge-upto-2013-14/download"
"Average Number Of Locomotives In Use Dai
@sainathadapa
sainathadapa / empty_workspace.json
Created March 29, 2016 05:21
Workaround to have an empty workspace in I3 Window manager
{
"border": "pixel",
"floating": "auto_off",
"layout": "stacked",
"percent": 1,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 3,
@sainathadapa
sainathadapa / test.Rmd
Created March 23, 2016 11:41
'<!-- -->' in markdown output
---
title: "test"
output:
md_document:
variant: markdown_github
---
```{r pressure, echo=FALSE}
plot(pressure)
```
# On ubuntu, this is needed to compile Cairo:
# sudo apt-get install libcairo2-dev
# sudo apt-get install libxt-dev
# install.packages('Cairo')
library(ggplot2)
# Regular png
png('test1-png.png')