similar to: want to get original url from short(i.e tiny,bit.ly etc) url

Displaying 20 results from an estimated 4000 matches similar to: "want to get original url from short(i.e tiny,bit.ly etc) url"

2008 Apr 26
1
gem fetching error
I am trying to install some application using gem, but I keep on getting the error. I tried with ''gem clean'' and ''gem update''. The latter gives the following error (the same error is replicable when I try any ruby applications): # gem update --debug Exception `Errno::ENOENT'' at /usr/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:51 - No such file or
2009 Sep 11
2
Installing Rails problem
I have installed Ruby and Apache, but when tried to install Rails (sudo gem install rails --include-dependencies) I have got an error: INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list ERROR: While executing gem ... (URI::InvalidURIError) the scheme http does not accept registry part: :8080 (or bad hostname?)
2009 May 28
0
Cross-Domain Data with Rack and Rails -- http://bit.ly/BNw6T
A big theme from RailsConf a few weeks ago was the arrival of Rack in Rails as of version 2.3. The first topic that seemed to pique developer interest was Rails Metal -- especially the speed bump of using a lighter stack for high volume URIs. While this is a useful upgrade to Rails, the architectural shift provided by Rack brings new flexibility. Read more about the value of mounting Rack
2006 Jul 28
1
How to set environment specific config variables DRY-ly
Sorry, search is down on the forum, so I don''t know if this has been posted elsewhere. I have some config variables that I want to have set in all environments, and overridden in production. What I want to do is put this in my config/environment.rb SOME_CONFIG = 555 And then override it in config/environments/production.rb as: SOME_CONFIG = 333 Problem is, using constants I
2009 Jun 22
2
URI::InvalidURIError with open-uri and Google Maps
Hello, I''m getting an URI::InvalidURIError in my controller when I use german characters in the uri. Google accepts them but open-uri not. How to encode them? That''s my controller simplified: def index require ''open-uri'' address = "Bürgerstraße+68+01127+Dresden" api_key = "my api key" json =
2005 Aug 02
1
Can't boot Syslinux from HD directly. Can indirect ly?
Hi! > -----Original Message----- > From: Nazo [mailto:nazosan at gmail.com] > Sent: Tuesday, August 02, 2005 1:37 AM > To: syslinux at zytor.com > Subject: Re: [syslinux] Can't boot Syslinux from HD directly. > Can indirectly? > > > On 8/1/05, H. Peter Anvin <hpa at zytor.com> wrote: > > Nazo wrote: > > > I've installed Syslinux on a
2006 Mar 28
6
ATI Radeon Mobility M6 LY & IBM Thinkpad R40
Does anyone have any experience with the combination of a Thinkpad R40 and the ATI Radeon Mobility M6 LY video chip? I''ve had CentOS 4.1, 4.2, and now 4.3 running just great with 1024x768 resolution, but according the IBM specs, this chip is capable of 1280x1024. A quick lspci -v | grep ATI spewed the following: 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility
2020 Sep 22
0
New URL redirect checks
Isn't the whole concept of DOI basically link-shortening/redirecting? For example, this link https://doi.org/10.2134/agronj2016.07.0395 redirects to https://acsess.onlinelibrary.wiley.com/doi/abs/10.2134/agronj2016.07.0395 As a side note, I got so fed up with CRAN check complaints about (perfectly valid) re-directs that I refuse to use the \url{} tag anymore. Kevin On Thu, Sep 17, 2020 at
2020 Sep 17
2
New URL redirect checks
I don't have an opinion on the URL shorteners, but how about the original question? Redirection can be extremely useful in general. Shortening URLs is only one of its possible applications. FWIW, CRAN uses (303) redirect itself, e.g., https://cran.r-project.org/package=MASS is redirected to https://cran.r-project.org/web/packages/MASS/index.html Should these "canonical" CRAN links be
2020 Sep 23
1
New URL redirect checks
Me too. I have changed some valid URLs in \url{} to \verb{} just to avoid these check NOTEs. I do appreciate the check for the validity of URLs in packages, especially those dead links (404), but discouraging URLs with status code other than 200 (such as 301) feels like overdoing the job. After I "hide" links from R CMD check with \verb{} , it will be hard to know if these links are
2020 Sep 16
3
New URL redirect checks
On 16/09/2020 4:51 p.m., Simon Urbanek wrote: > I can't comment for CRAN, but generally, shorteners are considered security risk so regardless of the 301 handling I think flagging those is a good idea. Also I think it is particularly bad to use them in manuals because it hides the target so the user has no idea what hey will get. I agree, and we do have \href{}{} in Rd files and similar in
2009 Jan 28
2
open_uri failure on good uri.
I am trying to open a URI using doc = Nokogiri::HTML(open(url)). I get the following error: URI::InvalidURIError: bad URI(is not URI?): http://www.mauipropertytax.com/Datalets.asp?mnu=PSearch&submnu=Profile&pin=390350950000&tp=2&cp=1&State=1|1|*&item=1 from /usr/local/ruby/lib/ruby/1.8/uri/common.rb:436:in `split'' from
2009 Nov 10
1
problem with executing r-function from windows command prompt
Hi all, I am trying to execute one function from windows command prompt and I am trying to execute queries like source(myRfile.R) but itis throughing runtime errors can any one help me how can i run my *.R file and how can i call a function in that *.R file thanks in advance kiran. [[alternative HTML version deleted]]
2009 Mar 19
0
How to change paypal url from sandbox to papal original url. i am using paypal lib -- paypal (2.0.0)
sub :How to change paypal url from sandbox to papal original url. i am using paypal lib -- paypal (2.0.0) Hi all, I am test my application with local it working fine when i want to go for live. i need to change the pay pal form target to Paypal orginal site address. I don''t know how to chage the form target in paypal helper. i paste my code below.. plz check it. I use paypal lib
2020 Sep 16
2
New URL redirect checks
Dear all, the new CRAN URL checks flag HTTP 301 redirects. While I understand the intent, I think this is unfortunate, because several URL shortener services use 301 redirects, and often a shorter URL is actually better in a manual page than a longer one that can be several lines long in the console and also potentially truncated in the PDF manual. Some example shorteners that are flagged: >
2006 Nov 22
1
to_absolute_uri typo in 0.6.3?
I just started using Mechanize, and started using Ruby about thirty seconds before that, but one of the sites I''m scraping does a redirect on form submission to a badly-formed relative URL: index.cfm?action=bing&bang=boom=1|a=|b=|c= (etc.) Interestingly, Mechanize 0.6.2 handled this OK, but in 0.6.3 this causes a URI::InvalidURIError exception from URI.parse() in to_absolute_uri
2006 Jul 17
2
Getting the original url from a controller action method
Is there a simple way to get the original url which spawned a controller action, including any query parameters? Thanks in advance, Don Mc -- Posted via http://www.ruby-forum.com/.
2007 Apr 05
2
URL check URL validity
Hi everyone, I have a web app that at some point asks for a URL ... and i need to check that url''s validity ... is there a way to do that in RoR... - in C# i would to something along the lines of HttpWebRequest hReq = (HttpWebRequest)WebRequest.Create(url................); HttpWebResponse hRes = (HttpWebResponse)hReq.GetResponse(); rCode = hRes.get_StatusCode()...etc Any input is
2020 Sep 16
0
New URL redirect checks
I can't comment for CRAN, but generally, shorteners are considered security risk so regardless of the 301 handling I think flagging those is a good idea. Also I think it is particularly bad to use them in manuals because it hides the target so the user has no idea what hey will get. Cheers, Simon > On Sep 17, 2020, at 5:35 AM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote: >
2020 Sep 17
0
New URL redirect checks
Right, I am sorry, I did not realize the security aspect here. I guess I unconsciously treated CRAN package authors as a trusted source. Thanks for the correction and clarification, and to CRAN for implementing these checks. :) G. On Wed, Sep 16, 2020 at 10:50 PM Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > > On 16/09/2020 4:51 p.m., Simon Urbanek wrote: > > I