Posts

Showing posts from August, 2015

http - How to integrate nock-vcr-recorder-mocha with Meteor? -

i need mock http calls when testing meteor app using https://github.com/mad-eye/meteor-mocha-web i found https://github.com/poetic/nock-vcr-recorder-mocha including in app using https://github.com/meteorhacks/npm , following test code gives me error... vcr = meteor.npmrequire('nock-vcr-recorder-mocha') log "vcr!",vcr describe "interpret data", -> vcr.it "should work", -> chai.expect(-> # http call ).not.to.throw() w20150327-17:25:33.820(1)? (stderr) typeerror: cannot read property 'test' of undefined w20150327-17:25:33.821(1)? (stderr) @ getcassettename (/users/fredrikbranstrom/sites/kaus/.meteor/local/isopacks/npm-container/npm/node_modules/nock-vcr-recorder-mocha/lib/it.js:30:24) w20150327-17:25:33.821(1)? (stderr) @ /users/fredrikbranstrom/sites/kaus/.meteor/local/isopacks/npm-container/npm/node_modules/n

plsql - PL/SQL: trigger error on altering insert data -

i'm trying write trigger table of books. table, create table books ( isbn varchar(13) check (length (isbn) = 10 or length (isbn) = 13), ... primary key (isbn) ); i want write trigger when isbn of length 10 inserted, change format 13-digit 1 according following rules: last digit removed added 978 front added check bit calculated formula check_bit = (10 - (x1 + 3*x2 + x3 + 3*x4 + ... + x11 + 3*x12) mod 10) mod 10 code: create or replace trigger isbnformatchange before insert on books each row begin if (length (:new.isbn) = 10) :new.isbn := substr (:new.isbn, 1, 9); :new.isbn := concat (978, :new.isbn); :new.isbn := concat (:new.isbn, mod ((10 - mod ((to_number (substr (:new.isbn, 1, 1)) + 3 * to_number (substr (:new.isbn, 2, 1)) + to_number (substr (:new.isbn, 3, 1)) + 3 * to_number (substr (:new.isbn, 4, 1)) + to_number (substr (:new.isbn, 5, 1)) + 3 * to_number (substr (:new.isbn, 6, 1)) + to_number (substr (:new.isbn, 7, 1)) + 3 * to_n

c# - Automapper , Linq and Localizaton -

recently have been playing automapper tool populate our dtos . cool thing automapper project().to() let map queryable can select fields want according our map. but here have scenario too.we want able translate of values of entity other representation. suppose have string field value in db 'apparatment' , want translate language while selecting our dtos . i think if want write in sql : select case buidlingtype when 'appartment' 'apparatment in langaure' when 'flat' 'flat in languate' end buildingtype buildings i know can define value resolvers in automapper. question ask ,can use these resolvers in project().to() scenario ? if answer yes how should use them (to return expression instead of value) , if not , there other alternative approach able translate dto on fly ? no can't use resolvers in linq projections. i guess i'm little confused - translations little difficult in sql have. translations stored in databa

java - Which method is looked first by Compiler , Static or instance method when ClassName.staticMethod() is used? -

this question has answer here: which method looked first compiler , static or instance method when classname.method() used? 4 answers i want proper understanding why below compilation error? per understanding if use test.xyz() compiler static method not instance method why below compilation fail? class test { public static void main(string arg[]) { test.xyz(10); // compilation fail } public void xyz(int i) { } public static void xyz(integer i) { } } every 1 please suggest why compilation fail rather other suggestions , how use , i know basic thing autoboxing etc . this question asked me which method looked first compiler , static or instance method when classname.method() used? in question of people go in wrong direction due mistake in question moved question new question. you wrong in assumption: compiler

php - How to add properly one-to-many relationship in Doctrine 2? -

i have 2 files(tables) in entity, , want join like table comment table.i used 1 many can connect comment.id like.comment_id , can comments likes 1 selection.when doing , dumping $comment->getlikes() i'm getting object of type object(doctrine\orm\persistentcollection) when try $comment->getlikes()->first() getting undefined index:commentid so cant likes database, doing wrong?and if possible explain why working such way? here comment entity. <?php namespace app\entity; use app\entity; use doctrine\orm\mapping; /** * @entity * @table(name="comments") */ class comment extends entity { /** * * /** * @column(type="string", length=255) * @var string */ protected $url; /** * @column(type="string", length=255) * @var string */ protected $description; /** * @column(name="userid", type="integer") * @var int */ protect

android - Navigation Drawer not occure on Status Bar -

actually trying navigation drawer want on status bar not below put kind of code make transparent still don't work xml layout like <android.support.v4.widget.drawerlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:fitssystemwindows="true" android:elevation="7dp"> <linearlayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <android.support.v7.widget.toolbar xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/tool_bar" android:layout_width="match_parent" android

ruby - rails rbenv: rails: command not found -

i have moved rvm rbenv , when attempting execute rails getting error 1 below pauls-air:~ $ rails rbenv: rails: command not found `rails' command exists in these ruby versions: 2.1.2 after installing gem via command line in ruby version have execute rbenv rehash described in docs here , here for example: $ rbenv install 2.2.0 $ gem install bundler $ rbenv rehash $ gem install rails $ rbenv rehash

sql - Insert a text in SSMS using a shortcut key -

it’s mandatory in our project add with (nolock) in every select statement. can please me have shortcut key paste/type code fragment in ssms? in ssms, own short keys , menus can configured: https://msdn.microsoft.com/en-us/library/ms174178.aspx so keyboard accelerator dialog box might start at. here more hints: is there way bind ssms 2012 keyboard shortcuts procedure in way can pass qualified object name?

node.js - OAuth2 server: invalid or missing grant_type parameter -

Image
i have nodejs-based oauth2 server (using oauth2-server module) started in lan. want test postman rest client i'm getting error response: { "code": 400, "error": "invalid_request", "error_description": "invalid or missing grant_type parameter" } this request configuration: i have tried send parameters url error: method must post application/x-www-form-urlencoded encoding . thanks. using postman send value query parameter 'oauth2-server' checks value body parameter using 'req.body'.so try send value body parameter or change req.body req.query inside node_modules/oauth2-server/lib/grant.js

html - Divs get messed up when on lower resolution -

Image
i have added 2 screenshots below, understand problem , i'd achieve. i have layout: now if @ page on lower resolution, try rearange divs on left , right, ending them overlapping middle div. i'd set page scroll horizontally when on lower resolution doesn't happen. i've tried setting positioning fixed , messing around it, takes no effect or worse effect. my html: <div id="middle"> <div id="next_event"> <p class="no"><h4><u>next event: 13.04</u></h4></p> <p class="no" style="font-size: 18px; text-align:left;"><span style="color: #0565a8;">thema:</span> sozialwissen <br><span style="color: #0565a8;">&nbsplocation:</span> waehringer-strasse 38, wien <br><span style="color: #0565a8;">&nbspeintritt:</span> freier eintritt <br&g

sql - Undefined Column | Laravel Eloquent Reverse Like -

i want rows have column part of string (not inverse) i did query, select * table 'string' concat('%', column, '%') the query works correctly when running directly on server via sql querying tool. however, i'm using eloquent orm, tried following : $results = model::where('my_string','like',"concat('%',column, '%')")->get(); it throws error : sqlstate[42703]: undefined column: 7 error: column "my_string" not exist line 1: please note i'm not looking : select * table column '%string%' from comment above. if got working sql statement. can use raw expressions model::whereraw("'string' concat('%', column, '%')"); for more information, http://laravel.com/docs/5.0/queries in raw expressions section

Store seperate sets of users in two tables or single table using ASP.NET MVC5 Identity framework? -

i building saas application using asp.net mvc 5, need store 2 different types of users have different field information stored each. there subscibers , general users, every general user belong subscriber. so, every user have parent subscriber. should have single aspnetusers table store users (subscriber / general users) custom columns stored each within same table? believe there has better practice achieve this. since saas application storing user information across multiple entities in single database, kind of database design should go for? for reference, here database design have moment - id [primary key of user] email password sub_name [subscriber name. populated if user subscriber] sub_address [subscriber address, populated if user subscriber] status [stores if user active] parent_id [id of parent. populated if user general user] apart above, registering role of every user (subscriber/general user) please advise. thank help. you should use single table , c

java - How to add library's in android studio 1.1.0 -

Image
this question has answer here: android studio: add jar library? 33 answers i have not updated 1 of apps in while , decided start new project, use put library in "libs" file in app folder. in new android studio version don't no put library, can me? new file structure. apologize if stupid question. this old way had library's. ignore red haha. change file strucure android =====>> project in android studio on click on android icon on top of first pic select project structure there libs folder

excel - if statement inside formular1c1 and error 1004 -

i'm trying automatically fill range formular1c1 , = if() recorded before, keep getting 1004 error. have loop running several time in particular sub, , works every other formula, = if() doesn't work... the line rcell1.formular1c1 = "=if(rc[-1]>0;rc[-1];0)" is highlighted. set subgain = range(cells(i - period - 1, 16), cells(i + j, 16)) subgain each rcell1 in subgain rcell1.formular1c1 = "=if(rc[-1]>0;rc[-1];0)" next rcell1 end any idea pliz? there's syntax error in formula, you're using ; delimiter should instead , . replace this: rcell1.formular1c1 = "=if(rc[-1]>0;rc[-1];0) with this: rcell1.formular1c1 = "=if(rc[-1]>0,rc[-1],0)" and should work fine.

c# - Update Image source in data template long list selector WP8 -

Image
my problem : in long list selector, when list items loaded , click on edit button activate/inactive items when active / d-activate top items on scrolling down long list selector some- middle items automatically got selected. please suggest me rid of issue: mainpage.xaml <phone:phoneapplicationpage x:class="longlistselector.mainpage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:phone="clr-namespace:microsoft.phone.controls;assembly=microsoft.phone" xmlns:shell="clr-namespace:microsoft.phone.shell;assembly=microsoft.phone" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:ignorable="d" fontfamily="{staticresource phonefontfamilynormal}" fontsize="{staticresource phonefon

python-twain library in duplex mode get separate image from each side -

i trying scan using python-twain library in duplex mode , 2 images 1 each side. import twain sm = twain.sourcemanager(0) ss = sm.opensource('plustek mobileoffice d600') ss.setcapability( twain.cap_duplexenabled, twain.twty_bool, true ) ss.requestacquire(0,0) rv = ss.xferimagenatively() if rv: (handle, count) = rv twain.dibtobmfile(handle, 'image.bmp') the code 1 image library documentation provided @ http://twainmodule.sourceforge.net/ , don't see how take independently images it. know possible because in demo close source library clscan( http://www.commandlinescanning.com ). any suggestions welcome. i found sample code twainbackend.py on github. can use loop save available images: import twain index = 0; def next(ss): try: print ss.getimageinfo() return true except: return false def capture(ss): global index rv = ss.xferimagenatively() filename = str(index) + '_image.bmp'; i

php - Upload text file using wininet in c++ -

i'm going upload text.txt file using wininet. here code. #include "stdafx.h" #include "iostream" #include "windows.h" #include "wininet.h" #include "tchar.h" #include "iostream" #include "string" #include "sstream" #pragma comment(lib, "ws2_32.lib") #pragma comment(lib, "wininet.lib") int main(){ tchar hdrs[] = _t("content-type: multipart/form-data; boundary=---------------------------7d82751e2bc0858"); tchar frmdata[] = _t("-----------------------------7d82751e2bc0858\r\ncontent-disposition: form-data; name=\"uploadedfile\"; filename=\"c:\\users\ahmer\desktop\asd\test.txt\"\r\ncontent-type: text/plain\r\n\r\nfile contents here\r\n-----------------------------7d82751e2bc0858--\r\n"); lpctstr accept[] = {_t("*/*"), null}; hinternet hsession = internetopen(_t("myagent"), internet_open_type_preconfig, null

Google App Engine, PHP: reads javascript, images and css as Text files -

i deployed php application on google app engine, tried different configurations of app.yaml file , still can't static files recognized. here code: application: double-goal-88313 version: 1 runtime: php api_version: 1 handlers: - url: /maps/stylesheet static_dir: maps/stylesheet mime_type: 'text/css' - url: /logodoc.png static_dir: maps/images/logodoc.png application_readable: true - url: /maps/js static_dir: maps/js mime_type: 'application/javascript' - url: /finddoctor/.* script: maps/index.php thank you! looking @ comments in above post need like handlers: - url: /maps/stylesheet static_dir: maps/stylesheet - url: /logodoc.png static_files: maps/images/logodoc.png upload: maps/images/logodoc.png application_readable: true - url: /maps/js/(.*) script: maps/js/\1 - url: /finddoctor/(.*\.(htm|html|css|js))$ static_files: maps/\1 upload: maps/.*\.(htm|html|css|js)$ - url: /finddoctor/.* script: maps/index.php

java - String converting to Char and then to Int -

i'm writing palindrome function school take string argument , remove punctuation. purpose of class, have use substring() method. my code takes substring of each character in string argument , converts char, , int. then, checks if integer within ascii numbers a-z or a-z , if is, substring appended blank string (s2). my main issue when try compile program, error saying substring can't converted char. ideas on why? public palindrome(string s) { for(int = 0; < s.length(); i++) { // checks if character uppercase letter if((int) character.valueof(s.substring(i, + 1)) >= 65) if((int) character.valueof(s.substring(i, + 1)) <= 90) s2 += s.substring(i, i+1); // checks if character lowercase letter if((int) character.valueof(s.substring(i, + 1)) >= 97) if((int) character.valueof(s.substring(i, + 1)

java - Is there a way to dynamically change which attribute the toString method displays for custom classes? -

i'm creating jlist in java gui program filled custom "steamfriends" class via arraylist called friendslist: friendslistjlist.setmodel(new javax.swing.abstractlistmodel() { steamfriend[] friendlistarr = friendslist.toarray(new steamfriend [0]); public int getsize() { return friendlistarr.length; } public steamfriend getelementat(int i) { return friendlistarr[i]; } }); right tostring() function returns friendname of steamfriend object, i'm wondering if it's possible change can control attribute returns , best practice be. if want fill jlist list of steamfriends sorted age (for example), how change tostring() method display age? through static variable (public static int variabletodisplay) in steamfriend object, perhaps? it's better not use tostring() display data user, rather best used debugging tool. jlists, recommend instead use custom cell renderer, 1 have written display information wish. e.g. 1 i've used in program, c

python - Trouble killing celery process -

i have django project on ubuntu ec2 node, have been using set asynchronous using celery . i following http://michal.karzynski.pl/blog/2014/05/18/setting-up-an-asynchronous-task-queue-for-django-using-celery-redis/ along docs. i've been able basic task working @ command line, using: (env1)ubuntu@ip-172-31-22-65:~/projects/tp$ celery --app=myproject.celery:app worker --loglevel=info to start worker. have since made changes python, realized need restart worker. following how stop celery worker process , i've tried: (env1)ubuntu@ip-172-31-22-65:~/projects/tp$ ps aux|grep 'celery worker' ubuntu 2033 0.0 0.0 10460 940 pts/11 s+ 15:31 0:00 grep --color=auto celery worker (env1)ubuntu@ip-172-31-22-65:~/projects/tp$ sudo kill -9 2033 (env1)ubuntu@ip-172-31-22-65:~/projects/tp$ ps aux|grep 'celery worker' ubuntu 2085 0.0 0.0 10460 940 pts/11 s+ 15:32 0:00 grep --color=auto celery worker (env1)ubuntu@ip-172-31-22-65:~/projects

New Branch from Repo but Change the Submodules -

i have git repo contains 2 submodules. want create new branch of main app , have submodules point different "branch." quote branch understand submodules don't point branches, rather commit. don't want branch option don't want latest commit subs. can't find in documentation. 3 you create new branch in main parent repo , then: go in each submodules checkout each right branch want go in parent repo , add , commit: record gitlink ( special entry in index ) of 2 submodules new sha1. since have not configured the submodules follow branch , stay @ sha1 checked out each of them.

javascript - Angular value binding sent to ng-click function instead of value -

Image
i have link handler in html: <div class="menu-item" ng-repeat="pagename in pages"> <a ng-click="routing.open('{{pagename}}')">{{pagename}}</a> </div> it triggers ' open ' function in self-made angular-ui routing factory / helper , sends ' pagename ' param. open method checks if there's handler or state loading view. var availablestates = $state.get(); if (!pages[name] || availablestates.indexof(name) === -1) { alert("state or loader state: '{0}' not exist!".format(name)); return; } when clicked alert shows message: but when in web console, value has been set properly. i use this, causes behaviour , how 1 fix this? you should not use {{ }} inside ng expressions. replace ng-click="routing.open('{{pagename}}')"> with ng-click="routing.open(pagename)"> the reason should consider specialized "n

time series - What is the use of as.numeric() in R? -

Image
this ex.1 on page 252 in statistics , data analysis financial engineering ruppert: this problem , next use crsp daily returns. first, data , plot acf in 2 ways: library(ecdat) data(crspday) crsp=crspday[,7] acf(crsp) acf(as.numeric(crsp)) explain “lag” means in 2 acf plots. why lag differ between plots? i have run code , got 2 acf plots: it seems x-axis tags of these plots different. why that? whst use of as.numeric in case? much! @jeremy miles correct. there many breeds of data. simple ones integers, binary (t/f) variables, character arrays, , double-precision numbers. r has entire zoos (pun intended) of other breeds , forms of data. 1 of them "time series". you can verify "crsp" time series object using class function: class(crsp) if want determine methods apply class, use "methods" function: > methods(class=class(crsp)) [1] [.ts* [<-.ts* aggregate.ts as.data.frame.ts [5]

facebook - Unable to generate key hashes for my android application -

i trying generate development key application using link: https://developers.facebook.com/quickstarts/1561810364100201/?platform=android i have installed open-ssl 0.9.8[x64] on system, performed restart said still following error on dos-prompt: openssl not recognized internal or external command, operable program or batch file. " i must tell command giving : keytool -exportcert -alias androiddebugkey -keystore %homepath%\.android\debug.keystore | openssl sha1 -binary | openssl base64 my openssl installed in : c:\openssl\bin\openssl.exe my system configuration: os - win 8.1[x64] i tried no of links given here on stack-overflow none seemed work me. please guide me doing wrong. response awaited. thanks. you can try following: keytool -exportcert -alias androiddebugkey -keystore "%homepath%\.android\debug.keystore" | "c:\openssl\bin\openssl" sha1 -binary | "c:\openssl\bin\openssl" base64

pseudocode - LZW-decompressor algorithm -

i'm having hard time understand lzw algorithm. i'm examining pseudocode supplied on wikipedia ( http://en.wikipedia.org/w/index.php?title=lempel-ziv-welch&oldid=245292660 ) , there's 1 part in decompressor code don't understand: else if (k == currsizedict) entry = w + w[0]; can explain me scenario happen? this problem explained here: https://www.cs.duke.edu/csed/curious/compression/lzw.html . basic idea since lzw requires compressed string , dictionary containing elements of alphabet (rather dictionary containing encoded patterns), it's necessary reconstruct encodings of more complex patterns on fly while decoding. results in situation it's possible run encodings aren't in dictionary. interestingly enough, link above points out, can happen when encoded string begins , ends same character.

css - Rails app - Referencing images within a stylesheet -

so i'm working on new rails app, , within 1 of stylesheets have pg-parlex class specifies background-image link: .bg-parlex { padding-top: 0px; background-image: url('assets/banner-bg.gif'); /* << url link! */ background-size: cover; background-repeat: no-repeat; background-attachment: fixed; } could explain how link assets/images folder items within...i sure assets/item1.png or assets/item2.png , perhaps link inside stylesheet maybe wrong...? you can use: background-image: image-url("rails.png") #=> background-image: url(/assets/rails.png) if using sass-rails gem: background-image: asset-url("rails.png", image) #=> background-image: url(/assets/rails.png) so, code be: .bg-parlex { ... background-image: asset-url("banner-bg.gif", image); ... }

How can I restore this XML abiword document to a readible editable .doc (or otherwise)? -

i have started using abiword on ubuntu desktop. libreoffice caused 1 of word processing documents crash. have never had issue microsoft word use ubuntu. decided switch abiword. have been saving word processing documents via abiword in .doc format. however, when came open file, xml code being spit out. first opened microsoft word. thought maybe issue, switched abiword in ubuntu. worked.....for day. work in xml code. the document begins xml , looks this: <?xml version="1.0" encoding="utf-8"?> <!doctype abiword public "-//abisource//dtd awml 1.0 strict//en" "http://www.abisource.com/awml.dtd"> <abiword template="false" xmlns:ct="http://www.abisource.com/changetracking.dtd" xmlns:fo="http://www.w3.org/1999/xsl/format" xmlns:math="http://www.w3.org/1998/math/mathml" xid-max="46" xmlns:dc="http://purl.org/dc/elements/1.1/" fileformat="1.1" xmlns:svg="http:

checkbox - Javascript position of onchange assignment -

i have checkbox , text input. want text input enabled if checkbox checked. found answer problem here , following code did not work: <!doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/tr/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>title</title> <script type="text/javascript"> document.getelementbyid('yourbox').onchange = function() { document.getelementbyid('yourtext').disabled = !this.checked; }; </script> </head> <body> <input type="text" id="yourtext" disabled /> <input type="checkbox" id="yourbox" /> </body> </html> however, noticed code works if move < script > environment below < input > boxes that <!d

stability - what's an example of a physical system that is not robustly stable? -

i'm having problems figuring out system it's stable values of physical properties unstable others. even basic example lot, dimension 2 totally fine. i not have problems figuring out mathematically robust stability means, can't find physical example. actually i'm looking more system has finite robust stability margin. outside references too, in advance. it depends meant "stable". pot of water @ room temperature "stable" in water in liquid form. if boil water, becomes "unstable" because water in flux between liquid , gaseous form. physical property in flux temperature. keep temperature constant , vary air pressure if system. drop air pressure low enough , water begins boil. a stable property of same system salinity. doesn't mater how salt add, it's not going change water gaseous form. again, depends on mean "stable".

c# - How to deal with exception in Windows Phone? -

i have async method in windows phone 8.1, need download file web. of course if there no internet connection, can't do. how can face problem. method one: public async task<string> getjson(uri url) { if (networkinterface.getisnetworkavailable()) { httpclient client = new httpclient(); string jsonstring = await client.getstringasync(url); return jsonstring; } else { await new messagedialog("no internet connection avaliable. please check !").showasync(); return ""; } } should add check of internet connection, before calling getjson(uri url); method ? in case have re-write lines of code in each method, require getjson(uri url); , prefer not this. update the code wrote doesn't work, because application crashes in case there no internet connection. solution, don't this: private async void change(object sender, routedeventargs e

python - Replace values of a numpy array by values from another numpy array -

i have 1000 * 1000 numpy array 1 million values created follows : >>import numpy np >>data = np.loadtxt('space_data.txt') >> print (data) >>[[ 13. 15. 15. ..., 15. 15. 16.] [ 14. 13. 14. ..., 13. 15. 16.] [ 16. 13. 13. ..., 13. 15. 17.] ..., [ 14. 15. 14. ..., 14. 14. 13.] [ 15. 15. 16. ..., 16. 15. 14.] [ 14. 13. 16. ..., 16. 16. 16.]] i have numpy array which has 2 columns follows: >> print(key) >>[[ 10., s], [ 11., s], [ 12., s], [ 13., m], [ 14., l], [ 15., s], [ 16., s], ..., [ 92., xl], [ 93., m], [ 94., xl], [ 95., s]] what want replace each element of of data array corresponding element in second column of key array this.. >> print(data) >>[[ m s s ..., s s s] [ l m l ..., m s s] [ s m m ..., m s xl] ..., [ l s l ..., l l m] [ s s s ..., s s l] [ l m s .

Google Analytics Embed API demo not showing at all -

i replicating google analytics embed api demos, can find here . far, have been able replicate basic dashboard, multiple date ranges, multiple views , interactive charts using clientid 1 giving me trouble third party visualizations , following steps according posted. way step 3 using full path " https://ga-dev-tools.appspot.com/public/ ..." once log in google account, embed-api-auth-container not charts. using following code: (apologies, new stackoverflow) <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>thirtd party visualizations</title> <link rel="stylesheet" href="https://ga-dev-tools.appspot.com/public/css/main.css" /> <script> (function(w,d,s,