Skip to content

Instantly share code, notes, and snippets.

View gbechtold's full-sized avatar

Guntram Bechtold gbechtold

View GitHub Profile
From f2b317acc4c635556871f76d40c17d65e5533706 Mon Sep 17 00:00:00 2001
From: Guntram Bechtold <[email protected]>
Date: Thu, 18 Sep 2014 22:17:01 +0200
Subject: [PATCH] added google analytics and udc analytics
---
app/index.html | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/app/index.html b/app/index.html
diff --git a/app/index.html b/app/index.html
index 09c05ae..900e8fc 100644
--- a/app/index.html
+++ b/app/index.html
@@ -92,16 +92,7 @@
</div>
<!-- Begin Analytics-->
-<!-- Google Analytics Start -->
-<script>
function IsPrime(int) {
for(i=2;i<int;i++) {
var rest;
var result;
rest = int%i;
//No Prime
console.log(rest);
<script type="text/javascript">
function HideFrame() {
var hideFrame = document.getElementById ("expandedCube");
hideFrame.style.display="none";
}
function HideClose() {
var hideClose = document.getElementById ("expandClose");
hideClose.style.display="none";
<!DOCTYPE html>
<!-- 1. First: you got to register your app -->
<html ng-app="MicroApp">
<head>
<!-- 2. First: Load angular -->
"a00df46cc939f987273717d6190ba527"
$ curl -X POST -H "X-ACCESS-TOKEN: a00df46cc939f987273717d6190ba527" -H "Content-Type: multipart/form-data" -F "[email protected]" -F "title=My document title" "http://api.yumpu.com/2.0/document/file.json"
{"file":{"client_name":"filename.pdf","server_name":"6b1cdda8fadc7d0e805134edcbd81c1956fa92a7354de0.17868199.pdf","size":"1.1 MB","mime_type":"application\/pdf","sha1_checksum":"f3b0fbaf2712764f8f9702a7805512d74718b09d","md5_checksum":"10db30937821314ed78c0d6e0300678d"},"document":{"title":"My document title"},"progress_id":"0cfa9-4802f-40cf3-8927b-450f4-8946f-1af66-34ca7","state":"success","completed_in":"0.1149"}
$ curl -X POST -H "X-ACCESS-TOKEN: a00df46cc939f987273717d6190ba527" -d "name=MyAccessGroup" -d "description=MyAccessGroup" -d "default=y" -d "iap=y" -d "kiosks=webkiosk_1058" "http://api.yumpu.com/2.0/account/access_tag.json"
{"access_tag":{"id":"GBcgeqiWp4F3Rskn","create_date":"2016-03-29 17:17:38","update_date":"0000-00-00 00:00:00","name":"MyAccessGroup","description":"MyAccessGroup","default":true,"iap":true,"kiosks":[{"id":"1058","type":"webkiosk"}]},"state":"success","status_code":200,"completed_in":"0.0332"}