Displaying 20 results from an estimated 10000 matches similar to: "get DB data to rhtml file"
2006 Apr 28
4
Call for patterns...
Hi group,
I was wondering if anyone more experienced could help me to find a good
pattern for two things:
1. How to group controllers. Example:
We have an admin panel with:
user_managment_controller.rb
priv_managment_controller.rb
widget_controller.rb
User panel with:
mystuff_controller.rb
mytags_controller.rb
profile_controller.rb
And frontend with:
widget_controller.rb
etc...
How do I group
2009 Oct 27
2
Porting Custom Packages from Linux to Windows
On my linux workstation I have a nice, very little project in a
directory called "mystuff"
I installed "mystuff" into site-library with R CMD build, R CMD check
and R CMD install. This was all with the file mystuff.tar.gz.
Now I want to install "mystuff" on my windows workstation. Can I use
the same file mystuff.tar.gz. Do I need to do something different with
R
2002 Jul 02
1
subscript out of bounds
Hello
As I'm beginning to write functions, I decided to have my personnal R library
named MyStuff located in /home/fred/R.Lib/MyStuff/
The library file itself is at /home/fred/R.Lib/MyStuff/R/MyStuff
evrything seems ok since
> library()
gives :
Packages in library `/usr/lib/R/library':
KernSmooth Functions for kernel smoothing for Wand &
2007 Nov 22
2
Wayward Directories
Seems that any program that has a default data directory, or previously
selected directory preserved, has the directory duplicated/nested:
That data is in c:\mystuff\mydata
It is shown as c:\mystuff\mydata\mydata
The files appear and maybe can be read. Any attempt to write produces an error
(obviously, there is no such directory). Some programs will crash/abort wine
trying to navigate this
2007 May 14
2
How to write data to astdb?
Hello,
I'm trying to fill CID data into the astdb using AsteriskWin32's
asterisk.exe, to no avail: The batch file stops after the first line, and
just waits:
----------------------------------------
rem c:\cygroot\mystuff>import.bat
rem
rem c:\cygroot\mystuff>C:\cygroot\bin\asterisk.exe -rx 'database put
cidname 123 "My cellphone"'
rem
rem Asterisk module
2011 Nov 16
1
Deleting a mailbox and all its children
I'm looking at scripting a mechanism to delete a mailbox, which is easy
with 'doveadm mailbox delete' -- however it gets complicated when there
are children of arbitrary depth, for example, I may have this:
restored.daily1.INBOX
restored.daily1.Sent
restored.daily1.Mystuff
restored.daily1.Mystuff.foo
I would like to delete the 'restored' mailbox and all its children (and
2009 Aug 06
1
specify lattice black-and-white theme
Is there a simple way to specify a theme or trellis (lattice) parameters so
that, in a multipanel (conditioned) plot, there is no color and in the
strips there is no shading? This is the effect achieved on page 124 of
Deepayan Sarkar's "Lattice" (figure 7.2).
I managed to trick lattice into making a grayscale plot on my interactive
display as follows:
> graphics.off()
>
2002 Feb 11
1
problem getting just a single dir !
I am trying to fetch a single dir using the following command but all I
get is a empty dir:
rsync -av www.myServer.com::myStuff --include=myDir --exclude=* .
Here is the rsync output:
receiving file list ... done
myDir/
./
wrote 119 bytes read 392 bytes 92.91 bytes/sec
total size is 0 speedup is 0.00
The command looks simple and straight forward but somehow I am not
getting the expected
2010 Aug 22
2
Strange Apache log entry
Hey everyone,
Logwatch flagged something in my Apache logs, and it says it was a
possible successful probe. Hmmm. Here's what it says:
--------------------- httpd Begin ------------------------
A total of 1 sites probed the server
66.249.137.70
A total of 2 possible successful probes were detected (the following URLs
contain strings that match one or more of a listing of
2005 Dec 30
3
Too many columns for list.rhtml to display on one page
I''ve gone once through the Agile book and am now attempting my own rails
app. I''ve created a table named ''volunteers'' with over 15 columns. The
problem is the default list.rhtml that is created with the scaffold,
shows all the columns. I only want to show 4 of them with the list
view.
Where would I start to only return a handfull of columns to the
2017 Nov 10
2
Sieve global path?
On Thu, 9 Nov 2017 21:02:44 -0500
Bill Shirley <bill at KnoxvilleChristian.org> wrote:
> Set the sieve_global_dir like this.
> /etc/dovecot/conf.d/99-mystuff.conf:
> .
> .
> plugin {
> ? sieve???????????????? = ~/Maildir/dovecot.sieve
> ? sieve_dir???????????? = ~/Maildir/sieve
> ? sieve_global_dir????? = /etc/dovecot/sieve/global/
> ? sieve_before????????? =
2006 Jan 25
8
conditional replacements in rhtml
I am working on the Agile programming tutorial and trying out some
ruby code. Can someone tell me why the following works:
<h1>Display Cart</h1>
<p>
Your cart currently holds <%= @items.size %>
<%= @items.size == 1 ? "item" : "items" %>.
</p>
while this does not?
<h1>Display Cart</h1>
<p>
Your cart currently
2017 Nov 10
2
Sieve global path?
On Fri, 10 Nov 2017 03:41:20 -0500
Bill Shirley <bill at KnoxvilleChristian.org> wrote:
> No it isn't shown as a folder.? All folder directories here begin with a dot.
> i.e.? .INBOX? .Trash? .Drafts
>
> Bill
No, they don't. me thought that, too. But using the rainloop webmail interface
on top of such a config showed the sieve folder in the overview. Sometimes you
can
2010 Jun 02
5
user routing versus admin routing strategies?
In an app where ordinary users are limited to viewing and editing their
own "stuff", but someone with admin privs can view and edit anybody''s
stuff, what''s the right strategy for routing?
At first blush, I''d think that an ordinary user (e.g. with id 565)
should see something like:
http://example.com/mystuff.html
... where the controller assumes
2010 Feb 10
0
Folders within folders ...
Our mail setup is as follows:
~/mail/ - This contains single mailboxes (Drafts, Trash, and others)
~/mail-Archives/ - This contains a hierarchy of folders containing
mailboxes
For example, a tree of ~/mail/ would look like this:
~/mail/
~/mail/Trash
~/mail/Drafts
~/mail/sent-mail
~/mail/My Stuff
~/mail/Important
~/mail/test/SomeFolder
2017 Nov 10
2
Sieve global path?
I just checked with Thunderbird, SquirrelMail, and Roundcube.? The sieve directory is not
in the overview.
dovecot is highly configurable.? Ya think I may have configured mine where
this is not a problem?? I have 9+ mail servers running this way.
Bill
On 11/10/2017 4:56 AM, Tamsy wrote:
> Stephan von Krawczynski wrote on 10.11.2017 16:35:
>> On Fri, 10 Nov 2017 03:41:20 -0500
>>
2002 May 18
2
can't connect from windows
Hello all,
I've setup samba Version 2.2.0a on Slackware 8.0
# uname -a
Linux slackware 2.4.5 #6 Fri Jun 22 01:38:20 PDT 2001 i686 unknown
I start samba as root from a console as:
/usr/sbin/smbd -D -d10 -l /var/adm/smblogs/log -s /etc/samba/smb.conf
/usr/sbin/nmbd -D -d1 -s /etc/samba/smb.conf
In smb.conf I have:
[files]
comment = mystuff
valid users = nigels
path = /usr1
read
2009 May 12
1
Power function for ratio of lognormal means: two equally valid results? [SEC=Unclassified]
Hi All
This is a general stats problem that I am dealing with using R, so any help is greater appreciated.
I have two lognormal distributions with means M1 and M2.
If we have:
H0: log(M1/M2)=0
H1: log(M1/M2) !=0 equivalent to log(M1/M2)=log(1+P) where P<0 or P>0.
If we calculate the power for a value of P=0.1 or P=-0.1 (i.e. a 10% difference) and say assume SE{log(M1/M2)}=0.05, and
2013 Feb 18
2
error: Error in if (is.na(f0$objective)) { : argument is of length zero
Dear all,
I tried running the following syntax but it keeps running for about 4 hours
and then i got the following errors:
Error in if (is.na(f0$objective)) { : argument is of length zero
In addition: Warning message:
In is.na(f0$objective) :
is.na() applied to non-(list or vector) of type 'NULL'
Here is the syntax itself:
library('nloptr')
library('pracma')
#
2007 Apr 09
1
Problem on Dreamhost: engine for rails 1.1.6
Hi,
I''m trying to set up Substruct (shopping cart engine) on Dreamhost.
I failed several times and tracked down to the problem area.
I can reproduce the problem with these steps:
1. install rails
2. change public/.htaccess for fcgi
3. change public/dispatch.fcgi for RailsFCGIHandler
At this step, I can execute public/dispatch.fcgi without error.
4. svn co