This Gist is there to help you creating a Sankey Diagram from your Google Spreadsheets.
Changes:
- update usage instruction for new Apps Script IDE
- does not need document Id (@steren)
- supports named sheet (not default, see customization in
code.gs)
This Gist is there to help you creating a Sankey Diagram from your Google Spreadsheets.
Changes:
code.gs)| (function (context, trackingId, options) { | |
| const history = context.history; | |
| const doc = document; | |
| const nav = navigator || {}; | |
| const storage = localStorage; | |
| const encode = encodeURIComponent; | |
| const pushState = history.pushState; | |
| const typeException = 'exception'; | |
| const generateId = () => Math.random().toString(36); | |
| const getId = () => { |
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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> | |
| <script url="http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.js" ></script> | |
| <script src="http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js"></script> | |
| <script type="text/javascript"> |
| package helpers; | |
| public class RenderSitemap extends RenderSitemapXml { | |
| public RenderSitemap(List<User> users) { | |
| super(getDocument(users)); | |
| } | |
| private static Document getDocument(List<User> users) { | |
| Document doc = createSiteMapDocument(); |
| /* | |
| * ATTENTION: | |
| * | |
| * This layout is now maintained in the `iosched' code.google.com project: | |
| * | |
| * http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/ui/widget/DashboardLayout.java | |
| * | |
| */ | |
| /* |
| // includes bindings for fetching/fetched | |
| var PaginatedCollection = Backbone.Collection.extend({ | |
| initialize: function() { | |
| _.bindAll(this, 'parse', 'url', 'pageInfo', 'nextPage', 'previousPage'); | |
| typeof(options) != 'undefined' || (options = {}); | |
| this.page = 1; | |
| typeof(this.perPage) != 'undefined' || (this.perPage = 10); | |
| }, | |
| fetch: function(options) { |
| /* Copyright (c) 2011 Aza Raskin | |
| | | |
| | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | |
| | documentation files (the "Software"), to deal in the Software without restriction, including | |
| | without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| | copies of the Software, and to permit persons to whom the Software is furnished to do so, subject | |
| | to the following conditions: | |
| | | |
| | The above copyright notice and this permission notice shall be included in all copies or substantial portions | |
| | of the Software. |