Dynamic URL and Sheet using =Importange - arrays

I'm trying to make a =ImportRange with a dynamic URL and Sheet, but I'm doing something wrong.
https://i.stack.imgur.com/QQRDK.png
I've also tryed with ""=Q24"A3:A3") where Q24 = August-September !, but that also give an error.
I want to do the same thing with the URL, but I also get an error when I try to do that.
Is it possible and if, which command do i need to use.
I hope someone could help me.
Br
Anders

use:
=IMPORTRANGE("1HeGmCh3fFgHAfJSIsCIFkFi48PWpXR0iZdBcv4HhSWw"; Q24&"!A3")

Related

How can I fix Xpath in Importjson function?

I want to get list algo from JSON response. In google sheet I am using this command:
IMPORTJSON("http://miningpoolhub.com/index.php?page=api&action=getminingandprofitsstatistics", "return/algo")
But I got the message "Nod not available" I think I have done something wrong with the Xpath command. How can I fix it?
How about this? I thought that / is required to be added to the top of path.
=IMPORTJSON("http://miningpoolhub.com/index.php?page=api&action=getminingandprofitsstatistics", "/return/algo")
If this was not useful for you, I'm sorry.

Can we use gauge/gage in Ionic ? (Cordova)

This is my first post here, so I'm sorry if I'm not in the good section.
My "simple" question is, can we add a gage/gauge (I don't now the exact english spelling), in a Ionic project ?
A thing like that:
https://www.youtube.com/watch?v=w2qrYL0Le24
Or an other exemple:
http://crisbeto.github.io/angular-svg-round-progressbar/
I already tried to insert gauge like that in my project but the gauge never appears, so please, can you help me ?
(The goal is to show to an user a speed for exemple or the batterie life of his smartphone, any importance, juste a jauge who can be incremented or decremented)
Can you explain me please how it works, for example via a Codepen or anything else. I had already tried to search response but I solve anything on that.
I'm french and I am sorry for my language, but thanks in advance for you'r help !
Thanks.
I was able to get this to work:
https://github.com/frapontillo/angular-gage
You must also have the JustGage library and Raphael. Take a look at the example to see it in action. I was able to even make it work in the http://creator.ionic.io app by adding the scripts of angular-gage, JustGage and Raphael (just add a js and paste in the scripts).

How to get more info about a specific attribute?

I guess this is a stupid question, so I apologize in advance but I couldn't find the answer anywhere and I guess I didn't even really know how to search for an answer.
How do I find out more about an attribute (not even sure if that's the right word)? For example, if I do:
listAttr bifrostShape1
then I get a long list of ... attributes? .. one of them is called "particleChannel". I want to know more about "particleChannel" so I tried:
listAttr "bifrostShape1.particleChannel"
got nothing basically - returned: "particleChannel" , so I tried:
getAttr "bifrostShape1.particleChannel"
and I got result: "position"...
this is actually what I think I'm looking for and I want to know more about this, what is this "position"?
searching for "particleChannel" in the reference and online gave me nothing, and trying "listAttr and getAttr of "bifrostShape1.particleChannel.position" gave me an error..
What I'm actually trying to achieve is to get attributes of the particles in a bifrost liquid... but my question is actually: How do I find out more about something when I stumble over it like this? What is the way to find out more about a command or attribute?
This is my favorite way to learn so I really hope that there's a good way to do it in maya.
See this: attributeQuery
You can do a lot of queries about an attribute, see docs in the link.

Redirect given a certain url

I'm writing a url shortener, I already solve url shortening. Given a certain long URL (LURL), I get a CODE with the help of a script and a database to form a short URL (SURL) of the type:
mysite.com/CODE
So the ralationship between the code and the LURL is stored and must be consulted in the DB. Now as you can see I need a way to do that. My plan is that all the all url in mysite.com direct to the same page where the CODE is taken as a parameter and in this way make a consult in the db fetching the code from the SURL and then redirect with a script to the LURL.
I dont want to generate a SURL that uses a GET request like:
mysite.com/?CODE
It would be easier but I decided not to do it because it defeats the propose of url shorteners by occupying a character unnecessarily.
How would you implement it? Is this method convenient? If you do not think so I would really appreciate you give me your opinion. Maybe there are better ways to do it now that I already have the DB and the shortening algorithm. See you later.
http://www.webcheatsheet.com/PHP/get_current_page_url.php
check out the curPageURL() function.
$pageURL = curPageURL();
$itemArray= explode("/", $pageURL);
$myCode = $itemArray[1];
something like that will do, but not tested. It just gives you an idea of what you can do.
also, to get the url, here is an simplified version: http://phpeasystep.com/phptu/27.html

Ampersand in URL

i'm developing cakephp application.
i need some specific characters in url, like & (ampersand), because i need it for search purpose.
but, if i have ampersand in my url (like http://localhost/myapp/publications/index/string:Mono%20Manana/tags:publisher), it is rewrited and redirected as default url (in this case http://localhost/myapp/).
can you help me how to solve this and to use all kind of strings in my application.
thank you in advance!
ok, just to mention that i did find solution, not with urlencode, but using base64_encode. hopefully it will do the job...
Did you use urlencode()?
Some of your source code would really help us to see what's going on.

Resources