search for: myurl

Displaying 20 results from an estimated 42 matches for "myurl".

2016 Jun 13
2
PJSIP does not qualify contacts after starting Asterisk
Hi all, (sending this again from the correct address) I'm running Asterisk 13.8.0 (I need to check if that happens with 13.9.1 too when I have the time to build it) with PJSIP realtime config. I've defined several aors in the table ps_aors, like this (real url replaced by myurl): *CLI> pjsip show aor pbx-node-1 Aor: <Aor..............................................> <MaxContact> Contact: <Aor/ContactUri............................> <Hash....> <Status> <RTT(ms)..> ======================================================...
2006 May 30
1
Url encoding Help Pls!
Hi guys, it''s me again, I want to come up with the following url: www.mysite.com/webpage?myid=1 I keep coming up with the following url: www.mysite.com/webpage%3Fmyid%3D1 require ''uri'' $myurl = URI.escape("webpage?myid=") redirect_to(:action => $myurl + 1 ) what am I doing wrong? I also tried require ''cgi'' $myurl = CGI::unescape("webpage?myid=") redirect_to(:action => $myurl + 1 ) oh no, what''s going wrong? Also, on top of that, ca...
2016 Jun 13
2
PJSIP does not qualify contacts after starting Asterisk
...agrero escribi?: Hi all, (sending this again from the correct address) I'm running Asterisk 13.8.0 (I need to check if that happens with 13.9.1 too when I have the time to build it) with PJSIP realtime config. I've defined several aors in the table ps_aors, like this (real url replaced by myurl): *CLI> pjsip show aor pbx-node-1 Aor: <Aor..............................................> <MaxContact> Contact: <Aor/ContactUri............................> <Hash....> <Status> <RTT(ms)..> ======================================================...
2006 May 29
0
subversion password using capistrano on textdrive
...no for use on textdrive, and followed the instructions posted at this very helpful site: http://blog.tuples.us/pages/rails-guide My problem is that when I try to execute rake remote:exec ACTION=cold_deploy the execution getss stuck when it tries to access my subversion repository. ** [out :: myurl.com] Authentication realm: <http://myurl.com:80> myurl.com ** [out :: myurl.com] Password for ''bnevile'': ** [out :: myurl.com] subversion is asking for a password ** [out :: myurl.com] Authentication realm: <http://myurl.com:80> myurl.com ** [out :: myurl.com] User...
2006 Mar 06
7
Set base url?
I have an application running on a Lighttpd instance which is proxied by an Apache server. It seems to work fine but my urls are incorrect: all urls reference / which is not where my application runs at the Apache server. How do I set the base url of a Rails application? My Apache has the following proxy rules: ProxyPass /hieraki http://localhost:3001 ProxyPassReverse /hieraki
2011 Jan 21
1
Reading gz compressed csv file - 'incomplete line found'
Hi all, I am trying to download, decompress and read a csv file. My code: myurl <- "ftp://ftp.ncbi.nih.gov/pub/geo/DATA/supplementary/series/GSE24729/GSE24729_MitoNuclear_suppl_male_stats.csv.gz" # myfile <- "GSE24729_MitoNuclear_suppl_male_stats.csv.gz" # download.file(myurl, destfile=myfile, mode="w") # mycon <- gzcon(gzfile(myfile,...
2011 Oct 03
2
read .csv from web from password protected site
I am very new to R and have been struggling trying to read a basic ".csv" file from a password protected site with the following code: myURL ="http://www.frontierweather.com/degreedays/L15N15PowerRegionAverages_10weeks.txt" test2=read.table(url(myURL),header=TRUE,sep=",") A 'data.frame' is returned into the workspace, however it is not the data contained in the ".csv" file. I think this occurs b...
2008 Jan 25
8
simple routing & linking question
So I have an existing app & facebook app in same rails application, for now I have decided to go the route of creating a controller for facebook stuff (called FaceController). (setup is canvas, fbml) So I have: facebook config http://myurl:myport/face/ My controllers name is face, so I dont even need a manual route, for the landing page it works like a charm. but, when I try to make links: <fb:tab_item href="http://apps.facebook.com<%= url_for(:controller => ''face'', :action => "index&...
2011 Dec 03
2
Downloading tab separated data from internet
...e, I want to download data for a station 03015795. The form for this station is at: http://ida.water.usgs.gov/ida/available_records.cfm?sn=03015795 I could get the start date and end date from this form using: # # Specifying station and reading from the opening form stn<-"03015795" myurl<-paste("http://ida.water.usgs.gov/ida/available_records.cfm?sn=",stn,sep="") mypage1 = readLines(myurl) # Getting the start and end dates mypattern = '<td align="center">([^<]*)</td>' datalines = grep(mypattern, mypage1[124], value=TRUE) gete...
2018 Jan 02
4
httr::content without message
Hi All: I am using httr to download files form a service, in this case a .csv file. When I use httr::content on the result, I get a message. Since this will be in a package. I want to suppress the message, but haven't figured out how to do so. The following should reproduce the result: myURL <- 'https://coastwatch.pfeg.noaa.gov/erddap/griddap/erdMH1sstdmday.csvp?time[0:1:last]' r1 <- httr::GET(myURL) junk <- httr::content(r1) when the last command is run, you get: Parsed with column specification: cols( `time (UTC)` = col_datetime(format = "") ) I want t...
2006 Jun 30
1
running in production mode
...Module mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ FastCgiServer /app.......dir/public/dispatch.fcgi \ -initial-env RAILS_ENV=production \ -processes 4 -idle-timeout 180 AddHandler fastcgi-script .fcgi </IfModule> .. . . . <VirtualHost 192.168.1.10> ServerName www.myurl.com ServerAlias myurl.com DocumentRoot /app...dir/public/ <Directory /app..dir/public/ > Options ExecCGI FollowSymLinks AddHandler cgi-script .cgi AllowOverride all Allow from all Order allow,deny </Directory> </VirtualHost> -- Posted via http://www.r...
2005 Apr 26
1
Feature request: report the url if 404 error occurs
Currently, the connection code does not include the URL in the warning message when a 404 response is received: myUrl = "http://www.r-project.org/ABadPage.html" con = url(myUrl) readLines(con) Error in readLines(con) : cannot open the connection In addition: Warning message: cannot open: HTTP status was '404 Not Found' Would it be possible (and desirable) to include the URL in the warnin...
2011 Aug 25
1
R hangs after htmlTreeParse
...date=2001-01-01&enddate=2011-08-25&article=2&pagenumber=1&isphrase=no&query=IIM&searchfield=&section=&kdaterange=30&date1mm=01&date1dd=01&date1yyyy=2001&date2mm=08&date2dd=25&date2yyyy=2011 Using the following code library(RCurl) library(XML) myurl<-c("http://timesofindia.indiatimes.com/searchresult.cms?sortorder=score&searchtype=2&maxrow=10&startdate=2001-01-01&enddate=2011-08-25&article=2&pagenumber=1&isphrase=no&query=IIM&searchfield=&section=&kdaterange=30&date1mm=01&date1dd=01&a...
2011 Sep 05
2
htmlParse hangs or crashes
...thing is, htmlTreeParse appears to work just fine, although it doesn't appear to contain the information I need (the URLs of the articles linked to on this search page). Regardless, I'd still like to understand why htmlParse doesn't work. Thank you for any insight. Yours, Simon Kiss myurl<-c("http://timesofindia.indiatimes.com/searchresult.cms?sortorder=score&searchtype=2&maxrow=10&startdate=2001-01-01&enddate=2011-08-25&article=2&pagenumber=1&isphrase=no&query=IIM&searchfield=&section=&kdaterange=30&date1mm=01&date1dd=01&a...
2018 Jan 02
0
httr::content without message
...httr to download files form a service, in this case a .csv file. When I use httr::content on the result, I get a message. Since this will be in a package. I want to suppress the message, but haven't figured out how to do so. > > The following should reproduce the result: > > myURL <- 'https://coastwatch.pfeg.noaa.gov/erddap/griddap/erdMH1sstdmday.csvp?time[0:1:last]' > r1 <- httr::GET(myURL) > junk <- httr::content(r1) > > when the last command is run, you get: > > Parsed with column specification: > cols( > `time (UTC)` = col_date...
2008 Jan 01
2
Ajax.Updater from within an IFrame
...which seems too much for the simple task I''m trying to achieve. This is the code I''m using (simplified, but same functionality): function doMyFancyUpdate() { // myUpdateID is within the parent frame var myID = top.document.getElementById(''myUpdateID''); var myURL = ''showfile.php''; new Ajax.Updater( myID, myURL, { method: ''post'', onException: function(ele, ele2) { alert("Error!\n" + ele2.message +"\n"+ ele2.fileName +"\nLine:"+ ele2.lineNumber); } } ); } In the IFrame itself...
2017 Jun 07
2
Dovecot LDAP using custom field to allow users to connect
...'s not working : /user_filter = (&(objectClass=posixAccount)(uid=%u)(objectClass=myclass)(AllowUser=TRUE))/ This is my dovecot/ldap configuration below : /*# dovecot.conf* / /passdb {// // driver = ldap// // args = /etc/dovecot/dovecot-ldap.conf// //}/ *# dovecot-ldap.conf* /hosts = myurl:myport// //dn = cn=myuser,dc=mydomain,dc=com// //dnpass = ********// //a//uth_bind = yes// //auth_bind_userdn = uid=%u,ou=users,dc=mydomain,dc=com// //ldap_version = 3// //base = ou=Users,dc=mydomain,dc=com// //scope = base// //default_pass_scheme = SSHA512 / Do you have an idead ? Kind regards....
2006 Feb 18
2
Extracting URL and text from HTML?
...ext used to link. For example, ..... <a href="http://www.rubyonrails.org" title="rails" >Ruby on Rails</a>.... I have been trying all night but cannot come up with the regular expression needed to extract the URLs and the text. I have tried: myurls=response.scan(/href\s*=\s*["''](http|https)(.*)["'']\s*.*>(.*)<\/a>/) However I am left with : ://domain.com/filename" rel="tag and ://domain.com/filename " title="permanent link Can anyone please help me as to how I...
2018 Jan 02
1
httr::content without message
...d files form a service, in this case a .csv file. When I use httr::content on the result, I get a message. Since this will be in a package. I want to suppress the message, but haven't figured out how to do so. >> >> The following should reproduce the result: >> >> myURL <- 'https://coastwatch.pfeg.noaa.gov/erddap/griddap/erdMH1sstdmday.csvp?time[0:1:last]' >> r1 <- httr::GET(myURL) >> junk <- httr::content(r1) >> >> when the last command is run, you get: >> >> Parsed with column specification: >> cols( &...
2010 Jul 02
3
Good Package(s) for String and URL processing?
Are there packages that allow improved String and URL processing? E.g. extract parts of a URLs such as sub-domains, top-level domain, protocols (e.g. https, http, ftp), file type based on endings, check if a URL is valid or not, etc... I am currently only using split and paste. Are there better and more efficient ways to handle strings e.g. finding sub-strings or to do pattern matching? What