Skip to content

Instantly share code, notes, and snippets.

View dmccreary's full-sized avatar

Dan McCreary dmccreary

View GitHub Profile
@caseywatts
caseywatts / 0-self-publishing.md
Last active May 14, 2024 02:03
Self-Publishing via Markdown
@martinwicke
martinwicke / automobile.ipynb
Last active January 9, 2022 08:14
Estimator demo using Automobile dataset
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jvilledieu
jvilledieu / import_EU_tendersv2.cql
Last active October 24, 2022 20:23
Importing the European Union tenders into Neo4j
//-----------------------
//Clean everything
//-----------------------
MATCH (n)
OPTIONAL MATCH (n)-[r]-()
DELETE n,r;
//-----------------------
//Import authorities
//-----------------------
@wsalesky
wsalesky / search.xql
Created June 18, 2014 18:03
Main search xquery. imports @andersoncliffb's render.xqm module
xquery version "3.0";
import module namespace search = "http://xqueryinstitute.org/search" at "search.xqm";
import module namespace render = "http://xqueryinstitute.org/render" at "render.xqm";
declare variable $q {request:get-parameter('q','')};
declare variable $rows {request:get-parameter('rows',5) cast as xs:integer};
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
@ebruchez
ebruchez / sums.xhtml
Last active December 21, 2015 02:19
<xh:html
xmlns:xh="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:xxf="http://orbeon.org/oxf/xml/xforms"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xh:head>
<xf:model xxf:expose-xpath-types="true">
<xf:instance>
<data>
<a/>
@chitchcock
chitchcock / 20111011_SteveYeggeGooglePlatformRant.md
Created October 12, 2011 15:53
Stevey's Google Platforms Rant

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real

@hawkrives
hawkrives / docs.md
Created October 11, 2011 16:59
HTML <tree> element

Use Cases

  • Bookmarks Sidebar
  • Email Folders
  • Message/ToDo List
  • Groups/Trello
  • List
  • Website Navigation