Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Does anyone know of a good online API that can translate EAN/GTIN barcodes to the product name (and if possible anything extra such as category?)
I have been unable to find one that has a good success rate, below are some barcodes from items just scanned around my house (nothing rare or obscure)
Example barcodes:
5010186014550
20411336
21048753
5449000000996
5051413363249
try this: http://openean.kaufkauf.net/
here is the API link for it: http://openean.kaufkauf.net/api.php
or this: http://www.codecheck.info/
Both are in german but the language doesn't matter, EAN is EAN :).
try your barcodes there, maybe the database contains your EAN's.
This database seems even larger:
ean-search.org
They also have a REST API.
Here is a comprehensive one from Norway:
http://glnservice1.gs1.no/GS1GepirClient/GepirClient.aspx
Regards
Arnfinn
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
In C# application, I want know how work MessageBox. But I block on this method:
MS.Win32.UnsafeNativeMethods.MessageBox(HandleRef hWnd, String text, String caption, Int32 type)
My question is the same in suject title:
Where can I find some information on this method?
MS.Win32.UnsafeNativeMethods.MessageBox is just a reference to the native API function MessageBox.
It blocks because that is what it does: it is waiting for you to press a button.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Ruby 2.0 + rails 4.0
I want to show weather-feed on the public site, is there any gem which will show the weather according to the city name ?
without any registrations and charges.
Any suggestion ?
Why? write your using nokogiri and yahoo weather api!
it is quite a way try to do something myself and know more than using someone else's
For example:
require "nokogiri"
require "open-uri"
link = "http://weather.yahooapis.com/forecastrss?w=2123260&u=c" #2123260 this code of my city
data = Nokogiri::XML(open(link))
data.xpath("//item//yweather:condition")[0].to_s
#=> "<yweather:condition text=\"Cloudy\" code=\"26\" temp=\"-6\" date=\"Tue, 10 Dec 2013 3:30 pm MSK\"/>"
And more pictures available weather schedule for the week and so on. Just take it!
That's all
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I want to write bash in a comfortable environment.
I've tried http://www.vim.org/scripts/script.php?script_id=365
But it lacks:
function list
function parameter hint
function description hint
Is there any vim plugin which you use when writing shell script?
Don't forget that Vim is not an IDE (though through its great integration capabilities and plugins, it can appear like one). It is first and foremost a (very powerful) text editor. (There are various blog posts and discussions around that topic, so I spare you further arguments.)
How are function parameter hints supposed to work in Bash scripts? Arguments are simply passed as positional untyped parameters $1 etc., and must be parsed and assigned to variables inside the function.
Likewise, a function description would require some sort of commenting conventions (e.g. tags like Doxygen or Javadoc use); this is not generally used, so don't expect an existing solution.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
How can I retrieve data from OpenStreetMap (OSM) using the OSM API (http://wiki.openstreetmap.org/wiki/API) and Ruby? Is there any ruby gem available which serves my purpose? I have been searching for a good solution for my purpose but nothing served me exactly what I need.
As for example : Given the country name as input, I need to get the list of all streets of that country etc.
Any kind of link/code sample or starting point is fine. I can then explore more to find out what I need exactly. Thanks!
As the question as posed is off topic for Stack Overflow, I will answer the question of "How to find something I can use" rather than give any kind of recommendation on a tool itself.
I am not familiar with any gems for OpenStreetMap.
So I do this command from the terminal:
gem list --remote | grep street
And my terminal answers me with this:
openstreetmap (0.2.1)
And then I pull up my trusty browser, and open up ruby-toolbox.org and search for openstreetmap.
This produces a page that shows 30 results. In there, I see the mentioned gem, but also I see Rosemary which seems promising, as it is an "OpenStreetMap API client for ruby" and it was last updated only 4 months ago.
So, hopefully this helps in future searches. You have a lot of tools available to get started on your search to get to the point you are asking for in this question, so that you can get down to the business of doing what you need.
The main API you want to use is not suitable for such queries. It is mainly for editing and retrieving small amounts of map data within a small region. For larger queries better use the Overpass API which is much faster and also allows very complex query conditions if needed.
The Overpass API uses XML as input and serves either XML or JSON as output format. So it should be rather easy to use in any common scripting language.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
What is the best Windows program to print out source code (more generally, text files)? I'd like the following features:
Includes line numbers
Option of printing 2 or 4 pages on a single sheet of paper.
Header includes filename and timestamp.
Notepad++ is an excellent tool for this (and it's free!). You can print the code out both in normal text, as well as marked-up with colour as you see it on the screen!
I tried the suggested Notepad++ and Codex, but I find them too limiting.
I could not print two columns per sheet in either one of them.
I like to maximize the amount of code per sheet.
A decade ago I would use pcps to print multiple columns of source code, but that software is just too old and cumbersome in this day and age.
For now, I would suggest this, if you want multi column output: http://www.lerup.com/printfile/
UltraEdit works pretty well for all three of those.
www.ultraedit.com
I use Context for most of my non-Visual Studio development, and it does what you asked for and is free. I don't know how well it does color, but the source code colors print in a couple of varying boldnesses, which makes it pretty readable in black and white.
I just use the printer dialog to set the multi-pages per sheet option.
I'm using Codex: http://www.snapfiles.com/get/codex.html
Works pretty good, can both print and publish (export to HTML).
Crimson Editor looks great too!