- Mike Bostock (D3js author) tutos & examples : http://bost.ocks.org/mike/
- D3.js wiki : https://github.com/mbostock/d3/wiki
- Tutorials, screencasts, newsletters : https://www.dashingd3js.com/
- Some tutorials : http://alignedleft.com/tutorials/d3
- another collection : http://www.pinterest.com/gelicia/resources-for-learning-d3js/
library(shiny) | |
library(datasets) | |
Logged = FALSE; | |
PASSWORD <- data.frame(Brukernavn = "withr", Passord = "25d55ad283aa400af464c76d713c07ad") | |
# Define server logic required to summarize and view the selected dataset | |
shinyServer(function(input, output) { | |
source("www/Login.R", local = TRUE) | |
observe({ | |
if (USER$Logged == TRUE) { |
This interactive Neo4j graph tutorial shows how ecommerce websites can use their data to identify reshipping scams.
# Initialize the scroll | |
page = es.search( | |
index = 'yourIndex', | |
doc_type = 'yourType', | |
scroll = '2m', | |
search_type = 'scan', | |
size = 1000, | |
body = { | |
# Your query's body | |
}) |
""" | |
Example code for connecting to Stardog (http://stardog.com/) with | |
Python's RDFLib (http://github.com/rdflib). | |
See longer description: http://lawlesst.github.io/notebook/rdflib-stardog.html | |
""" | |
library(dplyr) | |
library(pipeR) | |
library(htmltools) | |
Titanic %>>% | |
data.frame %>>% | |
( .[,c(1,2,3,5)] ) %>>% | |
#tbl_df %>>% | |
(df ~ | |
lapply( |
library(RCurl) | |
val <- getURL('ldap://ldap.domain.net/DC=domain,DC=net?sAMAccountName?sub?(employeeID=0123456)', | |
.opts=list(userpwd = "DOMAIN\\domainid:password")) |
Today I came across a really interesting StackOverflow question:
Given a forest of trees in a Neo4j REST server, I`m trying to return a single tree given the root vertex. Being each tree quite large, I need a de-duplicated list of all vertices and edges in order to be able to reconstruct the full tree on the client side.
Unless you are using Safari on OSX, most browsers will have some kind of free plugin that you can use to export the browser's history. So that's probably the easiest way. The harder way, which seems to be what Safari wants is a bit more hacky but it will also work for other browsers. Turns out that most of them, including Safari, have their history saved in some kind of sqlite database file somewhere in your home directory.
The OSX Finder cheats a little bit and doesn't show us all the files that actually exist on our drive. It tries to protect us from ourselves by hiding some system and application-specific files. You can work around this by either using the terminal (my preferred method) or by using the Cmd+Shft+G in Finder.
Once you locate the file containing the browser's history, copy it to make a backup just in case we screw up.
This is an example Shiny app to use a dynamic Leaflet map like a selectInput. To run the app, install the necessary packages then enter the command shiny::runGist('4988b5164258917687cb')
.