$ cat signin.xml
<tsRequest>
<credentials name="yoyo" password="fofo" >
<site contentUrl="" />
</credentials>
</tsRequest>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns tabsync.tableau | |
(:require [clj-http.client :as client] | |
[clojure.zip :refer [xml-zip]] | |
[clojure.data.zip.xml :refer [xml-> xml1-> attr ]] | |
[clojure.data.xml :as xml]) | |
) | |
(defn tableau-url-for | |
"Constructs server API url. Target can be hostname or session returned from logon-to-server" | |
[target api-path] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION from_url( | |
-- The URL to download. | |
IN url text, | |
-- The maximum number of bytes to download. | |
-- If 0 then the whole response is returned. | |
IN max_bytes integer DEFAULT 0, | |
-- Should any errors (like HTTP transport errors) | |
-- throw an exception or simply return default_response | |
IN should_throw boolean DEFAULT true, | |
-- The default response if any errors are found. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CoffeeScript version of Google Spreadsheet Driver for Tableau Data Web Connector | |
init = -> | |
if !tableau | |
alert 'init- tableau NOT defined!' | |
return | |
tableau.scriptVersion = '1.0' | |
tableau.log 'init' | |
tableau.initCallback() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------------------------------------------------------------- | |
// The information in this file is the property of Tableau Software and | |
// is confidential. | |
// | |
// Copyright (C) 2012 Tableau Software. | |
// Patents Pending. | |
// ----------------------------------------------------------------------- | |
// externalapi/samples/com/tableausoftware/demos/MakeOrder.java | |
// ----------------------------------------------------------------------- | |
package com.tableausoftware.demos; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
*/ | |
package tableauSrvrWebservice.Auth; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.StringReader; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.StringReader; | |
import java.math.BigInteger; | |
import java.security.InvalidKeyException; | |
import java.security.KeyFactory; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.PublicKey; | |
import java.security.spec.InvalidKeySpecException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
var jade = require("jade/runtime"); | |
module.exports = function template(locals) { | |
var jade_debug = [ new jade.DebugItem( 1, "/home/t/git/tableau-server-password-validator/coffee/tableau-server-password-validator/messages.jade" ) ]; | |
try { | |
var buf = []; | |
var jade_mixins = {}; | |
var jade_interp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * | |
from datasources | |
inner join data_connections on (data_connections.name = datasources.name) | |
inner join workbooks on (data_connections.owner_id = workbooks.id) | |
where data_connections.dbclass = 'sqlproxy'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
features.APIBasedEmbedCode: false | |
features.AQLDataPipeline2: false | |
features.AddSupportUser: false | |
features.AlertOnThresholdCondition: false | |
features.AlphabeticalSchemaSort: false | |
features.AlternativeFedEngine: false | |
features.AnalyticsObjectsEditors: false | |
features.AsyncJsModuleLoad: false | |
features.AutomaticDrill: false | |
features.Autosave: false |