Displaying 20 results from an estimated 200 matches similar to: "Re: xp lookup (Onbit Informatika)"
2014 Mar 05
1
DFS
Robert Gurdon robert.gurdon at gmail.com
12:49 (0 perce)
c?mzett: samba
Hai,
I would like to set up a DFS with this configuration:
I have 3 Samba4 servers (4.1.4).
2 of them should work as a DFS "client" the third one will be the DFS
stotage (actualy this servers has the required amount of space).
So, i configured all shares on DC3 and point to those shares on DC1 and DC2.
Everything
2010 May 02
3
help with tapply or other apply
Hi, my data looks this:
  id       forma     program   kod                         obor                  
rocnik
1 10001 kombinovan?  Matematika M1101                   matematika      1
2 10002   prezen?n? Informatika N1801       teoretick? informatika      1
3 10002   prezen?n? Informatika B1801           obecn? informatika      3
4 10003   prezen?n? Informatika M1801           softwarov?
2006 Feb 02
3
What is best way to show only records belonging to logged user?
Hi all,
What is best way to show only records belonging to logged user? I 
understand that it is better to handle this in model and not controller. 
I am thinking of intercepting find methods in model and add clause 
something like "WHERE id_user = #{user_id}". I would like to hear if you 
would do it likewise and if yes is it better to hack find_by_sql() or 
find() method?
thanks in
2006 Jun 02
3
Advice, why value_before_type_cast in FormHelper?
I am wondering why is in creating text fields with form_helper used 
value_before_type_cast instead of attribute value for field value?
I set rails enviroment so date fields are in european format 
(dd.mm.yyyy) and would like to have same format in forms, but because of 
value_before_type_cast is called, form fields are filled with 
''yyyy-mm-dd'' or timestamp integer, etc.
2006 Jul 21
1
Capistrano before and after tasks
I try to extend db:test:copy_structure task to poulate test database 
with some existing data everytime i run it.
It seems that "after_" task is not called as should be:
> namespace :db do
>   namespace :test do
>     task :after_clone_structure do
>       puts "after_clone_structure_to_test"
>     end
>   end
> end
Anyone know what I am doing wrong?
2006 Jun 12
2
Pdf::Witer question
Does anyone knows how to embed Type1 font with PDF::Writer? I read 
manual, tried everything but nothing seems to work (The font ''FontName'' 
contains a bad /BBox error on PDF).
any help or hint would be really appreciated,
Bojan Mihelac
-- 
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p.  |  www.informatikamihelac.com
-> tools, scripts, tricks from our code lab:
2006 Jun 20
1
Possible to check if form field is required?
Hi list,
is it possible to check if form field will be required when form is 
submitted (through validates_presence_of or some other validates_* 
method)? I could do this manually but it doesn''t seems to me very DRY.
For example, I would like to be able to dynamically add asterisk with 
some helper method if city is required here:
City*: <%= text_field
2006 Jan 30
1
how to get column_for_attribute?
Hi all,
In the code below I don''t understand:
1. Why I have to prepend overriden method content_columns with "self." 
to get it working?
2. Why column_for_attribute method is not working (no such method?) even 
if SomeTable is subclass of ActiveRecord::Base which have public 
column_for_attribute method?
> class SomeTable < ActiveRecord::Base
>
>   def
2003 Feb 10
1
Mangling problem
Hi,
I have a strange problem with Samba on RedHat 7.2. In one directory there is
many files with similar long file name (10+ digit file name for many
pictures). When I dir this directory, I can see many files with different
long file name, but with exactly the same short file name. There is about
3-5 files with the same 8.3 DOS file name.
I really don't understand how can it happen and what
2006 Mar 23
8
DRY principle - how to implement?
Hi all!
I have ''send_status'' table which looks something like these:
id      code    title
1 	sent 	Sent
2 	error 	Sending error
3 	success Success
Next I would like to associate some processed records with their 
''send_status''. Is it better to use:
1)
record.status_id = SendStatus.find(:one, :condition => "code=''sent''").id
to
2017 Aug 30
2
Segmentation fault with doveadm search
Hi,
We have a Ubuntu 14.04 server with dovecot 2.2.9
If I try to run
/usr/bin/doveadm search -u email at exmaple.com mailbox Junk savedbefore 30d
It will dump a core file.
We have a similar config on an other server and there is no problem there.
Any ideas how to prevent the core dump?
root at triws2:~# gdb --args doveadm search -u email at example.com mailbox Junk savedbefore 30d
Reading
2006 Jun 29
2
Shared or VPS/dedicated hosting
Hi, I was wander if anyone can tell based on self expirience what would 
be limitations for rails app regard shared hosting. For example on 
PHP/MySql db driven app on shared hosting can handle 1000 users a day 
without problems. I know there are many factors involved but would like 
to hear your thoughts, when would you upgrade and if you would deploy 
rails app on shared hosting at all.
thanks
2006 Jul 26
7
RHTML in database?
Hi,
is it possible to store RHTML templates or partials in database?
thanks,
Bojan Mihelac
-- 
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p.  |  www.informatikamihelac.com
-> tools, scripts, tricks from our code lab: http://source.mihelac.org
2016 Aug 30
2
Automatic purging of old email in all mailboxes
Forgive me, I'm a novice.  Consider that today I have already set up a
working postfix + Dovecot server with userdb using the static driver and
passdb using a password file (in the format <username>:{hashing
algorithm}<password hash>).  The Dovecot server has several mailboxes which
are already in use today.
I understand that I'll need to change over to using the passwd-file
2006 Jan 09
3
FCGI and Apache2 on win performance problem
Hi all,
I am having problems with FCGI and Apache2 on windows.
The error I often receive is 500 error code response with logs listed 
down. I successfully use Webrick server and CGI (very slow). I had 
configured apache as is described in these document: 
http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows. 
Any suggestions?
Logs:
> Errno::E232 (The pipe is being
2006 Jul 12
1
Is it possible to reload all ActiveRecord objects
Hi all,
I wander if it is possible to force reload of all ActiveRecord object''s 
of some class that are already loaded, something like Book.reload_all? I 
know that I am able to reload specific objects with reload method but I 
would like to reload all that are currently in memory.
thanks in advance,
Bojan
-- 
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p.  | 
2006 Jul 20
0
Textile advice
Hi all,
I am wander if there what would be the best way to convert HTML to 
textile format. What I would like is to allow users to paste content 
from clipboard, parse it, dump all that''s not allowed and format in it 
textile (something similiar TinyMCE and rich text other editors do when 
you paste from word).
I would like to hear if there is any parser or better way to do it.
Thanks
2006 Jul 27
0
Quick question about integrating existing PHP app in Rails
Hi all,
I would like to integrate existing PHP forum into Rails app. Can someone 
please advice what would be way to do this? I am thinking about calling 
php script with Net::Http sending all GET/POST parameters and printing 
output inside of .rhtml template.
Thanks for help,
Bojan Mihelac
-- 
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p.  |  www.informatikamihelac.com
-> tools,
2006 Jun 13
0
PDF with iso-8859-2 or WIN-1250 encoding
Hi, has anyone succeeded creating with PDF::Writer which includes 
characters from iso-8859-2 or WIN-1250 encoding (?????). What is the 
right way to do it, if there is any? I tried with embedding fonts but 
that does not seems to work, looking desperately for solution.
thanks,
Bojan Mihelac
-- 
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p.  |  www.informatikamihelac.com
-> tools,
2006 Jun 19
0
PDF::Writer VS Ruby FPDF
Hi list,
I see almost all people here uses PDF::Writer for generating pdf 
documents with rails. I used it too at first, but am using both now and 
would like to see some advantages and shortfalls you came using each of 
these two packages. Here are my thoughts for now:
PDF::Writer:
- extensive documentation
- writen using ruby conventions
- easy to use
- some bugs with embeding fonts prevent