What is the correct mimetype for .tex-files? - mime-types

My webservice generates and returns a .tex-file. I want to give the correct mimetype in the http-header.
I didn't found so much except for here, where I find application/x-tex. Is this an authority to stick to?

For those who came here... i ended up with
"application/x-tex"

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.

gmaps geometa.js not found?

I'm using a plugin which calls http://gmaps-samples-v3.googlecode.com/svn/trunk/geolocate/geometa.js for displaying map with pins on the homepage. However, this link is not found (404). I've searched for the solution too see what to do, but with no luck.
Is there a new version of this javascript available that I could replace this link with the new one? Not sure how else to put it and hope it makes sense.
Not Certain but I think this is the file.
http://pastebin.com/D22BSvb8
EDIT: Think this is the most upto date version: http://pastebin.com/GHpyPTQE

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.

How to name URI part without parameters?

What is an appropriate name for the URI part which is before the parameters part, I mean the full bolded part in the following example?
foo://username:password#example.com:8042/over/there/index.dtb?type=animal&name=narwhal#nose
I have a column in my database which contains such a part and I got stucked while finding correct name for this.
That is the authority and the path.
There is no name for that part as a whole.
Shouldn't that be?
http://username:password#example.com:8042/over/there/index.dtb?type=animal&name=narwhal#nose
or https:// if you're using secured url

Can I digitalize a dictionary?

I've found a public domain latin<->portuguese dictionary in PDF which I'd like to convert to plain text, parse and use as the database of a program. After some testing, however, I got a little skeptical. Take a look at the original file and at the resulting text of gocr. Is there any hope that I might reach 99%+ accuracy in some method? I thought of reCaptcha's database, but I guess it is Google's property, isn't it?
Thanks!
Another route is to use one of the freely available dictionary files, like http://www.brothersoft.com/downloads/dictionary-database.html
Or WordNet.
EDIT: I've just spotted that this is a Latin/Portuguese dictionary, so WordNet clearly is no good.

Resources