Josh Simmons made this book dataset available for our OpenData-Hackathon at OSCON Amsterdam, Tue Oct 27 18:00.
It contains O’Reilly books since 2014 with ISBN, title and publication date. Let’s load them into a graph model.
| { | |
| "graph":{ | |
| "id":"80ba40b4-bccc-42e0-b74f-06a8dc1642b6", | |
| "name":"asdasd", | |
| "subtitle":null, | |
| "description":null, | |
| "updated_at":"2016-03-17T17:43:26.948+02:00", | |
| "created_at":"2016-03-17T15:02:34.000+00:00", | |
| "status":0, | |
| "image":{ |
| LOCAL_IP="$(ifconfig eth0 | grep "inet " | awk -F'[: ]+' '{ print $4 }')" \ | |
| SELENIUM_URL=http://firefox-browser:4444 \ | |
| RAILS_ENV=test \ | |
| rspec spec/integrations/login_spec.rb |
| #! /bin/bash | |
| while [ $(curl -s -o /dev/null -w "%{http_code}" elasticsearch:9200) -ne 200 ]; do | |
| echo -n "." | |
| sleep 2 | |
| done | |
| echo "" | |
| cat "elasticsearch.host_name=http://elasticsearch:9200" >> /var/lib/neo4j/config/neo4j.properties | |
| cat "ealsticsearch.index_names=...." >> /var/lib/neo4j/config/neo4j.properties |
Josh Simmons made this book dataset available for our OpenData-Hackathon at OSCON Amsterdam, Tue Oct 27 18:00.
It contains O’Reilly books since 2014 with ISBN, title and publication date. Let’s load them into a graph model.
| NODE TYPE | NODE NAME | EDGE TYPE | NODE TYPE | NODE NAME | Weight | donem | baslama | bitis | |
|---|---|---|---|---|---|---|---|---|---|
| Milletvekili | Ali DEMİRÇALI 6758 | SECILDIGI_BOLGE | Sehir | ADANA | 1 | 24 | 28/06/2011 | 23/06/2015 | |
| Milletvekili | Ali DEMİRÇALI 6758 | MENSUBU | Siyasi Parti | CHP | 1 | 24 | 28/06/2011 | 23/06/2015 | |
| Milletvekili | Ali DEMİRÇALI 6758 | HIZMET_DONEMI | Donem | 24. Donem | 1 | 24 | 28/06/2011 | 23/06/2015 | |
| Milletvekili | Ali HALAMAN 5857 | SECILDIGI_BOLGE | Sehir | ADANA | 1 | 24 | 28/06/2011 | 23/06/2015 | |
| Milletvekili | Ali HALAMAN 5857 | MENSUBU | Siyasi Parti | MHP | 1 | 24 | 28/06/2011 | 23/06/2015 | |
| Milletvekili | Ali HALAMAN 5857 | HIZMET_DONEMI | Donem | 24. Donem | 1 | 24 | 28/06/2011 | 23/06/2015 | |
| Milletvekili | Ali KÜÇÜKAYDIN 6349 | SECILDIGI_BOLGE | Sehir | ADANA | 1 | 24 | 28/06/2011 | 23/06/2015 | |
| Milletvekili | Ali KÜÇÜKAYDIN 6349 | MENSUBU | Siyasi Parti | AK Parti | 1 | 24 | 28/06/2011 | 23/06/2015 | |
| Milletvekili | Ali KÜÇÜKAYDIN 6349 | HIZMET_DONEMI | Donem | 24. Donem | 1 | 24 | 28/06/2011 | 23/06/2015 |
| docker run -i -t -d -e NEO4J_AUTH=none --name neo4j --cap-add=SYS_RESOURCE -p 7474:7474 tpires/neo4j |
| task :handlebars => :environment do | |
| puts "Compiling Handlebars templates" | |
| files = Rake::FileList["app/assets/javascripts/templates/**/*.hbs"] | |
| compiled_js = "" | |
| files.each do |file| | |
| openFile = File.open(file) | |
| pathName = openFile.to_path.sub("app/assets/javascripts/templates/", "")[0...-4] | |
| content = openFile.read | |
| compiled = HandlebarsAssets::Handlebars.precompile(content, HandlebarsAssets::Config.options) | |
| compiled_js += "(function() {\nthis.HandlebarsTemplates || (this.HandlebarsTemplates = {});\nthis.HandlebarsTemplates[\"" + pathName + "\"] = Handlebars.template(" + compiled + ");\n}).call(this);\n\n\n" |
| <html> | |
| <head> | |
| <style type="text/css"> | |
| body | |
| { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .iframe1 |
I hereby claim:
To claim this, I am signing this object: