Skip to content

Instantly share code, notes, and snippets.

View rahuldave's full-sized avatar

Rahul Dave rahuldave

View GitHub Profile

ADS Ontologies

Prelim

What?

Jay's Proposal:

view-source:http://bitbucket.org/adsonto/adsontologies/raw/6719c72e4944/examples/1991ApJ...376L...5K.rdf

@rahuldave
rahuldave / learning1.go
Created January 12, 2012 23:25
The Hello World Example from Go
//Learning Go
package main
import "fmt"
func main() {
fmt.Print("Hello, 世界\n")
}
@rahuldave
rahuldave / gist:4551419
Created January 16, 2013 22:10
a test gist from sublime
{
"detect_indentation": false,
"detect_slow_plugins": false,
"file_exclude_patterns":
[
".*",
"*.pyc",
"*.pyo",
"*.exe",
"*.dll",
@rahuldave
rahuldave / Explain Ipython.ipynb
Created February 5, 2013 23:06
test python notebook gist
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rahuldave
rahuldave / bla.py
Created March 23, 2013 16:44
A script to get full text search results from ADS and try matching degree latitudes. Needs work with minutes and other stuff. Also ought to be made into a full fledged aribitrary search term handling script.
# -*- coding: utf-8 -*-
import requests
import json
import pprint
import time
PREFIX="http://adslabs.org/adsabs/api/search/"
APIKEY="INSERT CIA SECRET"
import re
@rahuldave
rahuldave / combined_population_votes.csv
Created August 17, 2021 18:32
Improving a visualization by removing Chartjunk
State Population Votes popmills
Alaska 710000 3 0.71
Alabama 4780000 9 4.78
Arkansas 2916000 6 2.916
Arizona 6392000 11 6.392
California 37254000 55 37.254
Colorado 5029000 9 5.029
Connecticut 3574000 7 3.574
District of Columbia 602000 3 0.602
Delaware 898000 3 0.898