similar to: Beginner Question - <% ... %>

Displaying 20 results from an estimated 2000 matches similar to: "Beginner Question - <% ... %>"

2005 Aug 24
1
SV: Fax to email using mime-contruct
I also want to try that asterisk guide. But i'm not sure if i understood it correctly. What exactly do i need to do? Do i need to compile Asterisk with the spanDSP plugin or just configure extensions.conf? The URL to spanDSP in the guide wasn't working. I also use a traditional internet line to recieve calls and hopefully i will get Fax working soon. This is so confusing. Thanks, Arne
2006 Jan 25
11
Executing Ruby code that is inside a string
I would like to put Ruby code inside a string, between <%= %> tags, and have the code inside the tags executed when the string is displayed. Is this possible? -- Posted via http://www.ruby-forum.com/.
2006 May 08
1
file_column - url_for_file_column issue.
Hi, url_for_file_column @variable, ''name'', takes an instance variable. My question is, what if I don''t want to have to retrieve the instance variable every single time but I have the image id, along with its name with me. Could I contruct that object in a view and pass it to url_for_file_column: <% @picture = Picture.new %> @picture.id = ...
2009 Aug 24
1
[LLVMdev] question about LLVMContext
Hi devs: I'm trying to do something quite simple, but it seems I need to provide an LLVMContext& to do it. I'm not sure what the 'proper' LLVMContext would be in my situation. I'm writing an analysis that is a FunctionPass. At some point in the pass, I am given a Value * representing an N-bit integer. My goal is to contruct two ConstantInt instances, for comparison
2006 Apr 20
1
Mutually Orthogonal Latin Squares
Hi all, The package crossdes could contruct a complete sets of mutually orthogonal latin squares. The construction works for prime powers only. I hope to know whether there is a way to construct a mutually orthogonal Lation square for 10 or other numbers that could not be prime powers. Thanks for any suggestions. Best wishes, Jinsong Zhao
2008 Jul 01
1
extracting elements from a list in vectorized form
Hi; It seems to me that has probably been asked in the past. But I cannot find the track. I usually need to extract elements from a list and contruct vector from them; e.g., to create a table. Perhaps there is a way to directly extract them without looping? Simple example: > S.lst $sublist.1 $sublist.1$age [1] 24.58719 $sublist.1$weight [1] 60.82861 $sublist.2 $sublist.2$age [1] 32.39551
2009 Jul 18
1
Building a big.matrix using foreach
Hi there! I have become a big fan of the 'foreach' package allowing me to do a lot of stuff in parallel. For example, evaluating the function f on all elements in a vector x is easily accomplished: foreach(i=1:length(x),.combine=c) %dopar% f(x[i]) Here the .combine=c option tells foreach to combine output using the c()-function. That is, to return it as a vector. Today I discovered the
2004 Jan 22
1
Bug in termplot?
Hi, Is this a bug in termplot, or (once again) do I just not understand what R is really doing? I am using termplot to contruct partial residual plots, 1. For all terms at once 2. One term at a time but I get different results from these two methods. To give a concrete example, I would have thought the top and bottom rows of the plot constructed with the following code would be identical.
2008 Dec 20
2
Setup ReceiveFax(), fax2mail, mime-construct - but now Sendmail :(
Using 1.6 on Fedora Core 9 I'm trying to receive faxes. I've got this far: [incoming-fax] exten => s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d%H%M)}-0${CALLERIDNUM}) exten => s,2,ReceiveFAX(${FAXFILE}.tif) exten => s,3,Hangup() exten=>h,1,System(/usr/local/bin/fax2mail --cid-number "0${CALLERIDNUM}" --cid-name "home fax"
2012 Oct 23
3
[LLVMdev] precondition suggestion to LLVM
Thank you, it was what I really was searching for :) However, I don't know if I well understood. I've find this link in the second link which seemed what i was looking for: http://nondot.org/sabre/LLVMNotes/BuiltinUnreachable.txt .If I put around the code block (inside my function with precondition (x>0 && y>0)) a contruct like that that use __builtin_unreachable: int foo(int
2007 Nov 06
5
textarea fails on rows attribute
Hi, Camping 1.5.180 Ruby 1.8.6 It looks like Camping is choking on the ''rows'' attribute for input tags: input(:name => ''cuid'', :type => ''text'', :size => 10, :rows => 3) That will fail with: Markaby::InvalidXhtmlError no attribute `rows'' on input elements:
2012 Oct 23
0
[LLVMdev] precondition suggestion to LLVM
On Mon, Oct 22, 2012 at 9:33 PM, Niko Zarzani <koni10 at hotmail.it> wrote: > Thank you, it was what I really was searching for :) > > However, I don't know if I well understood. I've find this link in the > second link which seemed what i was looking for: > http://nondot.org/sabre/LLVMNotes/BuiltinUnreachable.txt . > If I put around the code block (inside my
2006 Apr 25
5
markaby or erb?
Guys, We''re embarking on a new dev project, and I''m curious....why would one choose markaby over erb? I for one am no fan of the erb syntax, but aside from that it''s similar to other technologies I''ve used in the past: PHP, JSP, ASP, etc. Why would one choose markaby over erb? What are the benefits? What are the drawbacks? Is there anything remarkable
2007 Jul 11
4
Extending Markaby for SVG
Hi all, I love the elegance of Markaby for HTML generation. I''d like to do something similar for SVG, e.g.: svg11 do title "Slide Title" rect({:x=>2,:y=>2,:width=>508,:height=>318,:fill=>"aqua"}) g({:style=>"fill:blue; stroke:black", :transform=>"translate(17,-38)"}) do circle({:cx=>70, :cy=>100,
2006 Jun 13
11
markaby
What''s the current status of Markaby? I''ve played with it a bit and love it and am considering using it for a large project I''m starting. If you''ve used it, I''d love to hear your comments! Jamie
2006 Jun 15
8
Markaby Installation Issues
Ok, So I followed the directions.. I did a ''gem install markaby'' (which sounds like its enough to get me going for rails), but I wasn''t sure, so I tried to install the plugin as well. Plugin installation fails looking for a file: Script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk Outputs this error: + ./trunk/svnindex.xsl
2006 Oct 14
3
[Markaby] Any workaround for Rails caching?
The ability to use Rails'' caching is very important to me. Is there any way at all to get Rails caching working with Markaby templates? Right now if I use cache tags, I get some "length" error. Thanks, Joe __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2008 Jan 18
5
How do I pass form values from POST controller specs?
Hi there I just started my first Merb app and I''m running into some weird things in Specs. When I do: describe "create action" do it "should create a new project" do project_params = {:name => ''bekkunin''} Project.should_receive(:create).with(project_params) controller, action = post(''/projects'', :project
2006 Jul 17
6
Has markaby been abandoned?
Recently discovered Markaby. Before I use it on a production system, I''d like to know if it is still being maintained? According to the change log, the last change was in February of 2006. Does this mean that the project has been abandoned? Or, at version 0.3 it was considered production stable and complete? -- Best Regards, -Larry "Work, work, work...there is no satisfactory
2006 Aug 02
7
form_for not working with Markaby
I''m playing around with Markaby and I decided to write a little blog app. I''m running into issues with forms however. If I use form_for the output of the form gets swallowed. For example: form_for :article, @article do |f| f.text_field :title f.check_box :published f.text_area :description f.text_field :pub_date f.text_area :content end gets rendered as an empty form