Displaying 20 results from an estimated 40000 matches similar to: "multi-page prints"
2006 Feb 28
7
multi-page printing moving on
I have some nice forms done using stylesheets. I currently have them
displaying on screen and the user could simply just print.
This works when there is only one form (facility) to be viewed/printed.
I have created the looping code necessary to print for all facilities
but that doesn''t work for me because each page uses stylesheets with
<div> that do absolute positioning and thus
2006 Feb 16
1
CentOS FAQ (was ssh attack)
On 16/02/06, Craig White <craigwhite at azapple.com> wrote:
> On Thu, 2006-02-16 at 15:18 -0500, John Hinton wrote:
> > As someone did suggest though, a FAQ on SSH would be a
> > good idea.
> ----
> I think it's a great idea - go ahead and do it...why wait for others?
I suggested it, and not just for common SSH on CentOS questions but
for anything that's, well,
2009 Sep 15
2
precision multi-page printing
I am at a point where I will need to print checks in an application.
I guess the best way to describe this is that I am using pre-printed
checks and that I want to hit the prescribed areas with my text output.
Should I be doing something like PDF output like pdf-writer or other or
can I possibly do this with html and css?
My output will be check runs of many checks with 1 page per check.
Any
2006 Mar 26
17
activeldap
Obviously I am missing something and I don''t know what it is...
I am following the instructions at
http://rubyforge.org/docman/view.php/381/114/activeldap_rb.html
and also here...
http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap
my model looks exactly like this...
class LdapUser < ActiveRecord::Base
ldap_mapping :dnattr => ''uid'', :prefix
2006 Feb 14
8
routing failures
probably something really simple but I don''t understand.
Shifting to Apache to w/ fastcgi (definitely feels faster than webrick)
Anyway, I set the default route in routes.rb to be
map.connect '''', :controller => "placements", :action => ''list''
which worked once I figured out apache...
Anyway, now that I have done that, all attempts
2006 Mar 08
12
best way to combine results from two tables
I want to combine a selection of data from two tables and display it as
list. Note that this isn''t a join.
i''m looking for something like this:
Table 1: Sheep
Name, Age, Farmer, etc. (sheep specific columns)
Table 2: Cows:
Name, Age, Farmer, etc. (cow specific columns)
For my display I nneed something like this:
Farmer Jone''s Livestock:
TYPE NAME AGE
Cow
2006 Feb 23
5
layouts
I created a controller called reports, for which I didn''t have any model
or tables.
I wanted to use a menu/layout structure similar to all my other
models/controllers and added a layout named reports which then gives me
the menu/layout structure but is also now part of all my reports.
That isn''t gonna work so I renamed reports.rhtml to reports_forms.rhtml
(still inside my
2008 Jan 14
0
Setting profile FBML for a Facebook Page
Had a user add our app to a Facebook Page,
http://www.facebook.com/business/?pages. Facebook Pages act like
users but are more for businesses and Bands.
It looks like the current Facebooker API doesn''t currently support
setting the Profile FBML for a Page.
The current code for setting the proflie is this:
def profile_fbml=(markup)
2006 Feb 21
8
Validations continued
I simply can''t figure this out. I have been reading and re-reading Agile
book and wiki.rubyonrails.org - all sorts of validation methods and
still, it doesn''t work.
Controller code
def create
@client = Client.new(params[:client])
if @client.save!
flash[:notice] = ''Client was successfully created.''
redirect_to :action =>
2008 Dec 19
1
Misuse of $<matn expressions>$ in Rd files
'Writing R Extensions' tells you that $ needs to be escaped in Rd files
outside \code and similar. So I was surprised to find that ca 80 CRAN
packages have constructions like (from ISwR)
\item{\code{folate}}{
a numeric vector, folate concentration ($\mu$g/l).
}
This does not render sensibly in non-latex conversions, and it is what we
have \eqn{} for.
That $ needs to be
2006 Jun 04
3
link_to tool tips
I think they are called tool tips...
I have view code that looks like this...
<%= link_to ''I'', :action => ''edit_innoculations'', :id => personnel %>
Is there an option (I don''t see it in api) to have tool tips for a
link_to ?
Craig
2006 Feb 14
2
apache virtual host
I don't ever do this...
Shouldn't this be enough to set up a virtual server in apache?
I did create an entry in /etc/hosts and in dns for this fqdn
it still gives me the contents of /var/www/html and
not /home/craig/ruby-db/th-db/public
<VirtualHost *>
DocumentRoot "/home/craig/ruby-db/th-db/public"
ServerName app-server.tobyhouse.com
<Directory
2006 Feb 08
2
helpers and plugins
First a helper...
Have a boolean field - on forms, it returns ''true'' or ''false''
It would be much nicer to have it say either ''yes'' or ''no''
is there a helper for this?
Where do I find a list of helpers beyond Agile book?
Secondly, plugins...
I know that I am going to have to look at authentication mechanisms and
2006 May 29
5
Find last
This seems rather ugly. I am thinking that this needs to be in the model
but I am looking to obtain the date for a tb test...
>> @tb = Innoculation.find(:all,
:conditions => ["personnel_id = 1 AND innoc_type = ''TB''"],
:order => ''innoc_date DESC'')
=> [#<Innoculation:0xb77ed234 @attributes={"id"=>"1",
2005 Feb 05
0
Tom Skeren has a misconfigured server
Tom sent me a private email.
I replied and got this back.
From:
Mail Administrator
<Postmaster@cox.net>
Reply-To:
Postmaster@cox.net
To:
craigwhite@azapple.com
Subject:
Mail System Error - Returned Mail
Date:
Sat, 5 Feb 2005 01:44:16 -0500
2006 May 07
1
Announcement: Markdown-0.1 for PmWiki
Okay, it's pretty alpha, but it is a start. I have published
"Markdown," which is a recipe that helps integrate Markdown syntax
with PmWiki.[1] My goal is that, when finished, there will be
something pretty close to a PHP-based wiki that relies on Markdown
syntax.
I have been involved with PmWiki for a couple years now. It has
matured into a very potent, customizeable wiki engine.
2003 Dec 18
1
Samba 3 PDC with LDAP - Error when changing userpassword from windows
no, i did it
but, i think if i didn't it, I cannot join Machine while addind machine
account on the fly with Samba...
----- Original Message -----
From: "Craig White" <craigwhite@azapple.com>
To: <s.jousse@free.fr>
Cc: <samba@lists.samba.org>
Sent: Thursday, December 18, 2003 6:09 PM
Subject: Re: [Samba] Samba 3 PDC with LDAP - Error when changing
userpassword
2006 Feb 03
4
contoller code mysteries
In my controller...this code works
def list2
first_name = params[:client][:first_name]
@myclients = Client.find(:all, :conditions =>
["first_name = :first_name", {:first_name => first_name}])
end
this code doesn''t...
def list2
first_name = params[:client][:first_name]
if first_name
searchstring = ''["first_name =
2006 Feb 09
1
About join domain in different subnet.
Hi all:
I have a question about join domain.
If my samba server and domain controller are in different subnet (such =
as 192.168.1.x and 192.168.2.x), two conditions happened:
ADS domain
1. if I use domain name, then join fail.
2. if I use IP address of domain controller, join success.
However, in both cases I can't retrieve domain users/groups.
Is it necessary for samba sever and domain
2006 Mar 22
3
strange issue locating a file
I have been editing a branch on my Fedora system, completed the changes
and was satisfied that it works and using svn, merged it to my main
trunk. I have been testing the main trunk and it seems fine. I committed
my changes to the svn repository.
On my live web application, I did an ''svn update'' which brought all the
files in but when I launch, I get an error on my