Displaying 20 results from an estimated 300 matches similar to: "How write input form (layout/controller) so I can enter Id"
2005 Dec 26
16
How to create application with single table with primary key
I''m trying without any succes to create application in which I have
one keyed table. The table structure is:
CREATE TABLE employees (
pin INTEGER PRIMARY KEY,
first_name VARCHAR(30) NOT NULL,
last_name VARCHAR(30) NOT NULL
);
Whenever I enter new record, I need the the filed pin is also filled
by user. Whenever a user edit the table, there should be option to
edit or not edit the
2006 Feb 15
6
Problem creating appdoc documentation
Hello, can anyone help me.
After a few weeks I returned to the rails to play with it. But I
recognize that I''m now not abble to build appdoc. The same thing that
few weeks ago worked without an problem now give me an error:
unrecognized option `--line-numbers --inline-source''
$ rake --trace --verbose reappdoc
(in /home/radek/src/firma/giga-net/ncc/work)
** Invoke reappdoc
2002 Aug 06
8
converting MASQ from ipchains
Hello,
on my old system I''m using ipchains. Can anyone help me with converting rule
/sbin/ipchains -A forward -j MASQ -s source_addr -d destination_addr 443 -p tcp
to shorewall. I know that I can write
eth0 source_addr
to /etc/shorewall/masq file
but I can''t found where I can specify the destination address.
The reason for this is to allow one user (computer) access only to
2005 Dec 30
2
I have problem and/or not fully underestand rails --svn
I experimented with rails --svn option. I use following commands
1 $ su root "mkdir -p /var/lib/svn/projekt; chown radek:radek /var/lib/svn/projekt"
2 Password:heslo roota
3 $ svnadmin create /var/lib/svn/projekt
4 $ mkdir -p /tmp/projekt/trunk
5 $ svn import -m "Creating empty project projekt" /tmp/projekt file:///var/lib/svn/projekt
6 //var/lib/svn/pokus
7
2010 Nov 12
1
SEXPs and slots
Hello,
I've created this class:
setClass("example",
representation (
size = "numeric",
id = "character"
)
)
Suppose I create a new instance of this class:
> x <- new("example", 4, "id_value")
This creates an S4 object with two slots. Am I correct in thinking that
slots are "filled" by SEXPs?
2011 Dec 30
3
qemu-kvm
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20111230/f132dad8/attachment-0004.ksh>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20111230/f132dad8/attachment-0006.html>
2011 May 11
2
Issue with Arel::SelectManager and insert Method
Hello,
Arel::SelectManager (arel 2.0.9) uses following statement to insert a
new record:
@engine.connection.insert im.to_sql, ''AREL'', primary_key_name,
primary_key_value
But in DatabaseStatements insert ist defined as:
insert(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil)
Actually, Arel::SelectManager does not use the sequence name. This
leads to issues
2014 Nov 18
2
[LLVMdev] finalizeObject function implemetation in MCJIT is wrong
Hi Radek,
Sorry for the delayed response. I haven't had time to check your analysis
yet, but you're probably right: MCJIT's support for multiple modules in a
single instance is patchy at best.
Do you have a test case (e.g. an lli invocation) that triggers this bug, or
is this something you discovered just by reading the code?
Cheers,
Lang.
On Thu, Nov 13, 2014 at 8:46 AM, David
2014 Nov 20
2
[LLVMdev] Cannot debug objects added with "-extra-object" in lli.
Hi guys.
I found a little bug in implementation of MCJIT.
I noticed that when I added object file (with all needed debug information)
to lli by using -extra-object flag, it's impossible to debug it with gdb.
Object file is in ELF format generated by llc. It is properly loaded by
mcjit.
I noticed that the reason is probably in lack of calling
"registerWithDebugger()" after object
2015 Nov 24
6
ssh-copy-id bugfix
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hello everyone!
i'd like to sincerely ask you to include a fix for ssh-copy-id bug
i'll be linking below. it's a trivial fix which resolves
https://bugzilla.mindrot.org/show_bug.cgi?id=2206 and eases life of
many. it's been field-tested by redhat devs and users so i see no
problem in incorporating it.
2014 Nov 13
2
[LLVMdev] finalizeObject function implemetation in MCJIT is wrong
Hi all.
I found some issue in implementation of finalizeObject function in
MCJIT.cpp. If you look at the source code of the function, you can notice
that machine code for second "owned" module will never be generated if it
doesn't depend on the first one. More over it will cause a crash if entry
point isn't in first module. Implementation of finalizeObject using for
loop will
2014 Feb 26
6
[Bug 2206] New: ssh-copy-id fails with message 'Ambiguous output redirect.' with a non-sh style remote shell
https://bugzilla.mindrot.org/show_bug.cgi?id=2206
Bug ID: 2206
Summary: ssh-copy-id fails with message 'Ambiguous output
redirect.' with a non-sh style remote shell
Product: Portable OpenSSH
Version: 6.5p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
2005 Dec 05
1
ip route doesn''t not work with virtual inferfaces
I have two IP for eth0 which correspond to eth0 and eth0:1
I want to create a route
to 192.168.66.0/24 via 192.168.0.50 from eth0:1
so I add the route with
ip route add 192.168.66.0/24 via 192.168.1.2 dev eth0:1
but when I connect to 192.168.66.0/24 network in connects still using
the IP of eth0, not the IP of eth0:1 as one would expect.
What''s strange to me is that ip route list
2014 Jan 15
6
[Bug 2196] New: ssh-copy-id: selects "wrong" pubkey
https://bugzilla.mindrot.org/show_bug.cgi?id=2196
Bug ID: 2196
Summary: ssh-copy-id: selects "wrong" pubkey
Product: Portable OpenSSH
Version: 6.4p1
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh-copy-id
Assignee: unassigned-bugs at
2012 Jan 14
3
Centos 6.2 / KVM troubles with network
Hi,
I have installed CentOS 6.2 x86_64 and KVM/Qemu and I have some troubles
with network.
The first case:
-----------------
The configuration is:
- CentOS 6.2 (hardware machine) has one Ethernet interface with static
IP address (eth0).
- Virtual machine has bridge network interface with eth0 interface on
CentOS 6.2. This bridge is created using wizard integrated with
virt-manager.
- Bridge
2013 Feb 05
4
Per user special-use folder names
Hi all,
let me ask a question, please. Is it possible in dovecot to set up per
user special-use folder names?
Imagine situation with two users where first prefere another language
that second.
mailbox Sent {
special_use = \Sent
}
for english speaking users and
mailbox "Odeslan? po?ta" {
special_use = \Sent
}
for czech speaking users.
Thanks for your answers. Radek
2007 Nov 03
1
tftp-server
Hello,
I have just installed Centos 5 and I have some problem with tftp-server.
I use the same configuration like with Centos 4.4. With Centos 4.4
everything works properly.
With Centos 5 DHCP server sends IP address to the client and client is
booting. I can see:
TFTP prefix: /lts/2.6.20.9-ltsp-1/
Trying to load: pxelinux.cfg/01-00-0c-29-62-e2-ed
Trying to load: pxelinux.cfg/C0A8001D
2005 Oct 31
1
ip tunnel doesn''t show warning or error
This is really strange behavior ..
root@garfield ~# ip tunnel add testing123 mode ipip remote 192.168.1.1
local 192.168.1.12
root@garfield ~# ip tunnel show
..
testing123: ip/ip remote 192.168.1.1 local 192.168.1.12 ttl inherit
root@garfield ~# ip tunnel add testingabc mode ipip remote 192.168.1.1
local 192.168.1.12
root@garfield ~# echo $?
0
root@garfield ~# ip tunnel show
..
testing123:
2010 Oct 15
1
Dashboard and passenger under /dashboard path
I''m currently running a dashboard as a separate process and have a
proxy in apache with authentication to access as http://puppet.ourhost.com/dashboard/
I have to start the dashboard with "-P /dashboard" option to make it
work.
I''m wondering how to achieve this with passenger. The config I found
in ext/passanger seems to run the dashboard under the root of the
virtual
2009 Sep 15
1
Password policy doesn't work (pdbedit)
Hello,
I'm using samba 3.0.24 and Debian 4.0. As a password backend I use
smbpasswd.
I set password policy: Length - 8 signs, Password history - 3, password
complexity - script, maximum password age - 30 days
The "password length" and complexity works, but "password history" and
"maximum password age" doesn't.
I tried do the same on test machine