search for: myparam

Displaying 14 results from an estimated 14 matches for "myparam".

2013 Mar 05
12
Boolean in hiera... problems again
Hi... I''ve been trying to set up boolean values in Hiera, but with no luck. For example, I''m using puppetlabs-haproxy module, and this is a code snippet: class haproxy ( $manage_service = true, ... ) inherits haproxy::params { ... if $manage_service { } } Now, this is how I set up values in hiera: haproxy::manage_service: false But, it seems that
2013 Jun 17
2
[LLVMdev] vmkit java annotations
...ation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Method; @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @interface Red { String info() default ""; } class Annotated { @Red(info = "AWESOME") public void foo(String myParam) { System.out.println("This is " + myParam); } } class TestAnnotationParser { public void parse(Class clazz) throws Exception { Method[] methods = clazz.getMethods(); for (Method method : methods) { if (method.isAnnotationPresent(Red.class)) {...
2013 Jun 17
2
[LLVMdev] vmkit java annotations
...; > import java.lang.reflect.Method; > > @Target(ElementType.METHOD) > @Retention(RetentionPolicy.RUNTIME) > @interface Red { > String info() default ""; > } > > > class Annotated { > @Red(info = "AWESOME") > public void foo(String myParam) { > System.out.println("This is " + myParam); > } > } > > > class TestAnnotationParser { > public void parse(Class clazz) throws Exception { > Method[] methods = clazz.getMethods(); > > > > for (Method method : methods) { &g...
2013 Jun 17
0
[LLVMdev] vmkit java annotations
...; > import java.lang.reflect.Method; > > @Target(ElementType.METHOD) > @Retention(RetentionPolicy.RUNTIME) > @interface Red { > String info() default ""; > } > > > class Annotated { > @Red(info = "AWESOME") > public void foo(String myParam) { > System.out.println("This is " + myParam); > } > } > > > class TestAnnotationParser { > public void parse(Class clazz) throws Exception { > Method[] methods = clazz.getMethods(); > > > > for (Method method : methods) { &g...
2012 Mar 16
2
uri authentication
Hi folks, http://www.icecast.org/docs/icecast-2.3.1/icecast2_listenerauth.html is uri authentication an extension of http authentication? i.e. if you use uri authentication the user is also asked for their username and password, which are sent to the script via the username and password options? thanks, Alistair -------------- mov eax,1 mov ebx,0 int 80
2013 Jun 17
0
[LLVMdev] vmkit java annotations
...tType.METHOD) >> @Retention(RetentionPolicy.RUNTIME) >> @interface Red { >> String info() default ""; >> } >> >> >> class Annotated { >> @Red(info = "AWESOME") >> public void foo(String myParam) { >> System.out.println("This is " + myParam); >> } >> } >> >> >> class TestAnnotationParser { >> public void parse(Class clazz) throws Exception { >> Method[] methods = clazz.getMethods(); &g...
2012 Mar 16
0
uri authentication
...than the basic HTTP username/password. For example, you could use the IP address to authenticate clients. Any additional parameters tagged on to the mountpoint will be passed on to your authentication script too, so if you had a mountpoint called /stream.ogg and you tried to connect to /stream.ogg?myParam=123 then the value 123 would also be passed in the parameter myParam to your script (url encoded). So if you've already setup a website with user authentication, you might be able to allow already-logged-in users to open a stream without any additional login steps by using a session id paramet...
2006 Aug 07
1
Routing/Redirecting
...I could redirect from an url like "www.url.com/mycontroller" to "www.url.com/en/mycontroller"? I was reading all sorts of routing documentation but couldn''t come up with a solution. Of course this should be a general rule, so "www.url.com/mycontroller/myaction/myparam=99" should naturally redirct to "www.url.com/en/mycontroller/myaction/myparam=99" and so on. Thanks for any help. Greetings Patrick -- Posted via http://www.ruby-forum.com/.
2008 Jan 30
3
Ajax.Request - nothing in responseText, I need it!!
...o html format. this script works fine when I go to the url in a browser and send the correct params. However, in my ajax request, nothing gets returned?! Here is my code... ------------------------------------------------ function updateData() { url = "http://www.myURL.com/updateData.php?myparams"; new Ajax.Request(url, { method: ''POST'', asynchronus: ''true'', contentType: ''text/html'', onComplete: parseData}); } function parseData(originalRequest) { myResponse = originalRequest.responseText;...
2010 Jul 30
5
Parameterised Classes in 2.6.0... still no luck
I downloaded the latest version of puppet 2.6.0 today, and still can''t get parameterised classes to work. At least, I think it''s 2.6.0... the version number in the RPM spec file says 0.25.5. This simple example: /etc/puppet/manifests/nodes/pax/name01.pax.xxx.com.pp: node ''name01.pax.xxx.com'' { class { amodule::afunc: version => "1.0" } }
2006 Feb 28
0
loadTextURL
...n error on my part or what new Ajax.InPlaceEditor(''tobeeditedTD'', ''changelink.php'', { loadTextURL: "getPage.php", callback: function(form, value) { return ''type=edit&type=edit&row=''.$rw[''id''].''&myparam='' + escape(value) }}); Anyone that can shed some light on this would be helpful Alan _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoff...
2006 Jan 19
0
RE: inPlaceEditor -how to capture values just beforeit is edited
...st before the request is sent to the server, should return the parameters to be sent in the URL. Will get two parameters, the entire form and the value of the text control. new Ajax.InPlaceEditor(''id'', ''url'', { callback: function(form, value) { return ''myparam='' + escape(value) }}) Hope this helps! Thank you, Mandy.
2006 May 28
13
JSON not auto-evaluated
Hi, please consider this stripped down example: new Ajax.Request(''foo.php'', { onSuccess: function(t, json) { alert(json.myParam); } }); According to http://www.sergiopereira.com/articles/prototype.js.html, the second param is supposed to be the evaluated json object IF the X-JSON header is send in the response. I send the header in my script. However, the json var is always undefined and i have to evaluate t.responseT...
2019 Jan 03
10
Runnable R packages
Dear all, I?m working as a data scientist in a major tech company. I have been using R for almost 20 years now and there?s one issue that?s been bugging me of late. I apologize in advance if this has been discussed before. R has traditionally been used for running short scripts or data analysis notebooks, but there?s recently been a growing interest in developing full applications in the