search for: strin

Displaying 20 results from an estimated 26 matches for "strin".

Did you mean: string
2017 Sep 28
1
rename multiple files by file.rename or other functions
Hi John, Thanks to Jim for pointing out the file.rename() function. You can try this: # define the filename templates strIn <- "XYZW--Genesis_ABC.mp3" strOut <- "01Gen--.mp3" # create the strings "01", "02", ..., "50" v <- sapply(1:50, function(i) sprintf("%02d",i) ) # perform all the file renames for ( s in v ) { file.rename(sub("--",s,st...
2010 May 10
1
Dialing a SIP Peer without using register strin
...my system i am using this peer in sip.conf. [abc] type=peer username=abc secret=mysecret host=192.168.0.20 context=default dtmfmode=rfc2833 ;restrictcid=no canreinvite=yes insecure=invite,port disallow=all allow=ulaw allow=alaw allow=g729 allow=gsm nat=yes qualify=yes and using following register string register => abc:mysecret at 192.168.0.20 <abc%3Amysecret at 192.168.0.20> now problem is that when i use register string everything goes ok. but when i remove register string call doesn't go as expected. I would like to know if there is any feature that i can use to call sip peer...
2009 Jun 12
2
Fail to start a lower Version ( Rails 1.1.6) Rails Project
...RoR project in rails version 1.1.6. Just to start this project i just install rails of version 1.1.6 but when i am going to start to start the server then i got the following error.. D:\simpleticket>ruby script/server ./script/../config/boot.rb:25:Warning: Gem::SourceIndex#search support for Strin g patterns is deprecated ./script/../config/boot.rb:28: undefined method `require_gem'' for main:Object (N oMethodError) from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `ge m_original_require'' from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom...
2008 Aug 31
1
Wine on Puppy linux
I have problems compiling/installing Wine 1.0 or 1.1.3 on Puppy linux 4. Unable to compile menu.o, unexpected end of line. Can someone please give me a hint how to install Wine on Puppy linux?
2017 Sep 28
0
rename multiple files by file.rename or other functions
Hi John, Maybe this: filenames<-c("XYZW01Genesis_ABC.mp3","XYZW02Genesis_ABC.mp3") for(filename in filenames) { filefirst<-sapply(strsplit(filename,"[.]"),"[",1) fileno<-sub("_","",gsub("[[:alpha:]]","",filefirst)) file.rename(filename,paste("01Gen",fileno,".mp3",sep="")) }
2006 Jul 20
3
Newbie question-----Downloading a file and sending it to DB
Hi everyone, I''m new with RoR and I''m working on a project that uploads information (keys-values) from a file into a database. Here is the situation: Somewhere in this file there is a strin-table such as the following: "hello" = "hello world" "sayHIgh" = "Saying hello to the world" I have parsed the files with a ruby script in such a way so that when I enter a key, I get a value (sort of like a hash). Ex: if I enter the string "hello&...
2010 May 11
1
asterisk-users Digest, Vol 70, Issue 23
...fixed ip and we use host = nasir.server.com ? also I have set insecure=invite,port what if i use insecure=no thanks again. Message: 24 Date: Tue, 11 May 2010 10:52:14 +0500 From: Vardan <hvardan71 at gmail.com> Subject: Re: [asterisk-users] Dialing a SIP Peer without using register strin To: asterisk-users at lists.digium.com Message-ID: <hsarab$ok7$1 at dough.gmane.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Remove username and secret and use IP authentication on both side [server1_abc] type=peer host=192.168.0.20 context=default dtmfmode=rfc2833 canre...
2017 Sep 28
5
rename multiple files by file.rename or other functions
Hi, I have 50 files whose names are XYZW01Genesis_ABC.mp3 XYZW02Genesis_ABC.mp3 ....... XYZW50Genesis_ABC.mp3 As you can tell, the only difference across the files are 01, 02, 03,....50. I would like to rename them to 01Gen01.mp3 01Gen02.mp3 ....... 01Gen50.mp3 If I store them in one folder and write an R code in that folder, how can it be done? Thanks, John [[alternative
2008 Apr 10
5
Extending Bluecloth/Redcloth
I''d like to extend bleucloth or redcloth to support custom tags, e.g. I want to use markup like this: [pubmed:18332676] which shall be extended to: <a href="http://www.ncbi.nlm.nih.gov/pubmed/18332676">Behav Pharmacol. 2008 Mar;19(2):121-128.</a> Does anyone know, if this is possible and has some hints how to do this?! I have not decided, wether I want to use
2010 May 11
1
asterisk-users Digest, Vol 70, Issue 24
...t the number in ${EXTEN}. but when i change system 1 (192.168.0.20) to my real server (e.g. nasir.server.com) which has abc as user configured same as on system1 (192.168.0.20), call goes to [default] instead of going to [payasyougo] context and is treated as incoming call... when we use register string calls works ok on real server too. I also tried SIP/abc:mysecret/${EXTEN} and SIP/${EXTEN}@abc:mysecret but nothing seems to work. there is another problem that sometime my real server (nasir.server.com) becomes unreachable and this error is returned NOTICE[3898]: chan_sip.c:11489 sip_reg_tim...
2008 Sep 01
2
Help with link_To
Hi, I need some help!! I have to make a link_to with a string to have that strin in another controlle who can i do it?? i have something like this <%= link_to ''Buscador'', new_consulta_path, :query=>"rssnews" %> and then in the controller consulta params[:query] -- Felipe Vergara Contesse Ingeniería Civil Industrial UC...
2009 Jun 12
0
500 internal Server error
When i am going to start the WEBrick server i got the following error.... C:\mystic_0.1.4>ruby script/server./script/../config/boot.rb: 26:Warning: Gem::SourceIndex#search support for Strin g patterns is deprecated => Booting WEBrick... What should i do for correcting for this error. Thank You Soutom
2008 Jul 02
1
Usage of rJava (.jcall) with Weka functions, any example?
...Weka: > library(grid) > library(rJava) > library(RWeka) > c <- .jcall("weka/filters/unsupervised/attribute/Remove","S","Remove","-R","1",matrix) Is it that right? I get this message error! method Remove with signature (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found I've played around but I cannot get through! All help will be appreciated! Thank you very much! Josep Maria, ---------------------------------------------------------------------------- >>>>>> Josep Maria...
2005 Apr 11
6
How to change letters after space into capital letters
What is the easiest way to change within vector of strings each letter after a space into a capital letter? E.g.: c( "this is an element of the vector of strings", "second element" ) becomes: c( "This Is An Element Of The Vector Of Strings", "Second Element" ) My reason to try to do this is to get more readab...
2016 Jul 07
3
Configure error on Solaris 10
...ake CMakeFiles/cmTC_67861.dir/build gmake[1]: Entering directory `/export/home/netrac_fam/gtk3/src/bllvm/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_67861.dir/src.cxx.o /export/home/netrac_fam/gtk3/bin/g++     -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strin gs -Wcast-qual -Wno-missing-field-initializers  -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor  -Wno-comment -std=c++11 -fdata-sections -include llvm/Support/Solaris.h -DLIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG   -s td=c++11 -o CMakeFiles/cmTC_67861.dir/src.cxx.o -c /export/home/netrac_...
2003 May 16
2
make installworld fails : touch not found ?
...lon-xp CFLAGS= -O -pipe BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ -Wcast-qual -Wchar-subscripts -Winline \ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strin gs COPTFLAGS= -O -pipe [SUP related message deleted] ---------------------------------------------------------------------------- --- ------------[ dmesg ] ---------------------------------------------------------- Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986,...
2007 Jun 29
0
Branch 'as' - 3 commits - doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h
...ub for documenting SwfdecAsContext diff --git a/doc/Makefile.am b/doc/Makefile.am index f43e706..ce3ae3a 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -56,6 +56,7 @@ IGNORE_HFILES= \ jpeg \ swfdec_amf.h \ swfdec_as_interpret.h \ + swfdec_as_math.h \ swfdec_as_number.h \ swfdec_as_string.h \ swfdec_as_strings.h \ diff --git a/doc/swfdec-docs.sgml b/doc/swfdec-docs.sgml index 07c7ee4..537817a 100644 --- a/doc/swfdec-docs.sgml +++ b/doc/swfdec-docs.sgml @@ -22,6 +22,8 @@ </chapter> <chapter> <title>Actionscript interpreter</title> + <xi:inc...
2009 Aug 18
6
Eliminar variable de un data frame
Hola, que tal? Tendo una duda, como se puede eliminar una variable de un data.frame? Tambien tengo otra duda, tengo una base de datos importada del spss, donde tengo espacios asignados como missings, pero al pasarlo al R, me coje los espacios como una categoria más. Como los puedo poner como missings? Dolors Giralt _________________________________________________________________ [[elided
2007 Mar 28
0
Branch 'as' - 3 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_types.c
...h \ + swfdec_as_frame.h \ swfdec_as_object.h \ swfdec_as_types.h \ swfdec_amf.h \ diff --git a/libswfdec/swfdec_as_context.c b/libswfdec/swfdec_as_context.c index 8b05dc3..e9bdc80 100644 --- a/libswfdec/swfdec_as_context.c +++ b/libswfdec/swfdec_as_context.c @@ -23,9 +23,11 @@ #include <string.h> #include "swfdec_as_context.h" +#include "swfdec_as_frame.h" #include "swfdec_as_object.h" #include "swfdec_as_types.h" #include "swfdec_debug.h" +#include "swfdec_script.h" /*** GTK_DOC ***/ @@ -67,7 +69,7 @@ swfdec_as_con...
2010 Feb 23
12
"no such file to load -- gettext/rails" error
I get the error below when I try to start my server. Here are the versions installed: OS: Windows Server 2008 Ruby: 1.8.7 Gems: actionmailer (2.3.5, 1.3.5) actionpack (2.3.5, 1.13.5) actionwebservice (1.2.5) activerecord (2.3.5, 1.15.5) activeresource (2.3.5) activesupport (2.3.5, 1.4.4) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) gem_plugin