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
// ----------------------------------------------------------------------- | |
// 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
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
#include <codesloop/common/test_timer.h> | |
#include <codesloop/common/logger.hh> | |
#include <codesloop/common/common.h> | |
#include <keyspace_client.h> | |
#include <assert.h> | |
#include <vector> | |
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
#!/usr/bin/ruby | |
# | |
# Foldi Tamas <tfoldi@xsi.hu>, BSDL | |
require "yaml" | |
# read configuration | |
@yxlan_dir = File.dirname($0) + "/../" | |
@conf = YAML::load_file( @yxlan_dir + 'etc/yxlon.conf' ) | |
@filename = @yxlan_dir + "log/yxlon_cron.log" |
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 PACKAGE BODY ISZMETL.etl_employee IS | |
PROCEDURE main( p_params param_list DEFAULT NULL ) IS | |
v_params obj_param := iszmk.obj_param( p_plist => p_params ); | |
v_logger obj_logger; | |
v_stmt VARCHAR2( 100 ); | |
BEGIN | |
/*** AUTOMATICALLY GENERATED PROCEDURE ***/ | |
/*** DO NOT CHANGE IT ***/ | |
v_start_date := sysdate; |
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
%YAML 1.1 | |
--- | |
VERSION: 1.0.0.1 | |
DEFINE: | |
- INPUT: | |
NAME: book | |
FILE: | |
# change seghostname and file_path to reflect your | |
# runtime file location |
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
ALTER SESSION SET plsql_compiler_flags = 'NATIVE'; | |
-- | |
ALTER TYPE geomean_impl COMPILE; | |
-- | |
CREATE FUNCTION geomean( input NUMBER ) | |
RETURN NUMBER | |
PARALLEL_ENABLE | |
AGGREGATE USING geomean_impl; |
OlderNewer