similar to: Ruby equivalent to PHP Beautify?

Displaying 20 results from an estimated 2000 matches similar to: "Ruby equivalent to PHP Beautify?"

2006 Feb 15
5
Formating @content_for_layout
Hi all, I sent a message earlier, so forgive me if you have already read this (I got some cryptic message in German about how my e-mail was not read?). Anyway, I was just wondering if there was any way to format the html that is output using <%= @content_for_layout %> I want to use something like the PHP Beautify. I guess I could write my own, but I was hoping that Rails already had
2006 Mar 01
2
Method Calling Problems
Hi all! I am attemping to call a method inside of my LeviUserController named show_userland from my LeviInterfaceController class. No matter how I do it, I keep getting some type of error. If I make the method a class method, then my render_partial inside of show_userland can''t be found. If i call it using @luser = LeviUserController.new; @luser.show_userland; I get an error with a nil
2006 Mar 01
1
Using delegate templates
Ok, it looks like what I need to do is use a delegate template, but I can''t find anything anywhere online. Has anyone ever used this feature before and could possibly explain it to me please? -- Topher Fangio fangiotophia@gmail.com http://www.fangiotophia.com Website Specialist Fangiotophia Designs (325) 660-7141
2006 Mar 01
4
graphics rendering
Hey Has anyone got a graphics server running alongside ruby on rails? Kind of new to graphics rendering on a web server, so some general tips on a successful direction to go in would be great. I need it for automatic rescaling of images, similar to flickr. Thanks, RGC -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Sep 13
3
Beautify R scripts in microsoft word
I am generating a report containing several R scripts in the appendix. Is there any way to "beautify" the R source codes in microsoft word, similar to what we see in tinn-R ? Thanks _________________________________________________________________ [[alternative HTML version deleted]]
2006 Aug 10
4
mongrel and comet "implementation"
Hey folks, I was playing around with adding Comet (a javascript technology used to receive events without AJAX polling) support to Mongrel. More info about Comet here: http://en.wikipedia.org/wiki/Comet_%28programming%29) I sort of got it working. My code is available at: http;//cyll.org/comet.tar.gz Run comet.rb from inside the directory and point your browser at: http://localhost:5555/ The
2004 Jul 28
2
Building Samba 3.0.5 on HP-UX 11.11
First -- to avoid the common answers to the 'building on HP-UX' questions that seem to be available on the list and the web: 1) using the depot from the Porting Center won't work, it's well downrev of 3.0.5 and I need to get the new security fixes (so that the security team will go back into it's dark dank den and fear not for the security of our environment) 2) samba.org
2008 Apr 10
2
Beautifying axis tick labels
Hi, For example, the y axis shows "0 500000 1500000". Is there any way to beautify the tick labels to get 0 5 10 15, and at the top of y-axis "x10^5" (superscript 5) ? My plots all have different ylim, how to perform the beautification automatically ? Thanks Stanley [[alternative HTML version deleted]]
2006 Aug 11
5
Unit tests - NilClass problem
Hi! Yesterday I started to write my unit tests for the fist time using rails. I''m using this method: http://blog.codahale.com/2005/12/23/a-rails-howto-simplify-your-unit-tests/ My customer_test.rb looks like this: require File.dirname(__FILE__) + ''/../test_helper'' class CustomerTest < Test::Unit::TestCase fixtures :customers # Replace this with your real
2005 May 12
3
Dovecot-stable rpms
I've been searching, and I can't find any rpms of dovecot stable for RHEL 4. Does anybody know where I can get one? Ever since we went from IMAP-UW to Dovecot, we've been having frequent problems with mbox corruption, and I've read that 1.0 fixes many of those types of problems. Has anybody else found an rpm for RHEL 4 of any Dovecot greater than 1.0? -- Topher Fischer System
2011 May 02
2
Re: Caution when deleting .wine ...
jjmckenzie wrote: > On Mon, May 2, 2011 at 1:16 AM, topher.becca <wineforum-user at winehq.org> wrote: > > > > > When I entered 'rm -rf ~/.wine' it says: > > rm: /Users/christopherwelch/.wine/drive_c/Program Files/Inbox Toolbar: Permission denied > > rm: /Users/christopherwelch/.wine/drive_c/Program Files: Directory not empty > > rm:
2017 Jul 06
2
Gluster install using Ganesha for NFS
After 3.10 you'd need to use storhaug.... Which.... doesn't work (yet). You need to use 3.10 for now. On 07/06/2017 12:53 PM, Anthony Valentine wrote: > I'm running this on CentOS 7.3 > > [root at glustertest1 ~]# cat /etc/redhat-release > CentOS Linux release 7.3.1611 (Core) > > > Here are the software versions I have installed. > > [root at
2006 Mar 14
2
bwplot and outlier symbols
Hi, I was just trying to figure out how to beautify the output of my bwplot-output. Altogether I figured most of the things out on my own. The one thing which puzzles me though are the symbols for the outliers. I can easily change the form of the median symbol by using "pch" but I don't know how to do this for outliers. Obviously the "outpch" of the
2017 Jul 06
3
NFS Ganesha
Hello! I am attempting to setup a Gluster install using Ganesha for NFS using the guide found here http://blog.gluster.org/2015/10/linux-scale-out-nfsv4-using-nfs-ganesha-and-glusterfs-one-step-at-a-time/ The Gluster portion is working fine, however when I try to setup Ganesha I have a problem. The guide says to run 'gluster nfs-ganesha enable' however when I do, I get the following
2011 May 02
2
Re: Caution when deleting .wine ...
David Shaw wrote: > > At the risk of getting flamed, you yourself have often told people to > 'rm -rf ~/.wine' :-) > > David Shaw When I entered 'rm -rf ~/.wine' it says: rm: /Users/christopherwelch/.wine/drive_c/Program Files/Inbox Toolbar: Permission denied rm: /Users/christopherwelch/.wine/drive_c/Program Files: Directory not empty rm:
2006 May 09
6
Still Stumbled on First things in trying RubyOnRails
Still Stumbled on First things in trying RubyOnRails http://www.digitalmediaminute.com/article/1816/top-ruby-on-rails-tutorials http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html http://instantrails.rubyforge.org/tutorial/index.html http://rails.homelinux.org/ I had tried the first of the top 12 tutorials and got stuck after adding a new field ?category_id?in the table recipes,
2017 Oct 02
4
how to prevent files and directories from being deleted?
You can try chattr? https://en.wikipedia.org/wiki/Chattr 2017-10-01 12:26 GMT-03:00 Alexander Dalloz <ad+lists at uni-x.org>: > Am 01.10.2017 um 17:21 schrieb hw: > >> Hi, >> >> how can I prevent files/directories like /var/run/mariadb from being >> deleted on reboot? Lighttpd has the same problem. >> >> This breaks services and makes servers
2006 Apr 01
4
Quick question. Thunderbird/Outlook = no love.
Are there any how-tos or documentation on getting dovecot to be thunderbird/outlook friendly? Thunderbird can connect about 20% of the time, the other 80% of the time, I Get the error: "You may need to connect via SSL or TLS. Please check the account settings for your mail server." I have my thunderbird setup to do TLS. I've put it on the TLS if available as well, still no love.
2006 Feb 15
1
need a R-code formatter?
Hi all, I am using Tin-R as my editor; I use it because it allows me to send several selected lines to R-console and execute them... In some sense, this is my line-by-line debugger. But it doesn't have a code formatter, I have to layout the indention myself -- when there are many { } blocks with different layers, this editor does not help me beautify the code... I am looking for some
2008 Nov 03
1
stub! and null_object
I have some code I want to stub out as it''s not part of what I''m testing. It''s got a bit of DSL going on, so there are method calls chained together. The call I want to stub out looks like this: user.record_action(:uploaded_a_photo => concert).with_result(photo) So ideally, I''d just do @user.stub!(:record_action) and that would return a null